/* WealthTrackerPro Modern UI System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-solid: #121826;
  --bg-card-hover: rgba(26, 35, 54, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --emerald-main: #10b981;
  --emerald-gradient: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --microsoft-gradient: linear-gradient(135deg, #0078d4 0%, #0284c7 100%);
  --google-gradient: linear-gradient(135deg, #ea4335 0%, #fbbc05 50%, #34a853 100%);
  --gold-accent: #f59e0b;
  --purple-accent: #8b5cf6;
  
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(99, 102, 241, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Glassmorphism Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 2rem;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-badge {
  width: 38px;
  height: 38px;
  background: var(--emerald-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.brand-name-pro {
  background: var(--emerald-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--emerald-main);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.user-nav-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-avatar-pill:hover {
  border-color: var(--emerald-main);
  box-shadow: var(--shadow-glow);
}

.avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--emerald-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.btn-logout-icon {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-logout-icon:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* Main Layout */
.main-wrapper {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Auth / Login Page Styling */
.auth-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  margin-top: 1rem;
}

.auth-hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.auth-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.feature-icon {
  width: 28px;
  height: 28px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.login-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.login-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.login-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.auth-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-auth-provider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
}

.btn-google {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-microsoft {
  background: rgba(0, 120, 212, 0.12);
  color: #38bdf8;
  border-color: rgba(0, 120, 212, 0.3);
}

.btn-microsoft:hover {
  background: rgba(0, 120, 212, 0.25);
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.divider-with-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.75rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.divider-with-text::before, .divider-with-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.divider-with-text span {
  padding: 0 0.75rem;
}

.demo-selector-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.demo-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.demo-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-demo-quick {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-demo-quick:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-main);
  color: var(--emerald-main);
}

/* Welcome Dashboard Styling */
.welcome-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.welcome-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.welcome-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.provider-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-main);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Stat Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
}

.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.stat-trend {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.trend-up { color: var(--emerald-main); }
.trend-gold { color: var(--gold-accent); }

/* Personal Info Grid */
.info-section-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.profile-card-sidebar {
  text-align: center;
}

.profile-avatar-large {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--emerald-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.profile-email {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table td {
  padding: 1.15rem 0.5rem;
}

.info-label {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  width: 35%;
}

.info-value {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
}

/* Footer */
.app-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0;
  background: rgba(7, 9, 14, 0.9);
  margin-top: auto;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--emerald-main);
}

/* Flash alerts */
.alert-banner {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-main);
}

.alert-info {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818cf8;
}

/* Market Symbol Explorer System */
.symbol-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.symbol-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.symbol-tab-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-main);
  color: var(--emerald-main);
}

.ticker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: rgba(7, 9, 14, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.ticker-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(3px);
}

.ticker-symbol {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', monospace;
}

.ticker-name {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.ticker-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-index { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.badge-tech { background: rgba(129, 140, 248, 0.15); color: #818cf8; border: 1px solid rgba(129, 140, 248, 0.3); }
.badge-etf { background: rgba(245, 158, 11, 0.15); color: var(--gold-accent); border: 1px solid rgba(245, 158, 11, 0.3); }

.badge-ind-index { background: rgba(16, 185, 129, 0.15); color: var(--emerald-main); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-ind-eq { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-ind-etf { background: rgba(244, 63, 94, 0.15); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.3); }

/* Execution Plan & Simulator Engine Styles */
.liquidity-bar-container {
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  overflow: hidden;
  position: relative;
}

.liquidity-bar-invested {
  height: 100%;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.8) 0%, rgba(56, 189, 248, 0.8) 100%);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.2), 0 0 8px rgba(16, 185, 129, 0.3);
  transition: width 0.1s linear;
}

.liquidity-bar-liquid {
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03) 8px, rgba(255, 255, 255, 0.07) 8px, rgba(255, 255, 255, 0.07) 16px);
  border-left: 1px dashed rgba(255, 255, 255, 0.2);
  transition: width 0.1s linear;
}

.liquidity-bar-drain {
  height: 100%;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.75) 0%, rgba(167, 139, 250, 0.75) 100%);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.2), 0 0 8px rgba(167, 139, 250, 0.3);
  transition: width 0.1s linear;
}

.liquidity-bar-text {
  position: absolute;
  width: 100%;
  text-align: center;
  line-height: 22px;
  font-size: 10.5px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 2;
}

.terminal-console {
  background: rgba(10, 10, 20, 0.85) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  border-radius: 16px;
  padding: 16px;
  height: 220px;
  overflow-y: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #e2e8f0;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6) !important;
}

.terminal-line {
  margin-bottom: 5px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 3px;
}

.terminal-line .time {
  color: #c084fc;
}

.terminal-line .sym {
  color: #fb7185;
  font-weight: 600;
}

.terminal-line .success-text {
  color: #34d399;
}

.terminal-line .info-text {
  color: #38bdf8;
}

.btn-pill {
  border-radius: 9999px !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  min-height: 38px !important;
}

.timeline-slider-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 16px;
}

.timeline-progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

.timeline-progress-bar {
  height: 100%;
  width: 0%;
  background: #10b981;
  border-radius: 3px;
  transition: width 0.1s linear;
}

#toastContainer {
  position: fixed !important;
  top: 24px !important;
  right: 24px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 100001 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  pointer-events: none !important;
}

.custom-dropdown {
  position: relative;
  width: 100%;
}

.custom-dropdown.dropup .custom-dropdown-menu {
  top: auto !important;
  bottom: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

.custom-dropdown-trigger {
  user-select: none;
  background-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  min-height: 44px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-dropdown-trigger:hover {
  background-color: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.custom-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(18, 24, 38, 0.98) !important;
  backdrop-filter: blur(24px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 14px;
  margin-top: 6px;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

.custom-dropdown-group-label {
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #10b981;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.02);
  user-select: none;
}

.custom-dropdown-option {
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  color: #f8fafc;
  display: flex;
  align-items: flex-start;
  transition: all 0.15s ease;
  cursor: pointer;
  gap: 8px;
}

.custom-dropdown-option:hover {
  background-color: rgba(16, 185, 129, 0.2);
  color: #ffffff;
}

.custom-dropdown-option.active {
  background-color: #10b981 !important;
  color: #ffffff !important;
}

.custom-dropdown-option .option-sym {
  font-weight: 600;
  width: 110px;
  flex-shrink: 0;
  color: #ffffff;
}

.custom-dropdown-option .option-desc {
  color: #94a3b8;
  font-size: 0.85rem;
}

.glass-toast {
  background: rgba(18, 24, 38, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-10px);
  animation: toastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards,
             toastOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) 2.7s forwards;
  min-width: 280px;
}

@keyframes toastIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Chrome, Safari, Edge, Opera - Hide number input spin buttons globally */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield !important;
}

/* Switch styling overrides for custom glass theme */
.form-check-input {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='rgba(255,255,255,0.6)'/%3E%3C/svg%3E") !important;
}

.form-check-input:checked {
  background-color: #10b981 !important;
  border-color: #10b981 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E") !important;
}

.row-enter {
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.row-exit {
  animation: slideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-delete-row {
  background: rgba(239, 68, 68, 0.2) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  color: #ffffff !important;
  width: 44px;
  height: 44px;
  border-radius: 12px !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-delete-row:hover {
  background: rgba(239, 68, 68, 0.35) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
}


/* Responsive queries */
@media (max-width: 900px) {
  .auth-container {
    grid-template-columns: 1fr;
  }
  .info-section-grid {
    grid-template-columns: 1fr;
  }
  .welcome-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  #symbolPanelsContainer {
    grid-template-columns: 1fr !important;
  }
}