*{
  max-width:100%;
}
/* =========================================
   PRANAVA STUDENT – CLEAN PREMIUM UI
========================================= */

/* ===== GLOBAL ===== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  background: linear-gradient(to bottom, #f6f7fb 0%, #f2f3f8 100%);
  color: #022042;
  font-family: "Inter", sans-serif;
}



/* =========================================
   TOPBAR
========================================= */

.topbar {
  padding: 24px 100px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-menu {
  display: flex;
  gap: 28px;
}

.top-menu a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  transition: 0.2s ease;
}

.top-menu a:hover {
  color: #111;
}

.right-area {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

/* =========================================
   DASHBOARD
========================================= */

.dashboard-wrapper {
  padding: 60px 120px 100px 120px;
  max-width: 1100px;
  margin: 0 auto;
}

/* HERO */

.dashboard-hero {
  margin-bottom: 40px;
}

.dashboard-hero h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.dashboard-hero p {
  font-size: 14px;
  color: #9aa0a6;
}

/* STATS GRID */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 24px;
  margin-top: 20px;
}

/* STAT CARD */

.stat-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #eceef3;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  transition: 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.stat-card h3 {
  font-size: 24px;
  font-weight: 500;
}

.stat-card:hover h3 {
  color: #5b6df8;
}

.stat-card p {
  font-size: 13px;
  color: #777;
}

/* MAIN COURSE CARD */

.main-card {
  margin-top: 40px;
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  border: 1px solid #eceef3;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

/* PROGRESS */

.progress-bar {
  height: 6px;
  background: #edf0f5;
  border-radius: 100px;
  margin: 14px 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #5b6df8;
  border-radius: 100px;
}

/* =========================================
   GLOBAL CARD STYLE
========================================= */

.card,
.session-card,
.day-card,
.product-card {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #eceef3;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

  .topbar {
    padding: 20px 30px;
  }

  .dashboard-wrapper {
    padding: 40px 30px;
  }

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

}
/* ================= FOOTER ================= */

.footer-nav {
  background: #ffffff;
  display: flex;
  justify-content: space-around;
  padding: 16px 0;
  border-top: 1px solid #eceef3;
}

/* Mobile only fixed footer */

@media (max-width: 768px) {
  .footer-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.05);
  }

  .app-main {
    padding-bottom: 80px; /* prevent overlap */
  }
}
/* Improve Topbar spacing */

.topbar {
  padding: 16px 20px;
}

/* Dashboard spacing refinement */

.dashboard-wrapper {
  padding:40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Make stats 3 columns on desktop */

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Prevent cards from stretching weirdly */

.product-card,
.day-card,
.session-card {
  overflow: hidden;
}

/* Fix image container */

.product-image {
  width: 100%;
  height: 200px;      /* force proper height */
  background: #f5f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ================= FOOTER ================= */

.footer-nav {
  background: #ffffff;
  display: flex;
  justify-content: space-around;
  padding: 16px 0;
  border-top: 1px solid #eceef3;
}

@media (max-width: 768px) {
  .footer-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.05);
  }

  .app-main {
    padding-bottom: 80px;
  }
}

/* PROFILE DROPDOWN */

.profile-wrapper {
  position: relative;
}

.profile-dropdown {
  position: absolute;
  top: 60px;
  right: 0;
  width: 220px;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border: 1px solid #eceef3;
  display: none;
  flex-direction: column;
  gap: 8px;
  animation: fadeIn 0.2s ease;
}

.profile-dropdown.show {
  display: flex;
}

.profile-header {
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  margin-bottom: 6px;
}

.profile-dropdown a {
  text-decoration: none;
  font-size: 14px;
  color: #444;
  padding: 8px 10px;
  border-radius: 8px;
  transition: 0.2s ease;
}

.profile-dropdown a:hover {
  background: #f4f6fb;
}

.logout-link {
  color: #d32f2f;
}

/* Active Nav Link */

/* Remove bold */
.top-menu a.active {
  font-weight: 500;   /* same as normal */
  color: #111;
  position: relative;
}

