/* ==========================================================================
   HIGH-CONTRAST AI CRYPTO CORE STYLES & GLASS COMPONENTS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* ==========================================================================
   CUSTOM FINTECH THEME SCROLLBAR SYSTEM
   ========================================================================== */
* {
  scrollbar-width: thin;
  scrollbar-color: #03A9F4 #080c16;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #080c16;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f1c40f 0%, #f39c12 100%);
  border-radius: 10px;
  border: 2px solid #080c16;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.6);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffd700 0%, #e67e22 100%);
  box-shadow: 0 0 10px rgba(15, 189, 241, 0.6);
}

::-webkit-scrollbar-corner {
  background: #080c16;
}

.sidebar-menu::-webkit-scrollbar,
.user-sidebar::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar,
.table-graphical-wrapper::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.sidebar-menu::-webkit-scrollbar-thumb,
.user-sidebar::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb,
.table-graphical-wrapper::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f1c40f 0%, #d4ac0d 100%);
  border-radius: 8px;
  border: 1px solid #080c16;
}

section[id] {
  scroll-margin-top: 100px;
}

body {
  font-family: var(--font-family-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: var(--font-size-body);
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-sans);
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: -0.015em;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

/* Text Color Enforcement: White, Half-White, Gold ONLY */
.text-white { color: #ffffff !important; }
.text-halfwhite { color: #e2e8f0 !important; font-weight: 500; }
.text-secondary-custom { color: #e2e8f0 !important; font-weight: 500; }
.text-muted-custom { color: #cbd5e1 !important; font-weight: 500; }
.text-gold { color: var(--gold-primary) !important; }

.text-gold-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: #00f2fe !important;
}

/* Scaled Font Utility Classes */
.fs-8 { font-size: 0.9rem !important; }
.fs-7 { font-size: 1.02rem !important; }
.fs-9 { font-size: 0.8rem !important; }

/* Glassmorphism Cards (Static, NO Hover Effects by Default) */
.gold-card, .glass-card {
  background: transparent !important;
  backdrop-filter: none !important;
  border: none !important;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: #ffffff;
}

/* Smart Compact Buttons */
.btn-gold {
  background: var(--gradient-gold);
  color: #05070c !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-md);
  border: none;
  transition: opacity var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
}

.btn-gold:hover {
  opacity: 0.92;
  color: #05070c !important;
}

.btn-outline-gold {
  background: rgba(15, 189, 241, 0.08);
  color: var(--gold-primary) !important;
  border: 1px solid rgb(15 158 241 / 40%);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
}

.btn-outline-gold:hover {
  background: var(--gold-subtle);
  color: #ffffff !important;
}

/* High Contrast Inputs & Custom Theme Select System */
.form-control-gold {
  background-color: rgba(11, 16, 26, 0.95) !important;
  border: 1px solid rgba(21, 138, 237, 0.35) !important;
  color: #ffffff !important;
  border-radius: var(--radius-md) !important;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.92rem !important;
}

.form-control-gold:focus {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 14px rgba(15, 189, 241, 0.35) !important;
  outline: none !important;
}

/* Theme-Based Professional Custom Select Box System */
select,
.form-select,
.form-select-gold,
.select-theme-gold {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: rgba(11, 16, 26, 0.95) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f1c40f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.9rem center !important;
  background-size: 1.1rem !important;
  border: 1px solid rgba(21, 138, 237, 0.35) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  padding: 0.62rem 2.6rem 0.62rem 0.95rem !important;
  font-size: 0.92rem !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
}

select:hover,
.form-select:hover,
.form-select-gold:hover,
.select-theme-gold:hover {
  border-color: rgba(15, 189, 241, 0.65) !important;
  box-shadow: 0 0 14px rgba(15, 189, 241, 0.25) !important;
  background-color: rgba(15, 21, 34, 0.98) !important;
}

select:focus,
.form-select:focus,
.form-select-gold:focus,
.select-theme-gold:focus {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 18px rgba(15, 189, 241, 0.4) !important;
  background-color: rgba(15, 21, 34, 0.98) !important;
  outline: none !important;
}

/* Theme Dark Dropdown Options Menu Styling */
select option,
.form-select option,
.form-select-gold option,
.select-theme-gold option {
  background-color: #0c111c !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 0.75rem 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

select option:checked,
select option:hover,
.form-select option:checked,
.form-select option:hover,
.form-select-gold option:checked,
.form-select-gold option:hover {
  background-color: #161e30 !important;
  color: var(--gold-primary) !important;
}

/* Global Subtle Muted Placeholder Text System */
::-webkit-input-placeholder {
  color: #64748b !important;
  opacity: 0.85 !important;
}

::-moz-placeholder {
  color: #64748b !important;
  opacity: 0.85 !important;
}

:-ms-input-placeholder {
  color: #64748b !important;
  opacity: 0.85 !important;
}

::placeholder {
  color: #64748b !important;
  opacity: 0.85 !important;
}

.form-control::placeholder,
.form-control-gold::placeholder,
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: #64748b !important;
  opacity: 0.85 !important;
}

.form-label-gold {
  color: #e2e8f0 !important;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  display: block;
}

/* PROMINENT BADGES */
.badge {
  padding: 0.45rem 0.95rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  letter-spacing: 0.02em;
}

.badge-gold {
  background: var(--gold-subtle) !important;
  color: var(--gold-primary) !important;
  border: 1px solid rgb(15 210 241 / 40%) !important;
  padding: 0.45rem 0.95rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-danger {
    background: rgb(241 78 15 / 18%) !important;
    color: #f1390f !important;
    border: 1px solid rgb(241 57 15 / 40%) !important;
    padding: 0.45rem 0.95rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius-md) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-info-custom {
  background: rgba(59, 130, 246, 0.2) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
  padding: 0.45rem 0.95rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-warning-custom {
  background: rgb(11 202 245 / 20%) !important;
  color: #24f1fb !important;
  border: 1px solid rgb(11 213 245 / 40%) !important;
  padding: 0.45rem 0.95rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cyber-grid-overlay {
  background-image: none !important;
}

/* ==========================================================================
   PROFESSIONAL AUTH & LOGIN PAGE STYLES (CRYPTO TRADING BACKGROUND & 480PX CARD)
   ========================================================================== */
.auth-page-body {
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 50% 38%, rgba(15, 189, 241, 0.16) 0%, rgba(4, 7, 15, 0.96) 72%),
              linear-gradient(135deg, rgba(3, 5, 10, 0.94) 0%, rgba(8, 12, 22, 0.92) 100%),
              url('../images/crypto_trading_bg.png') center / cover no-repeat fixed !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  overflow-x: hidden;
}

.user-page-body {
  min-height: 100vh;
  position: relative;
  background: linear-gradient(135deg, rgba(5, 7, 12, 0.86) 0%, rgba(9, 13, 22, 0.82) 50%, rgba(5, 7, 12, 0.90) 100%),
              url('../images/crypto_trading_bg.png') center / cover no-repeat fixed !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  width: 100%;
}

#loginParticleCanvas,
#registerParticleCanvas,
.auth-particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.auth-container-wrapper {
  width: 100%;
  max-width: 480px !important;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.auth-glass-card {
  background: linear-gradient(145deg, rgba(16, 23, 38, 0.96) 0%, rgba(8, 12, 22, 0.98) 100%) !important;
  backdrop-filter: blur(25px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
  border: 1px solid rgb(15 210 241 / 50%) !important;
  border-radius: 20px !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 35px rgb(15 178 241 / 28%) !important;
  padding: 1.5rem 1.5rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.auth-glass-card:hover {
  border-color: rgba(15, 189, 241, 0.85) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 40px rgb(15 178 241 / 35%) !important;
}

.auth-container-wrapper .auth-glass-card {
  padding: 2.25rem 2rem !important;
}

@media (max-width: 767.98px) {
  .auth-glass-card {
    padding: 1rem 1rem;
    border-radius: 14px !important;
  }
  .auth-container-wrapper .auth-glass-card {
    padding: 1.5rem 1.25rem !important;
  }
}

.auth-glass-card:hover {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 40px rgb(15 178 241 / 35%) !important;
}

/* Universal Fintech Dark Gold Input Group System */
.input-group {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.input-group-text {
  background: rgba(12, 17, 28, 0.95) !important;
  color: var(--gold-primary) !important;
  border: 1px solid rgba(21, 138, 237, 0.35) !important;
  padding: 0.55rem 0.9rem !important;
  font-size: 0.88rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4) !important;
  transition: all var(--transition-fast) !important;
}

.input-group .form-control-gold,
.input-group .form-control,
.input-group .form-select-gold,
.input-group .form-select {
  background-color: rgba(8, 12, 22, 0.95) !important;
  color: #ffffff !important;
  border: 1px solid rgba(21, 138, 237, 0.35) !important;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5) !important;
  transition: all var(--transition-fast) !important;
}

/* Seamless Inner Overlapping Borders */
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: -1px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.input-group > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group > .input-group-text:first-child,
.input-group > .form-control:first-child,
.input-group > .btn:first-child {
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
}

.input-group > .input-group-text:last-child,
.input-group > .form-control:last-child,
.input-group > .btn:last-child {
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

/* Synchronized Container Focus Glow */
.input-group:focus-within {
  border-radius: 10px !important;
}

.input-group:focus-within .input-group-text {
  border-color: var(--gold-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(15, 189, 241, 0.4), inset 0 0 8px rgba(0, 0, 0, 0.4) !important;
  z-index: 2 !important;
}

.input-group:focus-within .form-control-gold,
.input-group:focus-within .form-control,
.input-group:focus-within .form-select-gold,
.input-group:focus-within .form-select {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 14px rgba(15, 189, 241, 0.4), inset 0 0 8px rgba(0, 0, 0, 0.5) !important;
  z-index: 3 !important;
}

.input-group:focus-within .btn {
  border-color: var(--gold-primary) !important;
  z-index: 2 !important;
}

/* Merged Input Groups (Seamless Single Outer Border & Glow) */
.input-group-merged {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: rgba(11, 16, 26, 0.92) !important;
  border: 1px solid rgba(21, 138, 237, 0.35) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-group-merged:focus-within {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 16px rgba(15, 189, 241, 0.35) !important;
  background-color: rgba(15, 21, 34, 0.96) !important;
}

.input-group-merged .input-group-text {
  background: transparent !important;
  border: none !important;
  color: var(--gold-primary) !important;
  padding: 0.65rem 0.95rem !important;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.input-group-merged .form-control {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: none !important;
  padding: 0.65rem 0.95rem 0.65rem 0.2rem !important;
  font-size: 0.95rem !important;
  flex: 1 1 auto;
  width: 1%;
}

.input-group-merged .form-control:focus {
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.input-group-merged select {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  padding-left: 0.2rem !important;
}

.input-group-merged select:focus {
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.input-group-merged .btn-toggle-pass {
  background: transparent !important;
  border: none !important;
  color: var(--gold-primary) !important;
  padding: 0.65rem 0.95rem !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.input-group-merged .btn-toggle-pass:hover {
  color: #ffffff !important;
}

.btn-demo-chip {
  background: rgba(15, 189, 241, 0.08) !important;
  border: 1px dashed rgba(15, 189, 241, 0.4) !important;
  color: var(--gold-primary) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 0.3rem 0.65rem !important;
  border-radius: var(--radius-sm) !important;
  transition: all var(--transition-fast) !important;
  cursor: pointer;
}

.btn-demo-chip:hover {
  background: var(--gold-subtle) !important;
  color: #ffffff !important;
  border-style: solid !important;
}

/* High Contrast Mobile Topbar Toggle Button */
.btn-dark-card {
  background: rgba(15, 189, 241, 0.15) !important;
  border: 1px solid rgba(15, 189, 241, 0.5) !important;
  color: var(--gold-primary) !important;
  padding: 0.45rem 0.8rem !important;
  border-radius: var(--radius-md) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.btn-dark-card i {
  color: var(--gold-primary) !important;
}

.btn-dark-card:hover, .btn-dark-card:focus, .btn-dark-card:active {
  background: rgba(15, 189, 241, 0.3) !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(15, 189, 241, 0.4);
}

/* Mobile Sidebar App Drawer Backdrop Overlay */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1080 !important;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  will-change: opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.sidebar-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

html {
  scrollbar-gutter: stable;
}

body.sidebar-open {
  touch-action: none;
}

@media (max-width: 991.98px) {
  body.sidebar-open {
    overflow: hidden !important;
  }

  body.sidebar-open .mobile-bottom-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ==========================================================================
   ATTRACTIVE CRYPTO AI QUANTUM PAGE LOADER SYSTEM
   ========================================================================== */
.crypto-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, rgba(13, 18, 30, 0.98) 0%, rgba(5, 7, 12, 0.99) 100%);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  z-index: 9999999 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease;
  pointer-events: auto;
}

.crypto-page-loader.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-spinner-box {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  border-radius: 50%;
  border: 2.5px solid transparent;
}

.loader-ring-1 {
  width: 92px;
  height: 92px;
  border-top-color: #f1c40f;
  border-right-color: rgba(15, 189, 241, 0.3);
  animation: loaderSpinClockwise 1.2s linear infinite;
  box-shadow: 0 0 15px rgba(15, 189, 241, 0.4);
}

.loader-ring-2 {
  width: 72px;
  height: 72px;
  border-bottom-color: #00f2fe;
  border-left-color: rgba(0, 242, 254, 0.3);
  animation: loaderSpinCounterClockwise 0.9s linear infinite;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.loader-core-icon {
  font-size: 2.2rem;
  color: #f1c40f;
  text-shadow: 0 0 18px rgba(15, 189, 241, 0.8);
  animation: loaderPulseCore 1.5s ease-in-out infinite alternate;
}

.loader-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-top: 1.1rem;
}

.loader-status-text {
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 500;
  margin-top: 0.4rem;
  letter-spacing: 0.03em;
}

.loader-progress-track {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.loader-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f1c40f 0%, #00f2fe 50%, #f1c40f 100%);
  background-size: 200% 100%;
  border-radius: 999px;
  animation: loaderProgressPulse 1.4s ease-in-out infinite;
}

@keyframes loaderSpinClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes loaderSpinCounterClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes loaderPulseCore {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 12px #f1c40f); }
}

@keyframes loaderProgressPulse {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Universal Mobile Table Responsive & Touch Scroll System */
.table-responsive,
.table-graphical-wrapper {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.table-responsive::-webkit-scrollbar,
.table-graphical-wrapper::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-track,
.table-graphical-wrapper::-webkit-scrollbar-track {
  background: rgba(11, 16, 26, 0.8);
  border-radius: 999px;
}

.table-responsive::-webkit-scrollbar-thumb,
.table-graphical-wrapper::-webkit-scrollbar-thumb {
  background: rgba(15, 189, 241, 0.5);
  border-radius: 999px;
}

@media (max-width: 767.98px) {
  .table-graphical,
  .table-responsive table,
  .table {
    min-width: 580px !important;
  }

  .table-graphical th,
  .table-graphical td,
  .table th,
  .table td {
    padding: 0.65rem 0.75rem !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }

  /* Universal Card Header Stacking System for Mobile */
  .border-bottom.border-subtle.d-flex,
  .auth-glass-card .d-flex.border-bottom,
  .card-header-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
  }

  .border-bottom.border-subtle.d-flex > div,
  .auth-glass-card .d-flex.border-bottom > div {
    width: 100%;
  }

  .border-bottom.border-subtle.d-flex .badge,
  .border-bottom.border-subtle.d-flex .btn,
  .border-bottom.border-subtle.d-flex a,
  .auth-glass-card .d-flex.border-bottom .badge,
  .auth-glass-card .d-flex.border-bottom .btn,
  .auth-glass-card .d-flex.border-bottom a {
    align-self: flex-start !important;
  }

  /* Center Form Action Buttons on Mobile Screens */
  .d-flex.justify-content-end,
  form .d-flex.justify-content-end {
    justify-content: center !important;
  }
}

/* ==========================================================================
   SWEETALERT2 TOP-RIGHT CORNER TOAST NOTIFICATION STYLING
   ========================================================================== */
.swal2-container.swal2-top-end,
.swal2-container.swal2-top-right {
  padding: 1rem !important;
  z-index: 999999 !important;
}

.swal2-container.swal2-top-end .swal2-toast,
.swal-toast-top-right {
  background: rgba(12, 17, 28, 0.96) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(15, 189, 241, 0.5) !important;
  border-radius: 14px !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(15, 189, 241, 0.3) !important;
  color: #ffffff !important;
  padding: 0.85rem 1.15rem !important;
}

.swal2-toast .swal2-title {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
}

.swal2-toast .swal2-html-container,
.swal2-toast .swal2-content {
  color: #cbd5e1 !important;
  font-size: 0.82rem !important;
}

.swal2-toast .swal2-timer-progress-bar {
  background: var(--gradient-gold) !important;
}

/* ==========================================================================
   DATATABLES FINTECH DARK GOLD THEME OVERRIDES
   ========================================================================== */

/* DataTables Wrapper Spacing & Layout */
.dataTables_wrapper {
  color: #cbd5e1 !important;
  font-size: 0.85rem;
  padding: 0.75rem 0.25rem !important;
}

.dataTables_wrapper .row {
  align-items: center;
}

.dataTables_wrapper .row:first-child {
  padding-bottom: 0.75rem !important;
  margin-bottom: 0.75rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.dataTables_wrapper .row:last-child {
  padding-top: 0.75rem !important;
  margin-top: 0.75rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Length Select Dropdown & Search Input Label */
.dataTables_length label,
.dataTables_filter label {
  color: #94a3b8 !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Length Select Dropdown Styling with Custom Gold Arrow */
.dataTables_length select {
  background-color: rgba(8, 12, 22, 0.95) !important;
  color: var(--gold-primary) !important;
  border: 1px solid rgba(15, 189, 241, 0.45) !important;
  border-radius: 8px !important;
  padding: 0.4rem 2.2rem 0.4rem 0.85rem !important; /* Right padding ensures arrow doesn't overlap number */
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  outline: none !important;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f1c40f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 12px !important;
  min-width: 68px !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
}

/* Search Input Styling */
.dataTables_filter input {
  background-color: rgba(8, 12, 22, 0.95) !important;
  color: var(--gold-primary) !important;
  border: 1px solid rgba(15, 189, 241, 0.45) !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.85rem !important;
  font-size: 0.85rem !important;
  outline: none !important;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5) !important;
  transition: all var(--transition-fast) !important;
  min-width: 180px !important;
}

.dataTables_length select:focus,
.dataTables_filter input:focus {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 12px rgba(15, 189, 241, 0.45), inset 0 0 6px rgba(0, 0, 0, 0.5) !important;
}

/* Dropdown Option List Styling - Prevents White Background */
.dataTables_length select option {
  background-color: #0b101a !important;
  color: #ffffff !important;
  padding: 0.6rem !important;
  font-weight: 600 !important;
}

.dataTables_length select option:hover,
.dataTables_length select option:checked {
  background-color: var(--gold-primary) !important;
  color: #05070c !important;
}

/* DataTables Info Text */
.dataTables_info {
  color: #94a3b8 !important;
  font-size: 0.82rem !important;
  padding-top: 0.75rem !important;
}

/* DataTables Pagination System */
.dataTables_paginate {
  padding-top: 0.75rem !important;
}

.dataTables_wrapper .pagination {
  margin: 0 !important;
  gap: 0.3rem !important;
}

.dataTables_wrapper .page-item .page-link {
  background-color: rgba(8, 12, 22, 0.85) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(15, 189, 241, 0.3) !important;
  border-radius: 8px !important;
  padding: 0.35rem 0.75rem !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  transition: all var(--transition-fast) !important;
  box-shadow: none !important;
}

.dataTables_wrapper .page-item:hover .page-link,
.dataTables_wrapper .page-item.active .page-link {
  background: var(--gradient-gold) !important;
  color: #05070c !important;
  border-color: var(--gold-primary) !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(15, 189, 241, 0.4) !important;
}

.dataTables_wrapper .page-item.disabled .page-link {
  background-color: rgba(5, 7, 12, 0.5) !important;
  color: #475569 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  opacity: 0.6;
}

/* Table Cell Padding & Alignment for DataTables */
.table-graphical.dataTable,
table.dataTable {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0.75rem !important;
}

.table-graphical.dataTable th,
table.dataTable th {
  padding: 0.85rem 1rem !important;
  font-size: 0.78rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-weight: 700 !important;
  background: rgba(15, 21, 34, 0.95) !important;
  color: var(--gold-primary) !important;
  border-bottom: 1px solid rgba(15, 210, 241, 0.4) !important;
}

.table-graphical.dataTable td,
table.dataTable td {
  padding: 0.85rem 1rem !important;
  vertical-align: middle !important;
  font-size: 0.85rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Sorting Indicator Colors */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after {
  opacity: 0.6 !important;
  color: var(--gold-primary) !important;
}

/* ==========================================================================
   ADMIN ACTION BUTTONS (EMERALD APPROVE & RUBY REJECT BUTTONS)
   ========================================================================== */
/* ==========================================================================
   ADMIN ACTION BUTTONS (GLASS TYPE TRANSPARENT EMERALD APPROVE & RUBY REJECT)
   ========================================================================== */
.btn-approve-withdrawal,
.btn-approve-deposit,
.btn-approve-theme {
  background: rgba(16, 185, 129, 0.14) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.9rem !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2) !important;
  transition: all var(--transition-fast) !important;
  text-decoration: none !important;
}

.btn-approve-withdrawal:hover,
.btn-approve-deposit:hover,
.btn-approve-theme:hover {
  background: rgba(16, 185, 129, 0.3) !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.6) !important;
  transform: none !important;
}

.btn-reject-withdrawal,
.btn-reject-deposit,
.btn-reject-theme {
  background: rgba(244, 63, 94, 0.14) !important;
  color: #fb7185 !important;
  border: 1px solid rgba(244, 63, 94, 0.45) !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.9rem !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.2) !important;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
  text-decoration: none !important;
}

.btn-reject-withdrawal:hover,
.btn-reject-deposit:hover,
.btn-reject-theme:hover {
  background: rgba(244, 63, 94, 0.3) !important;
  color: #ffffff !important;
  border-color: #f43f5e !important;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.6) !important;
  transform: none !important;
}

.btn-edit-user,
.btn-edit-theme {
  background: rgba(0, 242, 254, 0.12) !important;
  color: #00f2fe !important;
  border: 1px solid rgba(0, 242, 254, 0.45) !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.85rem !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  box-shadow: 0 2px 8px rgba(0, 242, 254, 0.2) !important;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
  text-decoration: none !important;
}

.btn-edit-user:hover,
.btn-edit-theme:hover {
  background: rgba(0, 242, 254, 0.28) !important;
  color: #ffffff !important;
  border-color: #00f2fe !important;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.55) !important;
  transform: none !important;
}

.btn-login-glass,
.btn-reset-pin,
.btn-pin-theme {
  background: rgba(15, 189, 241, 0.12) !important;
  color: #f1c40f !important;
  border: 1px solid rgba(15, 189, 241, 0.45) !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.85rem !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  box-shadow: 0 2px 8px rgba(15, 189, 241, 0.2) !important;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
  text-decoration: none !important;
}

.btn-login-glass:hover,
.btn-reset-pin:hover,
.btn-pin-theme:hover {
  background: rgba(15, 189, 241, 0.28) !important;
  color: #ffffff !important;
  border-color: #f1c40f !important;
  box-shadow: 0 0 16px rgba(15, 189, 241, 0.55) !important;
  transform: none !important;
}

/* ==========================================================================
   SWEETALERT2 FINTECH DARK GLASS MODAL & POPUP STYLING
   ========================================================================== */
.swal-theme-popup-dark,
.swal2-popup {
  background: rgba(12, 17, 28, 0.98) !important;
  backdrop-filter: blur(25px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
  border: 1px solid rgba(15, 189, 241, 0.45) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(15, 189, 241, 0.25) !important;
  color: #ffffff !important;
  padding: 1.75rem !important;
}

.swal2-title {
  color: #ffffff !important;
  font-size: 1.25rem !important;
}

.swal2-html-container {
  color: #cbd5e1 !important;
}

.swal2-icon.swal2-success {
  border-color: #10b981 !important;
  color: #10b981 !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
  background-color: #10b981 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
  border-color: rgba(16, 185, 129, 0.3) !important;
}

.swal2-icon.swal2-error {
  border-color: #f43f5e !important;
  color: #f43f5e !important;
}

.swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
  background-color: #f43f5e !important;
}

.swal2-icon.swal2-warning {
  border-color: #f1c40f !important;
  color: #f1c40f !important;
}

.swal2-icon.swal2-info {
  border-color: #00f2fe !important;
  color: #00f2fe !important;
}

.swal2-validation-message {
  background: rgba(225, 29, 72, 0.2) !important;
  color: #fb7185 !important;
  border: 1px solid rgba(244, 63, 94, 0.4) !important;
  border-radius: 8px !important;
  padding: 0.6rem !important;
  margin-top: 0.5rem !important;
}

/* ==========================================================================
   SWEETALERT2 MODAL CANCEL BUTTON UNIFORM SIZING & FLEX ALIGNMENT
   ========================================================================== */

.btn-cancel-theme,
.swal2-cancel,
.swal2-popup .swal2-cancel,
.swal-theme-popup-dark .swal2-cancel {
  background: transparent !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 8px !important;
  padding: 0.4rem 0.9rem !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  transition: all var(--transition-fast) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
}

.btn-cancel-theme:hover,
.swal2-cancel:hover,
.swal2-popup .swal2-cancel:hover,
.swal-theme-popup-dark .swal2-cancel:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15) !important;
  transform: none !important;
}

/* Ensure equal height and alignment for SweetAlert2 confirm and cancel buttons, hide deny button */
.swal2-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem !important;
  margin-top: 1.25rem !important;
}

.swal2-actions .swal2-confirm,
.swal2-actions .swal2-cancel {
  margin: 0 !important;
  padding: 0.4rem 0.9rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.swal2-deny,
.swal2-actions .swal2-deny {
  display: none !important;
}

/* ==========================================================================
   CUSTOM DECIMAL SPACING UTILITY CLASSES (p-2.5, py-2.5, px-2.5, etc.)
   ========================================================================== */
.p-0\.5 { padding: 0.125rem !important; }
.pt-0\.5 { padding-top: 0.125rem !important; }
.pb-0\.5 { padding-bottom: 0.125rem !important; }
.ps-0\.5 { padding-left: 0.125rem !important; }
.pe-0\.5 { padding-right: 0.125rem !important; }
.px-0\.5 { padding-left: 0.125rem !important; padding-right: 0.125rem !important; }
.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }

.p-1\.5 { padding: 0.375rem !important; }
.pt-1\.5 { padding-top: 0.375rem !important; }
.pb-1\.5 { padding-bottom: 0.375rem !important; }
.ps-1\.5 { padding-left: 0.375rem !important; }
.pe-1\.5 { padding-right: 0.375rem !important; }
.px-1\.5 { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }

.p-2\.5 { padding: 0.625rem !important; }
.pt-2\.5 { padding-top: 0.625rem !important; }
.pb-2\.5 { padding-bottom: 0.625rem !important; }
.ps-2\.5 { padding-left: 0.625rem !important; }
.pe-2\.5 { padding-right: 0.625rem !important; }
.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }

.p-3\.5 { padding: 0.875rem !important; }
.pt-3\.5 { padding-top: 0.875rem !important; }
.pb-3\.5 { padding-bottom: 0.875rem !important; }
.ps-3\.5 { padding-left: 0.875rem !important; }
.pe-3\.5 { padding-right: 0.875rem !important; }
.px-3\.5 { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }
.py-3\.5 { padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; }

.m-0\.5 { margin: 0.125rem !important; }
.mt-0\.5 { margin-top: 0.125rem !important; }
.mb-0\.5 { margin-bottom: 0.125rem !important; }
.ms-0\.5 { margin-left: 0.125rem !important; }
.me-0\.5 { margin-right: 0.125rem !important; }
.mx-0\.5 { margin-left: 0.125rem !important; margin-right: 0.125rem !important; }
.my-0\.5 { margin-top: 0.125rem !important; margin-bottom: 0.125rem !important; }

.m-1\.5 { margin: 0.375rem !important; }
.mt-1\.5 { margin-top: 0.375rem !important; }
.mb-1\.5 { margin-bottom: 0.375rem !important; }
.ms-1\.5 { margin-left: 0.375rem !important; }
.me-1\.5 { margin-right: 0.375rem !important; }
.mx-1\.5 { margin-left: 0.375rem !important; margin-right: 0.375rem !important; }
.my-1\.5 { margin-top: 0.375rem !important; margin-bottom: 0.375rem !important; }

.m-2\.5 { margin: 0.625rem !important; }
.mt-2\.5 { margin-top: 0.625rem !important; }
.mb-2\.5 { margin-bottom: 0.625rem !important; }
.ms-2\.5 { margin-left: 0.625rem !important; }
.me-2\.5 { margin-right: 0.625rem !important; }
.mx-2\.5 { margin-left: 0.625rem !important; margin-right: 0.625rem !important; }
.my-2\.5 { margin-top: 0.625rem !important; margin-bottom: 0.625rem !important; }

.m-3\.5 { margin: 0.875rem !important; }
.mt-3\.5 { margin-top: 0.875rem !important; }
.mb-3\.5 { margin-bottom: 0.875rem !important; }
.ms-3\.5 { margin-left: 0.875rem !important; }
.me-3\.5 { margin-right: 0.875rem !important; }
.mx-3\.5 { margin-left: 0.875rem !important; margin-right: 0.875rem !important; }
.my-3\.5 { margin-top: 0.875rem !important; margin-bottom: 0.875rem !important; }

/* ==========================================================================
   GLOBAL FINTECH DARK GLASS MODAL SYSTEM (OVERRIDE BOOTSTRAP WHITE MODAL BG)
   ========================================================================== */
.modal-fintech-glass .modal-content,
.modal-fintech-glass.modal-content,
.modal-content.staking-modal-glass {
  background: rgba(12, 17, 28, 0.97) !important;
  backdrop-filter: blur(25px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
  border: 1px solid rgba(15, 189, 241, 0.45) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.95), 0 0 35px rgba(15, 189, 241, 0.25) !important;
  color: #ffffff !important;
  overflow: hidden;
}

.modal-fintech-glass.modal-success-theme .modal-content,
.modal-fintech-glass.modal-success-border .modal-content {
  border-color: rgba(16, 185, 129, 0.55) !important;
  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.95), 0 0 45px rgba(16, 185, 129, 0.35) !important;
}

.modal-fintech-glass.modal-error-theme .modal-content,
.modal-fintech-glass.modal-error-border .modal-content {
  border-color: rgba(244, 63, 94, 0.55) !important;
  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.95), 0 0 45px rgba(244, 63, 94, 0.35) !important;
}

/* Circular Modal Icon Badges & Rings */
.modal-icon-badge,
.modal-icon-wrapper {
  width: 76px !important;
  height: 76px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0.5rem auto 1.25rem !important;
  font-size: 2.1rem !important;
}

.modal-icon-success {
  border-radius: 50% !important;
  background: rgba(16, 185, 129, 0.15) !important;
  border: 2px solid #10b981 !important;
  color: #10b981 !important;
  animation: modalGlowPulseSuccess 2s infinite ease-in-out !important;
}

.modal-icon-error {
  border-radius: 50% !important;
  background: rgba(225, 29, 72, 0.15) !important;
  border: 2px solid #f43f5e !important;
  color: #fb7185 !important;
  animation: modalGlowPulseError 2s infinite ease-in-out !important;
}

.modal-icon-gold,
.modal-icon-confirm {
  border-radius: 50% !important;
  background: rgba(15, 189, 241, 0.15) !important;
  border: 2px solid #f1c40f !important;
  color: #f1c40f !important;
  animation: modalGlowPulseGold 2s infinite ease-in-out !important;
}

@keyframes modalGlowPulseSuccess {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7), 0 0 20px rgba(16, 185, 129, 0.4);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 16px rgba(16, 185, 129, 0), 0 0 35px rgba(16, 185, 129, 0.75);
  }
  100% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), 0 0 20px rgba(16, 185, 129, 0.4);
  }
}

@keyframes modalGlowPulseError {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7), 0 0 20px rgba(244, 63, 94, 0.4);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 16px rgba(244, 63, 94, 0), 0 0 35px rgba(244, 63, 94, 0.75);
  }
  100% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0), 0 0 20px rgba(244, 63, 94, 0.4);
  }
}

@keyframes modalGlowPulseGold {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(15, 189, 241, 0.7), 0 0 20px rgba(15, 189, 241, 0.4);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 16px rgba(15, 189, 241, 0), 0 0 35px rgba(15, 189, 241, 0.75);
  }
  100% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(15, 189, 241, 0), 0 0 20px rgba(15, 189, 241, 0.4);
  }
}

/* High-Visibility Attractive Invalid Input Field Glow */
.input-group-merged.is-invalid,
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #f43f5e !important;
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.55) !important;
  animation: glowShakeError 0.4s ease-in-out;
}

@keyframes glowShakeError {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* register Page */

.error_msg {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: .75rem;
    color: #f44336;
}

.modal-backdrop {
  --bs-backdrop-opacity: 0.8 !important;
}