/* ---------- FONT SIZE MASTER SYSTEM (consistent throughout) ---------- */
:root {
  --primary: #000000;
  --background-light: #f7f7f7;
  --background-dark: #191919;
  --card-light: #ffffff;
  --card-dark: #2a2a2a;

  /* TYPOGRAPHY SCALE – every text-* class uses these */
  --fs-micro: 0.5rem;
  /* 8px */
  --fs-xxs: 0.6rem;
  /* 9.6px */
  --fs-xs: 0.65rem;
  /* 10.4px */
  --fs-sm: 0.7rem;
  /* 11.2px */
  --fs-md: 0.75rem;
  /* 12px */
  --fs-base: 0.875rem;
  /* 14px */
  --fs-lg: 1rem;
  /* 16px */
  --fs-xl: 1.2rem;
  /* 19.2px */
  --fs-xxl: 1.4rem;
  /* 22.4px */

  /* Additional Design Variables */
  --accent: #4f46e5;
  --input-bg: #f1f5f9;
  --text-muted: #64748b;
}

/* global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- consistent type utility classes ---------- */
.text-micro {
  font-size: var(--fs-micro) !important;
}

/* 8px */
.text-xxs {
  font-size: var(--fs-xxs) !important;
}

/* 9.6px */
.text-xs {
  font-size: var(--fs-xs) !important;
}

/* 10.4px */
.text-sm {
  font-size: var(--fs-sm) !important;
}

/* 11.2px */
.text-md {
  font-size: var(--fs-md) !important;
}

/* 12px */
.text-base {
  font-size: var(--fs-base) !important;
}

/* 14px */
.text-lg {
  font-size: var(--fs-lg) !important;
}

/* 16px */
.text-xl {
  font-size: var(--fs-xl) !important;
}

/* 19.2px */
.text-xxl {
  font-size: var(--fs-xxl) !important;
}

/* 22.4px */

/* ----- MOBILE FRAME ----- */
.mobile-frame-container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  /* border-radius: 28px; */
  border: 8px solid rgba(0, 0, 0, 0.05);
  background-color: white;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* ← critical: 100vh clean, no extra scroll */
  position: relative;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.dark-mode .mobile-frame-container {
  background-color: #222;
  border-color: rgba(255, 255, 255, 0.05);
}

/* ----- HEADER (all fonts sized with vars) ----- */
.mobile-header {
  background-color: #fff;
  padding: 0.75rem 1rem;
  flex-shrink: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.dark-mode .mobile-header {
  background-color: rgba(34, 34, 34, 0.95);
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* ----- SCROLLABLE ----- */
.scrollable-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1rem 90px;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ----- CAROUSEL BANNER (text with master scale) ----- */
.carousel-item {
  border-radius: 20px;
  overflow: hidden;
  height: 170px;
}

.banner-1 {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
}

.banner-2 {
  background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
}

.banner-3 {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.banner-content {
  height: 100%;
  padding: 1.25rem 1.5rem;
  color: white;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.banner-tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 30px;
  font-size: var(--fs-xs) !important;
  /* 10.4px */
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.banner-title {
  font-size: var(--fs-xxl) !important;
  /* 22.4px */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
  max-width: 75%;
}

.banner-subtitle {
  font-size: var(--fs-sm) !important;
  /* 11.2px */
  opacity: 0.9;
  margin-bottom: 14px;
}

.btn-banner {
  background-color: white;
  color: black;
  border: none;
  padding: 6px 18px;
  border-radius: 40px;
  font-size: var(--fs-sm) !important;
  /* 11.2px */
  font-weight: 600;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.banner-decor {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 130px;
  height: 130px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.carousel-indicators [data-bs-target] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
}

/* ----- QUICK ACCESS CARDS (font-size strictly with utilities) ----- */
.quick-access-card {
  background-color: var(--card-light);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0.5rem 0.25rem;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
  width: 100%;
}

.quick-access-card-2 {
  background-color: var(--card-light);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0.6rem 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 90px;
  width: 100%;
}

.dark-mode .quick-access-card,
.dark-mode .quick-access-card-2 {
  background-color: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

.icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  font-size: var(--fs-lg);
  color: #2c3e50;
}

.dark-mode .icon-wrapper {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ddd;
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  margin-bottom: 6px;
}

.bg-blue-light {
  background: #eff6ff;
  color: #3b82f6;
}

.bg-purple-light {
  background: #f5f3ff;
  color: #8b5cf6;
}

.bg-orange-light {
  background: #fff7ed;
  color: #f97316;
}

.bg-green-light {
  background: #f0fdf4;
  color: #22c55e;
}

/* ----- COURSE CARDS (font size control) ----- */
.course-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e9edf2;
  width: 250px;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
}

.dark-mode .course-card {
  background: #2a2a2a;
  border-color: #3a3a3a;
}

.course-thumb {
  height: 120px;
  width: 100%;
  /* background: #1e293b; */
  position: relative;
}

.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ef4444;
  color: white;
  font-size: var(--fs-xxs) !important;
  /* 9.6px */
  padding: 3px 10px;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.3px;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.75;
  }

  100% {
    opacity: 1;
  }
}

.course-details {
  padding: 12px;
}

.faculty-img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #aaa;
}

.faculty-name {
  font-size: var(--fs-xxs) !important;
  color: #555;
}

.dark-mode .faculty-name {
  color: #ccc;
}

.current-price {
  font-weight: 700;
  font-size: var(--fs-md) !important;
}

/* 12px */
.old-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: var(--fs-xxs) !important;
  margin-left: 5px;
}