/* Add subtle underline indicator */
.top-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #5b6df8;
  border-radius: 2px;
}
/* Smooth dropdown */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ================= MOBILE NAV ================= */

.mobile-menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* Mobile */

@media (max-width: 900px) {

  .topbar {
    padding: 16px 20px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .top-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    display: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  }

  .top-menu.show {
    display: flex;
  }
}
@media (max-width: 900px) {

  .stats-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 10px;
  }

  .stat-card {
    min-width: 220px;
    flex-shrink: 0;
  }

  .stats-grid::-webkit-scrollbar {
    display: none;
  }
}
/* ================= MOBILE PREMIUM TUNING ================= */

@media (max-width: 900px) {

  /* HERO compact */
  .dashboard-hero h2 {
    font-size: 20px;
    font-weight: 500;
  }

  .dashboard-hero p {
    font-size: 12px;
  }

  /* Make stats horizontal compact */
  .stats-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .stat-card {
    min-width: 150px;
    padding: 18px;
    border-radius: 16px;
  }

  .stat-card h3 {
    font-size: 20px;
    font-weight: 500;
  }

  .stat-card p {
    font-size: 11px;
  }

  /* Main course card compact */
  .main-card {
    padding: 20px;
    border-radius: 18px;
  }

  .main-card h4 {
    font-size: 14px;
  }

  .progress-bar {
    height: 4px;
  }

}
.stat-card,
.main-card {
  backdrop-filter: blur(8px);
}
@media (min-width: 1024px) {
  .stat-card:hover {
    transform: translateY(-4px) scale(1.02);
  }
}

/* ================= MOBILE BOTTOM NAV ================= */

.bottom-nav {
  display: none; /* hidden on desktop */
}

@media (max-width: 900px) {

  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #eceef3;
    box-shadow: 0 -8px 25px rgba(0,0,0,0.05);
    z-index: 1000;
  }

  .bottom-nav a {
    text-decoration: none;
    color: #888;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: 0.2s ease;
  }

  .bottom-nav a.active {
    color: #5b6df8;
  }

  .bottom-nav svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
  }

  .app-main {
    padding-bottom: 70px;
  }

}
/* ================= DAYS PAGE ================= */

.days-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Grid Layout */

.days-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
}

/* Day Card */

.day-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #eceef3;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.day-card.unlocked:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.day-card.locked {
  opacity: 0.6;
  background: #f8f9fc;
}

/* Title */

.day-title {
  font-size: 14px;
  font-weight: 500;
}

/* Status */

.day-status {
  font-size: 12px;
  color: #888;
}

/* Button */

.white-btn {
  margin-top: auto;
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 10px;
  border: 1px solid #5b6df8;
  background: #fff;
  color: #5b6df8;
  cursor: pointer;
  transition: 0.2s ease;
}

.white-btn:hover {
  background: #5b6df8;
  color: #fff;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .days-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .day-card {
    padding: 14px;
    border-radius: 14px;
  }

  .day-title {
    font-size: 13px;
  }

  .white-btn {
    font-size: 11px;
    padding: 6px 10px;
  }

}
/* Day with uploaded content */

.day-card {
  position: relative;
}

.day-card.has-content {
  border: 1px solid #5b6df8;
  background: linear-gradient(135deg, #ffffff, #f5f7ff);
  box-shadow:
    0 0 0 2px rgba(91,109,248,0.08),
    0 10px 25px rgba(91,109,248,0.18);
}

/* small indicator dot */

.day-card.has-content::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  background: #5b6df8;
  border-radius: 50%;
}
.day-card.has-content {
  border: 2px solid #d4af37;
  box-shadow: 0 0 10px rgba(212,175,55,0.6);
}
.day-card.has-content {
  border: 2px solid #d4af37;
  box-shadow: 0 0 12px rgba(212,175,55,0.6);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff; /* ya aapka gradient */
}
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

