/* ==========================================================================
   MINIBEE PANEL - ORANGE / WHITE / BLACK THEME
   WhatsApp Business Cloud API Authentication System
   ========================================================================== */

:root {
  /* Core Orange Palette */
  --orange-50: #FFF7ED;
  --orange-100: #FFEDD5;
  --orange-200: #FED7AA;
  --orange-300: #FDBA74;
  --orange-400: #FB923C;
  --orange-500: #FF6B00; /* Primary brand orange */
  --orange-600: #EA580C;
  --orange-700: #C2410C;
  --orange-glow: rgba(255, 107, 0, 0.45);
  --orange-soft-glow: rgba(255, 107, 0, 0.15);

  /* Obsidian Black & Charcoal Palette */
  --black-base: #060709;
  --black-surface-1: #0C0E12;
  --black-surface-2: #13171F;
  --black-surface-3: #1A1F2B;
  --black-border: rgba(255, 255, 255, 0.08);
  --black-border-hover: rgba(255, 107, 0, 0.5);

  /* Crisp White & Contrast Grays */
  --white: #FFFFFF;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;

  /* Feedback Colors */
  --danger: #EF4444;
  --danger-bg: rgba(239, 68, 68, 0.12);
  --success: #10B981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --warning: #F59E0B;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;

  /* Shadows & Glows */
  --shadow-card: 0 25px 60px -15px rgba(0, 0, 0, 0.75), 0 0 40px -10px rgba(255, 107, 0, 0.12);
  --shadow-btn: 0 8px 24px -4px rgba(255, 107, 0, 0.45);
  --shadow-input-focus: 0 0 0 3px rgba(255, 107, 0, 0.25), 0 0 16px rgba(255, 107, 0, 0.2);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--black-base);
  color: var(--white);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Lights & Technical Grid */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.7;
}

.glow-top-left {
  top: -100px;
  left: -80px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.28) 0%, rgba(255, 81, 0, 0.08) 60%, transparent 80%);
  animation: pulse-ambient 8s ease-in-out infinite alternate;
}

.glow-bottom-right {
  bottom: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.2) 0%, rgba(255, 107, 0, 0.05) 55%, transparent 75%);
  animation: pulse-ambient 10s ease-in-out infinite alternate-reverse;
}

.glow-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.07) 0%, transparent 70%);
}

.ambient-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 80%);
}

@keyframes pulse-ambient {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.15) translate(20px, 30px); opacity: 0.85; }
}

/* Master Viewport Container */
.auth-viewport {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

/* Master Auth Card Wrapper */
.auth-card-wrapper {
  width: 100%;
  max-width: 1140px;
  background: linear-gradient(135deg, rgba(16, 19, 26, 0.85) 0%, rgba(10, 12, 16, 0.95) 100%);
  border: 1px solid var(--black-border);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s ease;
}

.auth-card-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--orange-500) 50%, transparent 100%);
  opacity: 0.7;
}

/* ==========================================================================
   LEFT PANEL - BRANDING & SHOWCASE
   ========================================================================== */
.brand-panel {
  padding: 3.5rem 3rem;
  background: linear-gradient(160deg, rgba(255, 107, 0, 0.06) 0%, rgba(12, 14, 18, 0.6) 100%);
  border-right: 1px solid var(--black-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.brand-logo-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.5));
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
}

.brand-highlight {
  color: var(--orange-500);
  text-shadow: 0 0 12px rgba(255, 107, 0, 0.6);
}

.brand-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.3);
  color: var(--orange-400);
  border-radius: 9999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-body {
  margin: auto 0;
  padding: 1.5rem 0;
}

.pill-announcement {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-size: 0.8rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--orange-500);
  box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.8); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 107, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.brand-headline {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, #FF9E44 0%, #FF6B00 50%, #FF3D00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(255, 107, 0, 0.3));
}