.rating-badge {
  background: #fffbeb;
  color: #b45309;
  font-size: var(--fs-xxs) !important;
  padding: 3px 8px;
  border-radius: 30px;
  font-weight: 600;
}

/* ----- QUIZ PROMO (font standardized) ----- */
.quiz-promo {
  background: #f0f9ff;
  border: 1px dashed #7ab3e0;
  border-radius: 18px;
  padding: 1rem;
}

.dark-mode .quiz-promo {
  background: #1e2a3a;
  border-color: #3a5a7a;
}

.quiz-promo h6 {
  font-size: var(--fs-base) !important;
}

/* 14px */
.quiz-promo p {
  font-size: var(--fs-sm) !important;
}

/* 11.2px */
.btn-sm {
  font-size: var(--fs-xs) !important;
}

/* ----- BOTTOM NAV (floating) ----- */
.mobile-nav {
  position: absolute !important;
  bottom: 8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 94%;
  height: 70px;
  background: #000;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  padding: 0 8px;
}

.dark-mode .mobile-nav {
  background: #111;
}

.nav-item {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--fs-xs) !important;
  /* 10.4px */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-item i {
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.nav-item.active {
  color: #fff;
}

.nav-item span {
  font-size: var(--fs-micro) !important;
}

/* 8px */
.plus-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid white;
  background: #fff;
  color: black;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -42px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.dark-mode .plus-btn {
  border-color: #222;
  background: #f0f0f0;
}

/* ----- BOTTOM SHEET (curved) — FIXED: proper position relative to frame, fully clickable ----- */
.bottom-sheet {
  position: absolute;
  bottom: 0; /* stays at bottom edge, hidden by transform */
  left: 0;
  width: 100%;
  height: 320px;
  background: white;
  border-radius: 50% 50% 0 0 / 20px 20px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.98);
  z-index: 1500;
  padding: 20px 16px;
  transform: translateY(100%); /* hidden by default – pushes down */
}

.bottom-sheet.show {
  transform: translateY(0); /* slides up into view */
}

.dark-mode .bottom-sheet {
  background: #2a2a2a;
  color: white;
}

.sheet-handle {
  width: 44px;
  height: 5px;
  background: #ccc;
  border-radius: 10px;
  margin: 0 auto 24px;
}

.sheet-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.action i {
  font-size: 2rem;
  color: var(--primary);
}

.action p {
  font-size: var(--fs-sm) !important;
  margin-top: 6px;
  font-weight: 500;
}

/* ----- SIDE MENU (offcanvas) ----- */
#sideMenu {
  position: absolute !important;
  top: 0;
  left: 0;
  height: 100%;
  width: 280px;
  z-index: 2100;
  /* border-radius: 20px 0 0 20px; */
  background: white;
}