h2 {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.session-card h3 {
  font-weight: 600;
  font-size: 18px;
}

.session-card p {
  font-weight: 400;
  color: #555;
  margin: 6px 0;
}

.badge {
  font-weight: 500;
  font-size: 12px;
}
.session-card {
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.session-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.session-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.badge.blue {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

.badge.green {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}
.gold-btn {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: linear-gradient(45deg, #7f7d78, #f5f1ea);
  color: #1a1a1a;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
}

.gold-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(200,164,77,0.4);
}
/* Section Titles */
.page h2 {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}

/* Session Title */
.session-card h3 {
  font-weight: 600;
  font-size: 17px;
  margin: 0;
  color: #1f1f1f;
}

/* Normal Text */
.session-card p {
  font-weight: 400;
  font-size: 14px;
  color: #666;
  margin: 6px 0;
}

/* Status text */
.session-card .badge {
  font-weight: 500;
}
/* ===== Sessions Typography Hard Reset ===== */

.sessions-page,
.sessions-page * {
  font-weight: 400 !important;
}

.sessions-page h2 {
  font-weight: 500 !important;
}

.sessions-page h3 {
  font-weight: 500 !important;
}

.sessions-page .badge {
  font-weight: 500 !important;
}

.sessions-page .label {
  font-weight: 500 !important;
}
/* ===== Sessions Page Clean Typography ===== */

.sessions-page {
  font-family: "Inter", sans-serif;
}

.section-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 16px;
}

.session-card {
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.session-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.session-title {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 6px 0;
}

.session-date {
  font-size: 13px;
  font-weight: 400;
  color: #666;
  margin: 0;
}

.label {
  font-weight: 500;
  color: #444;
}

.badge {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge.blue {
  background: rgba(0,123,255,0.08);
  color: #007bff;
}

.badge.green {
  background: rgba(40,167,69,0.08);
  color: #28a745;
}

.gold-btn.small {
  padding: 6px 12px;
  font-size: 13px;
  margin-top: 12px;
}

.muted {
  font-size: 13px;
  color: #888;
}

.empty-card {
  font-weight: 400;
  color: #777;
}
.collection-header h2 {
  font-weight: 500;   /* was probably 700 */
  letter-spacing: 0.3px;
}
.collection-sub {
  font-weight: 400;
  opacity: 0.75;
}
.collection-filters button {
  font-weight: 400;
}

.collection-filters button.active {
  font-weight: 500;  /* active thoda stronger */
}
.collection-filters button {
  font-weight: 400;
}

.collection-filters button.active {
  font-weight: 500;  /* active thoda stronger */
}
.product-card h4 {
  font-weight: 500;
  letter-spacing: 0.2px;
}
.product-card h4 {
  font-weight: 500;
  letter-spacing: 0.2px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.collection-card {
  background: #1e1a16;
  border: 1px solid rgba(212,175,55,0.3);
  padding: 20px;
  border-radius: 12px;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.price {
  font-weight: bold;
  color: #d4af37;
}



rt-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.qty-controls button {
  margin: 0 5px;
}

.btn-gold {
  background: #d4af37;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}
/* ================= CARD CLEAN WHITE STYLE ================= */

.collection-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  color: #222;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: 0.2s ease;
  border: 1px solid #eee;
}

.collection-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Heading */
.collection-card h3 {
  color: #111;              /* Yellow removed */
  font-weight: 600;         /* Remove extra bold */
  margin-bottom: 10px;
  font-size: 18px;
}

/* Paragraph text */
.collection-card p {
  font-size: 14px;
  font-weight: 400;
  margin: 4px 0;
  color: #333;
}

/* Labels like Level, Focus */
.collection-card strong {
  font-weight: 500;          /* Reduce boldness */
  color: #0d47a1;            /* Blue highlight */
}

/* Includes list */
.includes-list {
  margin: 8px 0;
  padding-left: 18px;
}

.includes-list li {
  font-size: 13px;
  color: #444;
  margin-bottom: 3px;
}

/* Transformation line */
.transformation {
  margin-top: 6px;
  font-style: italic;
  color: #555;
}

/* Bottom section */
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}

/* Price */
.price {
  color: #000;          /* Yellow removed */
  font-weight: 600;
  font-size: 16px;
}

/* Button */
.add-btn {
  background: #ffffff;         /* White button */
  color: #0d47a1;              /* Blue text */
  border: 1px solid #0d47a1;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s ease;
}

.add-btn:hover {
  background: #0d47a1;
  color: #ffffff;
}
.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
}
/* ===== CART DRAWER ===== */


.cart-header {
  padding: 16px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-cart {
  cursor: pointer;
  font-size: 18px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-item {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.cart-item h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  border: 1px solid #0d47a1;
  background: #fff;
  color: #0d47a1;
  width: 24px;
  height: 24px;
  cursor: pointer;
  border-radius: 4px;
}

.cart-footer {
  padding: 16px;
  border-top: 1px solid #eee;
}

.checkout-btn {
  width: 100%;
  padding: 10px;
  background: #0d47a1;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.checkout-btn:hover {
  background: #08306b;
}
.collection-card h3 {
  cursor: pointer;
}
/* ===== CLICKABLE ELEMENTS CURSOR FIX ===== */

.filter,
.add-btn,
#cartIndicator,
.close-cart,
.checkout-btn {
  cursor: pointer;
}

/* Optional – pura card clickable banana ho */
.collection-card {
  transition: 0.2s ease;
}

.collection-card:hover {
  transform: translateY(-3px);
}

/* ================= CART DRAWER PREMIUM ================= */

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100vh;
  background: linear-gradient(180deg, #ffffff, #faf8f3);
  box-shadow: -6px 0 30px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  padding: 22px;
  overflow-y: auto;
}

.cart-drawer.open {
  transform: translateX(0);
}

/* HEADER */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.cart-header h3 {
  font-weight: 600;
  color: #1a1a1a;
}

#closeCart {
  cursor: pointer;
  font-size: 18px;
  opacity: 0.6;
}

#closeCart:hover {
  opacity: 1;
}

/* ITEMS */
.cart-item {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-left strong {
  font-size: 14px;
  color: #222;
}

.cart-item-left p {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

.cart-item-right {
  text-align: right;
}

.cart-item-total {
  font-weight: 600;
  color: #e2dfd5; /* gold accent */
  margin-bottom: 6px;
}

/* REMOVE BUTTON */
.remove-btn {
  background: rgba(198, 40, 40, 0.08);
  border: none;
  color: #c62828;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

.remove-btn:hover {
  background: rgba(198, 40, 40, 0.15);
}

/* FOOTER */
.cart-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.cart-footer span {
  font-weight: 600;
  color: #000000;
}

#cartTotal {
  color: #197502;
}

#checkoutBtn {
  margin-top: 14px;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(45deg, #c8a44d, #e6c06b);
  color: #1a1a1a;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

#checkoutBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200,164,77,0.4);



  /* THIS IS IMPORTANT */
  pointer-events: auto;
}

.cart-drawer.open {
  transform: translateX(0);
}
.topbar {
  height: 80px;
}

.app-main {
  margin-top: 80px;
}
.collection-header {
  position: relative;
  z-index: 2001;
}

body {
  overflow-x: hidden;
}
#app {
  overflow: visible !important;
}
/* ================= FILTER BAR PREMIUM ================= */

.collection-filters {
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 14px;
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}

/* Individual Filter */
.filter {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  background: #f4f6fb;
  color: #444;
  transition: 0.2s ease;
}

/* Hover */
.filter:hover {
  background: #e8ecff;
  color: #111;
}

/* Active */
.filter.active {
  background: linear-gradient(45deg, #c8a44d, #e6c06b);
  color: #1a1a1a;
  font-weight: 500;
}
/* ================= PREMIUM COURSE CARDS ================= */

.collection-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 24px;
  border: 1px solid #eceef3;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hover Effect */
.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: rgba(212,175,55,0.4);
}

/* Left Content */
.collection-card h3 {
  font-size: 16px;
  font-weight: 400;
  color: #3b3d3eac;
  margin: 0 0 6px 0;
}

.collection-card span {
  font-size: 14px;
  font-weight: 600;
  color: #042b50; /* gold accent */
}

/* Add Button */
.add-btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #0d47a1;
  background: #ffffff;
  color: #1258c1;
  cursor: pointer;
  transition: 0.25s ease;
}

.add-btn:hover {
  background: #0d47a1;
  color: #ffffff;
}
/* ================= READING PREMIUM ================= */

.reading-page {
  padding-bottom: 40px;
}

.reading-form {
  border-radius: 18px;
  padding: 28px;
  background: linear-gradient(145deg, #ffffff, #f5f2eb);
  box-shadow: 0 8px 25px rgba(3, 62, 98, 0.928);
  border: 1px solid #bcb8b1;
}

.section-title {
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c2c2c;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  font-size: 12px;
  margin-bottom: 6px;
  color: #013744;
}

.form-group input,
.form-group textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  background: #ffffff;
  font-size: 14px;
  transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.15);
}

.full-width {
  grid-column: 1 / -1;
}

/* ===== READING TYPE CARDS ===== */

.reading-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.reading-option {
  cursor: pointer;
}

.reading-option input {
  margin-right: 8px;
  accent-color: #d4af37;
}

.option-box {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #ececec;
  background: #ffffff;
  transition: 0.25s;
}

.option-box h4 {
  margin: 0 0 4px;
  font-size: 15px;
}

.option-box p {
  font-size: 12px;
  color: #000000;
  margin: 0;
}



/* ===== FEE SECTION ===== */

.total-fee {  
  font-weight: 600;
  font-size: 15px;
  background: #fff8e1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #f3e2b0;
}

/* ===== BUTTON ===== */

.white-btn {
  padding: 10px 12px;
  border-radius: 25px;
  border: none;
  background: linear-gradient(135deg, #9d9d9b, #e3e0d9);
  color: #000000c4;
  font-weight: 400;
  cursor: pointer;
  transition: 0.25s;
}

.white-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212,175,55,0.35);
}

/* ===== RECORD CARDS ===== */

.records-grid {
  display: grid;
  gap: 16px;
}

.reading-record {
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #eee;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  transition: 0.25s;
}

.reading-record:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(89, 91, 92, 0.859);
}

.record-title {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
}

.record-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.page-title {
  font-weight: 500;
  letter-spacing: 0.3px;
}
.reading-option input {
  width: 16px;
  height: 16px;
  accent-color: #d4af37;
}

.option-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #c0392b;
  cursor: pointer;
  font-size: 16px;
}