.brand-subtext {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.feature-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-icon-wrapper svg {
  width: 16px;
  height: 16px;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.feature-text span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.brand-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-partner-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.meta-icon {
  width: 18px;
  height: 18px;
  color: var(--orange-400);
}

.copyright {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ==========================================================================
   RIGHT PANEL - AUTH FORMS
   ========================================================================== */
.auth-panel {
  padding: 3.5rem 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(12, 14, 18, 0.4);
}

/* Tab Switcher (Sign In vs Create Account) */
.tab-switcher-wrapper {
  margin-bottom: 2rem;
}

.tab-switcher {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--black-surface-1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 4px;
  user-select: none;
}

.tab-btn {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--gray-400);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-btn:hover {
  color: var(--white);
}

.tab-btn.active {
  color: var(--white);
}

/* Animated Slider Pill */
.tab-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.25) 0%, rgba(255, 107, 0, 0.12) 100%);
  border: 1px solid rgba(255, 107, 0, 0.5);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15);
  border-radius: 10px;
  z-index: 1;
  transition: transform 0.35s var(--ease-smooth);
}

.tab-switcher[data-active="register"] .tab-slider {
  transform: translateX(100%);
}

/* Forms Container & View Animation */
.forms-slider-container {
  position: relative;
}

.auth-view {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-smooth);
}

.auth-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInView 0.35s var(--ease-smooth) forwards;
}

