:root {
  --bg-dark: #07070a;
  --bg-warm: #1e1b29;
  --bg-panel: rgba(255, 255, 255, 0.05);
  --bg-card: rgba(255, 255, 255, 0.04);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --accent: #06b6d4;
  --danger: #ef4444;
  --success: #10b981;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  --gradient-accent: linear-gradient(135deg, #6366f1 0%, #d946ef 50%, #06b6d4 100%);
  --font-family: 'Instrument Sans', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(99, 102, 241, 0.15), transparent 38rem),
    radial-gradient(circle at 85% 18%, rgba(217, 70, 239, 0.12), transparent 32rem),
    radial-gradient(circle at 50% 60%, rgba(6, 182, 212, 0.08), transparent 40rem),
    linear-gradient(180deg, #09090b 0%, var(--bg-dark) 52%, #020204 100%);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

/* Navbar */
.navbar {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(7, 7, 10, 0.75);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 16px;
  z-index: 100;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 0.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.35));
  transition: transform 0.3s ease;
}

.logo:hover .logo-svg {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.25rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.07);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-outline-small {
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.72rem 1.12rem;
  display: inline-block;
  text-align: center;
  box-shadow: 0 14px 34px rgba(99, 102, 241, 0.24);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(99, 102, 241, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 0.72rem 1.12rem;
  display: inline-block;
}

.btn-secondary:hover,
.btn-outline:hover,
.btn-outline-small:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.large {
  padding: 0.9rem 1.35rem;
  font-size: 1rem;
}

.btn-outline {
  width: 100%;
  margin-top: auto;
  padding: 0.74rem 1rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-color);
}

.btn-outline-small {
  color: var(--text-main);
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 0.46rem 0.78rem;
  font-size: 0.84rem;
}

/* Hero Section */
.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 7rem 0 4.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 760px;
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: max-content;
  max-width: 100%;
  color: #e0e7ff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(217, 70, 239, 0.15) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero h1,
.section-header h2,
.workflow-card h2 {
  font-family: var(--font-display);
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 820px;
  margin: 1.4rem 0 1.25rem;
  font-size: clamp(3.5rem, 8vw, 6.9rem);
}

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

.hero p {
  max-width: 670px;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-proof span {
  padding: 0.46rem 0.72rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.hero-panel {
  position: relative;
  padding: 1rem;
  min-height: 420px;
  border: 1px solid var(--border-color);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 20% 10%, rgba(99, 102, 241, 0.32), transparent 18rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: auto -20% -35% 12%;
  height: 220px;
  border-radius: 999px;
  background: rgba(136, 212, 189, 0.22);
  filter: blur(35px);
}

.panel-topbar {
  display: flex;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem 1.1rem;
}

.panel-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.35);
}

.panel-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(8, 8, 6, 0.55);
  backdrop-filter: blur(14px);
}

.panel-card.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(217, 70, 239, 0.25) 100%);
  color: var(--text-main);
  border-color: rgba(217, 70, 239, 0.5);
  transform: rotate(-1.5deg) translateX(-8px);
  box-shadow: 0 18px 40px rgba(217, 70, 239, 0.15);
}

.panel-card strong {
  display: block;
  font-size: 1.02rem;
}

.panel-card p {
  color: inherit;
  opacity: 0.68;
  font-size: 0.9rem;
}

.panel-card span {
  flex: 0 0 auto;
  color: #15110a;
  background: var(--accent);
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

/* Common Section Styles */
.section-header {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto 2.6rem;
  text-align: center;
}

.section-header .eyebrow {
  margin: 0 auto 1rem;
}

.section-header h2 {
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Tools Section */
.tools-section {
  padding: 4rem 0 5rem;
}

.tools-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tool-card {
  min-height: 300px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s, border-color 0.22s, background 0.22s;
}

.tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.105);
  box-shadow: 0 20px 48px rgba(99, 102, 241, 0.08);
}

.tool-card.featured {
  background:
    linear-gradient(145deg, rgba(99, 102, 241, 0.15), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
}

.tool-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.tool-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.15);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.tool-tag {
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, 0.28);
  background: rgba(6, 182, 212, 0.09);
  padding: 0.28rem 0.56rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
}

.tool-card h3 {
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.tool-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.45rem;
}

/* Workflow */
.workflow-section {
  padding: 0 0 5rem;
}

.workflow-card {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--border-color);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.workflow-card .eyebrow {
  background: var(--gradient-accent);
  color: #0c0a0f;
  margin-bottom: 1rem;
}

.workflow-card h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.workflow-steps {
  display: grid;
  gap: 0.75rem;
}

.workflow-steps div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s, border-color 0.2s;
}

.workflow-steps div:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(99, 102, 241, 0.3);
}

.workflow-steps strong {
  color: var(--accent);
  font-family: var(--font-display);
}

.workflow-steps span {
  font-weight: 600;
  color: var(--text-main);
}

/* Pricing Section */
.pricing-section {
  padding: 5rem 5%;
  background: linear-gradient(180deg, rgba(8, 8, 6, 0) 0%, rgba(255, 255, 255, 0.035) 100%);
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pricing-card {
  width: 100%;
  max-width: 350px;
  text-align: center;
  position: relative;
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.18);
}