.dark-mode #sideMenu {
  background: #1f1f1f;
}

.offcanvas-backdrop {
  position: absolute !important;
  border-radius: 20px;
}

.menu-item {
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: black;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.dark-mode .menu-item {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.menu-item-text {
  font-size: var(--fs-base) !important;
  font-weight: 500;
}

/* 14px */
.menu-section-title {
  padding: 1rem 1.5rem 0.3rem;
  font-size: var(--fs-xs) !important;
  /* 10.4px */
  font-weight: 600;
  text-transform: uppercase;
  color: #666;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  padding: 1rem 1.5rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

/* ----- CATEGORY DROPDOWN ----- */
.category-dropdown {
  position: relative;
}

.category-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 40px;
  padding: 0.3rem 0.9rem;
  font-size: var(--fs-sm) !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dark-mode .category-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.category-btn.active {
  background: black;
  color: white;
  border-color: black;
}

.category-dropdown-menu {
  position: absolute;
  top: 130%;
  left: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  min-width: 150px;
  display: none;
  z-index: 1200;
  padding: 0.4rem;
}

.category-dropdown-menu.show {
  display: block;
}

.dark-mode .category-dropdown-menu {
  background: #2a2a2a;
}

.category-item {
  padding: 0.5rem 1rem;
  font-size: var(--fs-sm) !important;
  /* 11.2px */
  border-radius: 30px;
  cursor: pointer;
}

.category-item.active {
  background: #eaeaea;
  font-weight: 600;
}

/* misc */
.footer-note {
  font-size: var(--fs-micro) !important;
  color: #aaa;
  margin-top: 12px;
}

.text-muted {
  color: #6c757d !important;
}

/* login page start */
/* Header Section */
.login-header {
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.brand-logo-container {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px -5px rgba(79, 70, 229, 0.15);
}

.brand-logo-container i {
  font-size: 2rem;
  color: var(--accent);
}

.login-title {
  font-size: var(--fs-xxl);
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary);
}

.login-subtitle {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 400;
}

/* Form Section */
.login-body {
  padding: 0 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.input-group-custom {
  position: relative;
  margin-bottom: 1.25rem;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: var(--fs-lg);
  z-index: 10;
}

.form-control-custom {
  width: 100%;
  padding: 14px 14px 14px 48px;
  background-color: var(--input-bg);
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: var(--fs-md);
  /* Using scaled font */
  font-family: "Lexend", sans-serif;
  color: var(--primary);
  transition: all 0.3s ease;
}

.form-control-custom:focus {
  background-color: var(--card-light);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
  outline: none;
}

.form-control-custom::placeholder {
  color: var(--text-muted);
  font-weight: 300;
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
  font-size: var(--fs-lg);
}

.forgot-pass {
  text-align: right;
  display: block;
  font-size: var(--fs-xs);
  /* Using scaled font */
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 2rem;
}

/* Login Button */
.btn-login {
  background: var(--primary);
  color: white;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: var(--fs-base);
  /* Using scaled font */
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(7, 7, 22, 0.3);
  transition: transform 0.2s ease;
  letter-spacing: 0.5px;
}

.btn-login:active {
  transform: scale(0.98);
}

/* Footer Text */
.signup-text {
  text-align: center;
  font-size: var(--fs-sm);
  /* Using scaled font */
  margin-top: 30px;
  color: var(--text-muted);
}

.signup-text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

/* Dark Mode Support */
body.dark-mode {
  background-color: var(--background-dark);
  color: white;
}

.dark-mode .mobile-frame-container {
  background-color: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .login-title,
.dark-mode .form-control-custom {
  color: white;
}

.dark-mode .form-control-custom {
  background-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .form-control-custom:focus {
  background-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .btn-back {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

/* login page end */

/* sign up page start */
/* Header Section */
.signup-header {
  padding: 3rem 1.5rem 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.brand-logo-container {
  width: 64px; /* Slightly smaller for signup to fit content */
  height: 64px;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 20px -5px rgba(79, 70, 229, 0.15);
}

.brand-logo-container i {
  font-size: 1.75rem;
  color: var(--accent);
}

.signup-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary);
}

.signup-subtitle {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 400;
}

/* Form Section */
.signup-body {
  padding: 0 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto; /* Allow scroll if content exceeds height */
}

/* Hide scrollbar */
.signup-body::-webkit-scrollbar {
  display: none;
}
.signup-body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.input-group-custom {
  position: relative;
  margin-bottom: 1rem;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: var(--fs-lg);
  z-index: 10;
}

.form-control-custom {
  width: 100%;
  padding: 14px 14px 14px 48px;
  background-color: var(--input-bg);
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: var(--fs-md);
  font-family: "Lexend", sans-serif;
  color: var(--primary);
  transition: all 0.3s ease;
}

.form-control-custom:focus {
  background-color: var(--card-light);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
  outline: none;
}

.form-control-custom::placeholder {
  color: var(--text-muted);
  font-weight: 300;
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
  font-size: var(--fs-lg);
}

/* Checkbox Style */
.terms-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.form-check-input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-color: #cbd5e1;
}

.form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.terms-text {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

.terms-text a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* Action Button */
.btn-signup {
  background: var(--primary);
  color: white;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: var(--fs-base);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(7, 7, 22, 0.3);
  transition: transform 0.2s ease;
  letter-spacing: 0.5px;
  margin-top: auto; /* Push to bottom if space allows */
}

.btn-signup:active {
  transform: scale(0.98);
}

/* Footer Text */
.login-link-text {
  text-align: center;
  font-size: var(--fs-sm);
  margin-top: 1.5rem;
  color: var(--text-muted);
}

.login-link-text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
/* sign up page end */

/* onboarding page strt */
/* --- Skip Button --- */
.skip-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  z-index: 100;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  transition: all 0.2s;
}

.skip-btn:active {
  transform: scale(0.95);
}

/* --- Visual Area (Top 65%) --- */
.visual-section {
  height: 60%;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Background Pattern */
  background-image: radial-gradient(#e0e7ff 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Organic Background Blob */
.organic-blob {
  position: absolute;
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* --- 3D Icon Compositions (Pure CSS) --- */
.scene-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.scene-container.active {
  opacity: 1;
  transform: scale(1);
  z-index: 10;
}

/* Illustration Elements */
.floating-icon-main {
  font-size: 6rem;
  color: transparent;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  filter: drop-shadow(0 15px 25px rgba(79, 70, 229, 0.4));
  z-index: 5;
  animation: float 6s ease-in-out infinite;
}

.floating-badge {
  position: absolute;
  background: white;
  padding: 10px 16px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
  animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* --- Bottom Sheet (Text & Controls) --- */
.onboarding-bottom-sheet {
  height: 40%;
  /* Overlap slightly */
  width: 100%;
  background: white;
  border-radius: 32px 32px 0 0;
  padding: 2.5rem 2rem 1.5rem;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  bottom: 42px;
  z-index: 20;
}

.text-content {
  text-align: center;
  animation: fadeUp 0.5s ease forwards;
}

.onboard-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.onboard-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Controls --- */
.controls-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

/* Paging Dots */
.dots-container {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: #e2e8f0;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  background: var(--accent-gradient);
}

/* Action Button */
.btn-next-round {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.3);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-next-round:hover {
  transform: scale(1.05);
}

.btn-next-round:active {
  transform: scale(0.95);
}

/* SVG Circular Progress inside button (Advanced Touch) */
.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.progress-ring__circle {
  transition: stroke-dashoffset 0.35s;
  transform-origin: 50% 50%;
}

/* Get Started Button (Final Slide) */
.btn-final {
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  box-shadow: 0 4px 12px rgba(7, 7, 22, 0.3);
  display: none;
  animation: slideUp 0.3s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-content {
  display: none;
  text-align: center;
  animation: fadeUp 0.5s ease forwards;
}

.text-content.active {
  display: block;
}
/* onboarding page end */
.curser {
  cursor: pointer;
}

/* my order */
.toggleBtn {
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 16px;
  border: 2px solid white;
  font-size: 12px;
  font-family: "Lexend", sans-serif;
}
.activeBtnRadius {
  border-color: gray;
  font-weight: 600;
}