@keyframes fadeInView {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.view-header {
  margin-bottom: 1.75rem;
}

.view-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.view-subtitle {
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* ==========================================================================
   FORM INPUTS & ELEMENTS
   ========================================================================== */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-200);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.required-star {
  color: var(--orange-500);
}

.text-link {
  font-size: 0.8rem;
  color: var(--orange-400);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.text-link:hover {
  color: var(--orange-300);
  text-shadow: 0 0 8px rgba(255, 107, 0, 0.4);
  text-decoration: underline;
}

/* Input Wrapper & Icons */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--black-surface-1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.input-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.input-wrapper:focus-within {
  border-color: var(--orange-500);
  box-shadow: var(--shadow-input-focus);
  background: rgba(18, 22, 30, 0.95);
}

.input-wrapper.is-invalid {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.input-icon {
  position: absolute;
  left: 1rem;
  width: 20px;
  height: 20px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: color 0.25s ease;
}

.input-icon svg {
  width: 100%;
  height: 100%;
}

.input-wrapper:focus-within .input-icon {
  color: var(--orange-400);
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 12px;
}

.form-input.font-mono {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.form-input::placeholder {
  color: var(--gray-500);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

/* Password Toggle & Paste Helper Buttons */
.btn-toggle-password,
.btn-paste-helper,
.info-tooltip-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: color 0.2s ease, transform 0.2s ease;
}

.btn-toggle-password {
  position: absolute;
  right: 0.85rem;
  padding: 0.4rem;
  border-radius: 6px;
}

.btn-toggle-password svg {
  width: 18px;
  height: 18px;
}

.btn-toggle-password:hover {
  color: var(--white);
}

.btn-paste-helper {
  font-size: 0.75rem;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 6px;
  color: var(--orange-400);
  font-weight: 600;
}

.btn-paste-helper svg {
  width: 13px;
  height: 13px;
}

.btn-paste-helper:hover {
  background: rgba(255, 107, 0, 0.2);
  color: var(--white);
  border-color: var(--orange-500);
}

.info-tooltip-btn {
  width: 18px;
  height: 18px;
  color: var(--gray-400);
  position: relative;
}

.info-tooltip-btn:hover {
  color: var(--orange-400);
}

.info-tooltip-btn svg {
  width: 16px;
  height: 16px;
}

/* Tooltip on hover */
.info-tooltip-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  right: -10px;
  transform: translateY(6px);
  background: var(--black-surface-3);
  color: var(--gray-200);
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.info-tooltip-btn:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.input-badge {
  position: absolute;
  right: 0.85rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--gray-400);
  pointer-events: none;
}

/* Field Feedback & Helper text */
.field-feedback {
  font-size: 0.78rem;
  color: var(--danger);
  min-height: 1rem;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.field-hint code {
  font-family: var(--font-mono);
  color: var(--orange-300);
  background: rgba(255, 107, 0, 0.1);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}

/* Password Strength Meter */
.strength-meter-container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.strength-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  height: 4px;
}

.strength-bar {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.strength-bar.weak {
  background-color: var(--danger);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.strength-bar.medium {
  background-color: var(--warning);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.strength-bar.strong {
  background-color: var(--orange-500);
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.7);
}

.strength-bar.excellent {
  background-color: var(--success);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
}

.strength-label {
  font-size: 0.72rem;
  color: var(--gray-500);
  text-align: right;
  transition: color 0.2s ease;
}

/* Custom Checkbox */
.form-row-checkbox {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--black-surface-1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-box svg {
  width: 12px;
  height: 10px;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s var(--ease-smooth);
}

.custom-checkbox input[type="checkbox"]:checked ~ .checkbox-box {
  background: var(--orange-500);
  border-color: var(--orange-500);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.4);
}

.custom-checkbox input[type="checkbox"]:checked ~ .checkbox-box svg {
  opacity: 1;
  transform: scale(1);
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--gray-300);
}

/* Submit Primary Button */
.btn-primary {
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, #FF7A1A 0%, #FF5500 100%);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(255, 107, 0, 0.65);
  background: linear-gradient(135deg, #FF882E 0%, #FF6000 100%);
}

.btn-primary:hover::before {
  left: 100%;
}

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

.btn-primary .btn-arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Spinner for Loading State */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Bottom switch prompt */
.auth-switch-prompt {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
}

.inline-switch-btn {
  background: none;
  border: none;
  color: var(--orange-400);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0 0.25rem;
  transition: color 0.2s ease;
}

.inline-switch-btn:hover {
  color: var(--orange-300);
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   TOAST NOTIFICATION COMPONENT
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--black-surface-2);
  border: 1px solid var(--black-border);
  border-left: 4px solid var(--orange-500);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 107, 0, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  backdrop-filter: blur(20px);
  animation: toastIn 0.35s var(--ease-smooth) forwards;
  position: relative;
  overflow: hidden;
}

.toast.toast-success {
  border-left-color: var(--success);
}

.toast.toast-error {
  border-left-color: var(--danger);
}

.toast-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-success .toast-icon {
  color: var(--success);
}

.toast-error .toast-icon {
  color: var(--danger);
}

.toast-info .toast-icon {
  color: var(--orange-400);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.toast-message {
  font-size: 0.8rem;
  color: var(--gray-300);
  line-height: 1.4;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--orange-500);
  width: 100%;
  animation: toastProgress 4s linear forwards;
}

.toast-success .toast-progress {
  background: var(--success);
}

.toast-error .toast-progress {
  background: var(--danger);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}

/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */
@media (max-width: 968px) {
  .auth-card-wrapper {
    grid-template-columns: 1fr;
    max-width: 580px;
    border-radius: 20px;
  }

  .brand-panel {
    padding: 2.25rem 2rem;
    border-right: none;
    border-bottom: 1px solid var(--black-border);
  }

  .brand-headline {
    font-size: 1.85rem;
  }

  .feature-checklist {
    display: none; /* Streamline on tablet/mobile */
  }

  .brand-footer {
    display: none;
  }

  .auth-panel {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 480px) {
  .auth-viewport {
    padding: 1rem 0.75rem;
  }

  .auth-card-wrapper {
    border-radius: 16px;
  }

  .brand-panel {
    padding: 1.5rem 1.25rem;
  }

  .brand-headline {
    font-size: 1.45rem;
  }

  .auth-panel {
    padding: 1.75rem 1.25rem;
  }

  .tab-btn {
    font-size: 0.88rem;
    padding: 0.65rem 0.5rem;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    top: 1rem;
    max-width: calc(100% - 2rem);
  }
}