.pricing-card.popular {
  border-color: rgba(99, 102, 241, 0.68);
  box-shadow: 0 20px 55px rgba(99, 102, 241, 0.22);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #15110a;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.tier-name {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.055em;
  margin-bottom: 1.25rem;
}

.features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.features li {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.features li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
}

.pricing-card .btn-primary {
  width: 100%;
}

/* Footer */
footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 2.6rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

/* Auth State UI */
.auth-state {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 320px;
  padding: 0.32rem 0.55rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.user-email {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.credit-pill {
  color: #15110a;
  background: var(--accent);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.loading-text {
  color: var(--text-muted);
  font-size: 0.88rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal-content {
  width: min(100%, 420px);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  background: #11100c;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.2s;
}

.modal-overlay.hidden .modal-content {
  transform: translateY(20px);
}

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

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.close-btn {
  color: var(--text-muted);
  background: none;
  border: none;
  font-size: 1.6rem;
}

.close-btn:hover {
  color: var(--text-main);
}

/* Social & Form Buttons */
.btn-social {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.82rem;
  border: none;
  border-radius: 16px;
  background: var(--bg-warm);
  color: #17120a;
  font-weight: 900;
  font-size: 1rem;
  transition: transform 0.2s, background 0.2s;
}

.btn-social:hover {
  background: #fff9ea;
  transform: translateY(-1px);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
}

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

.divider span {
  padding: 0 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.input-group {
  margin-bottom: 1rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.input-group input {
  width: 100%;
  padding: 0.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
}

.input-group input:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.75);
  background: rgba(99, 102, 241, 0.07);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

.error-msg {
  min-height: 20px;
  margin-top: 1rem;
  color: var(--danger);
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
  .navbar {
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }

  .hero-panel {
    min-height: 330px;
  }

  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .navbar {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 0.75rem;
    position: relative;
    top: 0;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem;
  }

  .nav-links a {
    padding: 0.48rem 0.58rem;
    font-size: 0.88rem;
  }

  .auth-state {
    order: 5;
    width: 100%;
    flex-wrap: wrap;
  }

  .hero,
  .tools-grid,
  .workflow-card,
  footer {
    width: calc(100% - 20px);
  }

  .hero {
    padding: 3.6rem 0 3.2rem;
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero-actions,
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    text-align: center;
  }

  .hero-panel {
    min-height: auto;
    border-radius: 26px;
  }

  .panel-card.active {
    transform: none;
  }

  .section-header {
    width: calc(100% - 20px);
    text-align: left;
  }

  .section-header .eyebrow {
    margin-left: 0;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 270px;
  }

  .workflow-card {
    border-radius: 26px;
  }

  .pricing-section {
    padding: 4rem 10px;
  }

  .pricing-card.popular {
    transform: none;
  }
}

/* ==========================================
   Premium Light-Theme Auth Modal (White UI)
   ========================================== */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.auth-modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.auth-modal-card {
  width: min(100%, 420px);
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  padding: 2rem !important;
  position: relative !important;
  transform: translateY(0);
  transition: transform 0.25s ease;
  color: #0f172a !important;
}
.auth-modal-overlay.hidden .auth-modal-card {
  transform: translateY(16px);
}
.auth-modal-close {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.15s ease;
}
.auth-modal-close:hover {
  color: #0f172a;
}
.auth-modal-title {
  font-family: 'Space Grotesk', 'Manrope', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 1.5rem !important;
  text-align: center !important;
  letter-spacing: -0.02em !important;
}

/* Tab Switcher at the top */
.auth-tabs-container {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 1.5rem;
}
.auth-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.auth-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
}
.auth-tab-btn:hover:not(.active) {
  color: #334155;
}
.auth-tab-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Inputs & Labels */
.auth-input-group {
  margin-bottom: 1.25rem;
}
.auth-input-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
  text-align: left;
}
.auth-input-field {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 0.95rem !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}
.auth-input-field:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
  outline: none !important;
}
.auth-input-field::placeholder {
  color: #94a3b8 !important;
}

/* Buttons */
.auth-btn-primary {
  width: 100% !important;
  padding: 11px !important;
  border: none !important;
  border-radius: 10px !important;
  background: #1e293b !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}
.auth-btn-primary:hover {
  background: #0f172a !important;
}
.auth-btn-social {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 10px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
}
.auth-btn-social:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}

.auth-divider-line {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.25rem 0;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
}
.auth-divider-line::before,
.auth-divider-line::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}
.auth-divider-line span {
  padding: 0 12px;
}

.auth-switch-desc {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: #64748b;
}
.auth-switch-desc a {
  color: #6366f1;
  font-weight: 700;
  text-decoration: none;
}
.auth-switch-desc a:hover {
  text-decoration: underline;
}

/* Success and confirmation screens */
.auth-success-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.auth-confirm-email {
  color: #6366f1;
  font-weight: 700;
}

.auth-success-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: #e0e7ff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* Hidden Utility */
.hidden {
  display: none !important;
}