.remove-item-btn:hover {
  color: red;
}
.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-controls button {
  width: 26px;
  height: 26px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
}

.clear-cart-btn {
  margin-top: 15px;
  padding: 8px 12px;
  background: #c0392b;
  color: white;
  border: none;
  cursor: pointer;
}

.clear-cart-btn:hover {
  background: #e74c3c;
}
.cart-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

#closeCart{
  cursor:pointer;
  font-size:20px;
  font-weight:bold;
}
.cart-item{
  display:flex;
  justify-content:space-between;
  padding:10px 0;
  border-bottom:1px solid #eee;
}

#closeCart{
  cursor:pointer;
  font-size:20px;
}
.cart-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 0;
  border-bottom:1px solid #eee;
}

.cart-item button{
  background:none;
  border:none;
  font-size:16px;
  cursor:pointer;
  color:red;
}
.secure-content{
  user-select: none;
  pointer-events: auto;
}
.page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {

  .dashboard-wrapper {
    padding: 20px 16px 80px 16px;
  }

  .main-card {
    padding: 16px;
  }

}
* {
  box-sizing: border-box;
}
/* ===== MOBILE HARD FIX ===== */

@media (max-width: 768px) {

  .dashboard-wrapper{
    padding: 16px !important;
    max-width:100% !important;
  }

  .main-card{
    width:100% !important;
    padding:16px !important;
  }

 .topbar{
position:fixed;
top:0;
left:0;
width:100%;
height:70px;
display:flex;
align-items:center;
justify-content:space-between;
background:#fff;
z-index:1000;
}

}
.app-main {
  margin-top: 80px;
}
@media (max-width: 768px){

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

  .collection-card{
    width:100%;
  }

}
@media (max-width:768px){

  body{
    overflow-x:hidden;
  }

  .dashboard-wrapper{
    padding:16px;
  }

}
#app,
.app-main,
.page {
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
}
.page{
overflow-y:auto;
}
.app-main{
  margin-top:70px;
  padding:16px;
}
.bottom-nav{
position:fixed;
bottom:0;
left:0;
width:100%;
background:#fff;
display:flex;
justify-content:space-around;
align-items:center;
border-top:1px solid #eee;
padding:8px 0;
z-index:999;
}

