:root {
  --bg-primary: #f8fafc; /* Slate 50 */
  --bg-secondary: #ffffff; /* White */
  --bg-tertiary: #f1f5f9; /* Slate 100 */
  
  --primary: #4f46e5; /* Indigo 600 */
  --primary-hover: #4338ca; /* Indigo 700 */
  --primary-glow: rgba(79, 70, 229, 0.1);
  
  --accent: #0284c7; /* Sky 600 */
  --accent-glow: rgba(2, 132, 199, 0.1);
  
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  --text-primary: #0f172a; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #94a3b8; /* Slate 400 */
  
  --border-color: #e2e8f0; /* Slate 200 */
  --card-radius: 16px;
  --input-radius: 10px;
  --transition-speed: 0.25s;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.05), transparent 45%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.05), transparent 45%);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1; /* Slate 300 */
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(79, 70, 229, 0.05), 0 0 0 1px rgba(79, 70, 229, 0.1); }
  50% { box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15), 0 0 0 2px rgba(79, 70, 229, 0.2); }
}

/* App Containers */
#app {
  width: 100%;
  min-height: 100vh;
  display: flex;
}

.auth-container {
  width: 100%;
  max-width: 460px;
  margin: auto;
  padding: 40px 20px;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 40px 32px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 14px;
  border-radius: var(--input-radius);
  transition: all var(--transition-speed);
}