.nav-item{
display:flex;
flex-direction:column;
align-items:center;
text-decoration:none;
color:#6b7c86;
font-size:12px;
}

.icon{
width:22px;
height:22px;
margin-bottom:3px;
display:block;
}

.nav-item span{
font-size:11px;
}

.nav-item.active{
color:#0a7c86;
}

.icon{
width:22px;
height:22px;
margin-bottom:3px;
}

.nav-item.active{
color:#0a7c86;
}
@media(max-width:768px){

.icon{
width:24px;
height:24px;
}

.nav-item span{
font-size:10px;
}

}
.profile-avatar{
width:36px;
height:36px;
border-radius:50%;
border:2px solid #d4af37;   /* golden border */
padding:2px;
background:white;
}
.notification-icon{
cursor:pointer;
}
.header-notification{
cursor:pointer;
}
.cart-remove{
border:none;
background:none;
font-size:18px;
cursor:pointer;
color:#999;
}

.cart-remove:hover{
color:#e53935;
}
.cart-item{
display:flex;
justify-content:space-between;
align-items:center;
padding:10px 0;
border-bottom:1px solid #eee;
}
/* ===== PDF VIEW FIX ===== */

.resource-block{
width:100%;
margin-top:10px;
}

.resource-pdf{
width:100%;
height:calc(100vh - 160px);
border:none;
display:block;
}

@media(max-width:768px){
.resource-pdf{
height:calc(100vh - 180px);
}
}

/* ===== GLOBAL ===== */

html,body{
width:100%;
max-width:100%;
overflow-x:hidden;
}

/* ===== APP ROOT ===== */

#app{
width:100%;
}

/* ===== MAIN AREA ===== */

.app-main{
margin-top:70px;
padding:16px;
min-height:100vh;
}

/* ===== PAGE WRAPPER ===== */

.page{
width:100%;
max-width:1200px;
margin:auto;
}

/* ===== MOBILE FIX ===== */

@media(max-width:768px){

.page{
padding:0 10px;
}

}
/* ===== MOBILE SCROLL FIX (SAFE PATCH) ===== */

html,body{
overflow-x:hidden;
}

#app{
overflow:visible !important;
}

.app-main{
min-height:100vh;
overflow-y:auto;
}

.page{
height:auto !important;
min-height:auto !important;
overflow:visible !important;
}

/* ===== PDF VIEW MOBILE FIX ===== */

.resource-pdf{
width:100%;
height:calc(100vh - 160px);
border:none;
display:block;
}

@media(max-width:768px){

.resource-pdf{
height:calc(100vh - 180px);
}

}
.bottom-nav{
position:fixed;
bottom:0;
left:0;
width:100%;
height:60px;
background:#fff;
display:flex;
justify-content:space-around;
align-items:center;
box-shadow:0 -3px 10px rgba(0,0,0,0.1);
z-index:999;
}

.bottom-nav a{
text-decoration:none;
color:#8a6d3b;
font-size:14px;
font-weight:500;
}
.page{
animation:fadePage .25s ease;
}

@keyframes fadePage{

from{
opacity:0;
transform:translateY(10px);
}

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

}