.form-control:focus {
  outline: none;
  background: var(--bg-secondary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--input-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 16px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: #cbd5e1;
}

.btn-success {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  color: #fff;
}

.btn-danger {
  background: linear-gradient(135deg, var(--error) 0%, #dc2626 100%);
  color: #fff;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Dashboard Layout */
.dashboard-layout {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 32px 20px;
  position: fixed;
  height: 100vh;
  z-index: 100;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.logo-text h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-text p {
  font-size: 11px;
  color: var(--text-secondary);
}

.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-item a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--input-radius);
  transition: all var(--transition-speed);
  gap: 12px;
}

.menu-item.active a, .menu-item a:hover {
  color: var(--primary);
  background: #f0f3ff;
}

.menu-item.active a {
  font-weight: 600;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--input-radius) var(--input-radius) 0;
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.user-info {
  margin-bottom: 16px;
}

.user-email {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-company {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Main Content Area */
.main-content {
  flex: 1;
  margin-left: 280px;
  padding: 40px;
  overflow-y: auto;
}

.content-section {
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-section.active {
  display: block;
}

.section-header {
  margin-bottom: 28px;
}

.section-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Grid & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* KPI Dashboard Cards */
.kpi-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

.kpi-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.kpi-icon {
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* Status Widget */
.status-widget {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.status-value {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.status-active {
  color: var(--success);
}

.status-expired {
  color: var(--error);
}

.status-warning {
  color: var(--warning);
}

.status-details {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Progress bar */
.progress-bar-container {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  margin-top: 12px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 4px;
  width: 0%;
  transition: width 0.5s ease-in-out;
}

/* Copy-Clipboard Widget */
.copy-widget {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.copy-input {
  flex: 1;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--input-radius);
  color: var(--text-primary);
  padding: 10px 14px;
  font-size: 13px;
  font-family: 'Fira Code', monospace;
}

.copy-btn {
  width: 110px;
  font-size: 13px;
}

/* Tariff Cards */
.tariff-card {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
  position: relative;
}

.tariff-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.08);
}

.tariff-card.popular {
  border-color: var(--primary);
  animation: pulseGlow 4s infinite;
}

.tariff-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.tariff-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.tariff-price {
  font-size: 28px;
  font-weight: 800;
  margin: 12px 0;
  color: var(--text-primary);
}

.tariff-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.tariff-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tariff-features li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tariff-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}

.tariff-card .btn {
  margin-top: auto;
}

/* User Mapping Table */
.mapping-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--input-radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.mapping-table th, .mapping-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
}

.mapping-table th {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.mapping-table td {
  background: var(--bg-secondary);
}

.mapping-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--border-color);
}

.mapping-remove {
  background: transparent;
  border: none;
  color: var(--error);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.mapping-remove:hover {
  text-decoration: underline;
}

/* Logs Terminal View */
.terminal-view {
  background: #0f172a; /* Keep console dark for readable logs */
  border: 1px solid #1e293b;
  border-radius: var(--input-radius);
  padding: 20px;
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #38bdf8; /* Soft blue */
  height: 480px;
  overflow-y: auto;
  white-space: pre-wrap;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Modal Window */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed) ease;
}

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

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  width: 100%;
  max-width: 440px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  transform: scale(0.95);
  transition: transform var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.modal-backdrop.show .modal-content {
  transform: scale(1);
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.qr-placeholder {
  width: 220px;
  height: 220px;
  background: #f8fafc;
  margin: 20px auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-image {
  max-width: 100%;
  max-height: 100%;
}

.modal-info {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Responsive grid changes */
@media(max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width: 768px) {
  .sidebar {
    display: none;
  }
  .main-content {
    margin-left: 0;
    padding: 20px;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Monochromatic Icon styling */
.menu-item a i {
  font-size: 18px;
  line-height: 1;
}
.btn i {
  font-size: 16px;
  line-height: 1;
}
.kpi-icon i {
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Landing Page Wrapper & Container */
.landing-wrapper {
  width: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 50% 70%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(2, 132, 199, 0.10) 0%, transparent 50%),
              #f8fafc;
  animation: fadeIn 0.5s ease-out;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Landing Header */
.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}

.landing-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text-primary);
}

.landing-nav {
  display: flex;
  gap: 32px;
}

.landing-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

.landing-nav a:hover {
  color: var(--primary);
}

.landing-auth-btns {
  display: flex;
  gap: 12px;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
}

.animate-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glow Blobs */
.glow-blob {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.35;
}

.blob-1 {
  background: var(--primary);
  top: -20px;
  left: -20px;
}

.blob-2 {
  background: var(--accent);
  bottom: -20px;
  right: -20px;
}

/* Mockup Window */
.mockup-window {
  width: 100%;
  max-width: 440px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.mockup-header {
  background: var(--bg-tertiary);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mockup-header .dot:nth-child(1) { background: #ef4444; }
.mockup-header .dot:nth-child(2) { background: #f59e0b; }
.mockup-header .dot:nth-child(3) { background: #10b981; }

.mockup-title {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-body {
  padding: 24px;
  background: var(--bg-secondary);
}

.chat-sim {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.chat-bubble.client {
  background: #f1f5f9;
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-bubble.operator {
  background: #eff6ff;
  color: var(--text-primary);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.bubble-sender {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.chat-arrow {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
}

/* Features Section */
.features-section, .how-section, .landing-tariffs-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-subheading {
  font-size: 16px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How Section & Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 32px;
  text-align: center;
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Landing Footer */
.landing-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: auto;
}

/* Close Button for Modals */
.btn-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.btn-close:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* Adaptive styles for landing */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-graphic {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .landing-nav {
    display: none;
  }
  .hero-title {
    font-size: 36px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .landing-header {
    padding: 16px 0;
  }
}

/* ==========================================
   Toast Notifications System
   ========================================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 450px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  font-size: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-content {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.toast-close:hover {
  color: var(--text-primary);
}

/* Toast types styling */
.toast-info .toast-icon {
  color: var(--primary);
}

.toast-success {
  border-left: 4px solid var(--success);
}
.toast-success .toast-icon {
  color: var(--success);
}

.toast-error {
  border-left: 4px solid var(--error);
}
.toast-error .toast-icon {
  color: var(--error);
}

.toast-warning {
  border-left: 4px solid var(--warning);
}
.toast-warning .toast-icon {
  color: var(--warning);
}


