/* ==========================================
   LMS DESIGN SYSTEM
   ========================================== */

:root {
  /* COLORS */
  --primary: #357abd;
  --bs-primary: #357abd;
  --secondary: #8B5CF6;
  --accent: #06B6D4;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --bg: #F5F7FC;
  --surface: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --border: #E8EDF5;

  /* RADIUS */
  --radius-xs: 4px;
  --radius-sm: 5px;
  --radius-md: 6px;
  --radius-lg: 7px;
  --radius-xl: 8px;

  /* SHADOWS */
  --shadow-sm: 0 2px 8px rgba(15,23,42,.04);
  --shadow-md: 0 4px 20px rgba(15,23,42,.06);
  --shadow-lg: 0 10px 30px rgba(15,23,42,.08);

  /* Layout */
  --sidebar-width: 260px;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}

.fw-bold, .fw-bolder, .fw-black {
  font-weight: 500 !important;
}

.page-container {
  padding: 24px;
}

/* ==========================================
   HERO BANNER
   ========================================== */
.hero-banner {
  background: linear-gradient(135deg, #357abd, #7C3AED);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  right: -200px;
  top: -200px;
}
.hero-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-subtitle {
  opacity: .9;
  font-size: 15px;
}

/* ==========================================
   CARD
   ========================================== */
.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.card-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}

/* ==========================================
   DASHBOARD STATS CARD
   ========================================== */
.stats-card {
  color: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 120px;
  transition: .3s ease;
}
.stats-card:hover {
  transform: translateY(-4px);
}
.stats-card h2 {
  font-size: 32px;
  margin: 10px 0;
}
.stats-card.clients { background: linear-gradient(135deg, #357abd, #357abd); }
.stats-card.participants { background: linear-gradient(135deg, #7C3AED, #A855F7); }
.stats-card.coaches { background: linear-gradient(135deg, #F59E0B, #FB923C); }
.stats-card.programs { background: linear-gradient(135deg, #10B981, #14B8A6); }
.stats-card.courses { background: linear-gradient(135deg, #06B6D4, #357abd); }

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  border: none;
  color: white;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: linear-gradient(135deg, #357abd, #8B5CF6);
}
.btn-secondary {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 500;
}
.btn-secondary:hover {
  background: #F8FAFF;
}

/* ==========================================
   PROFILE AVATAR DROPDOWN
   ========================================== */
.profile-avatar:focus,
.profile-avatar.show,
[data-bs-toggle="dropdown"]:focus {
  outline: none !important;
  box-shadow: none !important;
}

.dropdown-item:active,
.dropdown-item.active {
  background-color: var(--primary) !important;
  color: white !important;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #f1f5f9;
  color: var(--primary);
}

/* ==========================================
   USER SIDE CUSTOM BUTTONS
   ========================================== */
.btn-soft-primary {
  background-color: #eff6ff;
  color: var(--primary);
  border: none;
  transition: all 0.2s ease;
}
.btn-soft-primary:hover {
  background-color: #dbeafe;
  transform: translateY(-2px);
}

.btn-soft-secondary {
  background-color: #f1f5f9;
  color: #475569;
  border: none;
  transition: all 0.2s ease;
}
.btn-soft-secondary:hover {
  background-color: #e2e8f0;
  transform: translateY(-2px);
}

/* ==========================================
   INPUTS
   ========================================== */
.form-control {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0 16px;
  box-sizing: border-box;
  background: white;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
textarea.form-control {
  height: 150px;
  padding-top: 12px;
}

/* ==========================================
   USER BREADCRUMBS
   ========================================== */
.user-breadcrumb-card {
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(15,23,42,.02);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  padding: 12px 20px;
}

.user-breadcrumb {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.user-breadcrumb::-webkit-scrollbar {
  display: none;
}

.user-breadcrumb a {
  text-decoration: none;
  color: #64748B;
  font-size: 13px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: color 0.2s;
}
.user-breadcrumb a:hover {
  color: var(--primary);
}
.user-breadcrumb a i {
  margin-right: 6px;
  font-size: 14px;
}

.user-breadcrumb .separator {
  color: var(--primary);
  font-size: 11px;
  margin: 0 12px;
}

.user-breadcrumb .active-crumb {
  color: var(--primary);
  font-size: 13px;
  flex-shrink: 0;
}

/* ==========================================
   STAGE IMAGE
   ========================================== */
.stage-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 10px 25px rgba(79,70,229,.15);
}

/* ==========================================
   UPLOAD AREA
   ========================================== */
.upload-box {
  border: 2px dashed #C7D2FE;
  background: #F8FAFF;
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
}
.upload-box:hover {
  border-color: var(--primary);
}

/* ==========================================
   STAGE CARD
   ========================================== */
.stage-card {
  background: white;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  transition: .3s ease;
}
.stage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(79,70,229,.10);
}
.stage-card.active {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #FFFFFF, #F8FAFF);
}

/* ==========================================
   LEADERBOARD
   ========================================== */
.leaderboard-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--border);
}
.rank-1 { background: linear-gradient(135deg, #FEF3C7, #FFFFFF); }
.rank-2 { background: linear-gradient(135deg, #F1F5F9, #FFFFFF); }
.rank-3 { background: linear-gradient(135deg, #FED7AA, #FFFFFF); }

/* ==========================================
   TABLES
   ========================================== */
.lms-table {
  width: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border) !important;
  margin-bottom: 0 !important;
}
.lms-table thead {
  background: #F8FAFF;
}
.lms-table th {
  text-align: left;
  padding: 10px 24px !important;
  font-weight: 600;
  color: #6c757d !important;
  white-space: nowrap;
  font-size: 14px !important;
  letter-spacing: 0.5px;
  text-transform: capitalize !important;
  border-bottom: none !important;
}
.lms-table td {
  padding: 12px 24px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  white-space: nowrap;
  font-size: 14px !important;
  font-weight: 400 !important;
  vertical-align: middle !important;
}
.lms-table td, .lms-table td * {
  font-weight: 400 !important;
}

/* ==========================================
   SEARCH BAR
   ========================================== */
.lms-search-pill {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px !important;
  height: 38px !important;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  width: 100%;
  max-width: 400px;
}
.lms-search-pill input {
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-size: 13px;
  color: #495057;
}
.lms-search-pill i {
  color: #6c757d;
  margin-right: 8px;
}

table td, .table td, .modern-table td {
  font-size: 14px !important;
  font-weight: 400 !important;
}
table th, .table th, .modern-table th {
  font-size: 14px !important;
  letter-spacing: 0.5px;
  text-transform: capitalize !important;
}

.modern-table {
  width: 100%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.modern-table thead {
  background: #F8FAFF;
}
.modern-table th {
  text-align: left;
  padding: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.modern-table td {
  padding: 18px;
  border-top: 1px solid #F1F5F9;
  white-space: nowrap;
}

/* ==========================================
   STATUS BADGES
   ========================================== */
.badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.badge-success { background: #ECFDF5; color: #059669; }
.badge-warning { background: #FFFBEB; color: #D97706; }
.badge-danger { background: #FEF2F2; color: #DC2626; }

/* ==========================================
   MODERN PAGINATION
   ========================================== */
.modern-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: inherit;
}

.modern-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: white;
  border: 1px solid #E8EDF5;
  color: #64748B;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(15,23,42,.02);
}

.modern-page-btn:hover:not(:disabled):not(.active) {
  background: #F8FAFF;
  color: #357abd;
  border-color: #C7D2FE;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79,70,229,0.1);
}

.modern-page-btn.active {
  background: #357abd;
  color: white;
  border: none;
  box-shadow: 0 6px 16px rgba(107, 123, 212, 0.4);
  transform: translateY(-2px);
}

.modern-page-btn:disabled {
  background: #F1F5F9;
  color: #94A3B8;
  border: 1px solid #E2E8F0;
  cursor: not-allowed;
  box-shadow: none;
}

.modern-page-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  color: #64748B;
  font-weight: 500;
  font-size: 14px;
}

.modern-page-select {
  height: 36px;
  padding: 0 32px 0 16px;
  border-radius: 8px;
  border: 1px solid #E8EDF5;
  background-color: white;
  color: #4b5563;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(15,23,42,.02);
}
.modern-page-select:hover {
  border-color: #7c3aed;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
}

/* Auth Page Split Screen (Preserved) */
.auth-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--bg);
}
.auth-left {
    flex: 1;
    background: #e2f1ff; /* Light blue */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10%;
    position: relative;
    overflow: hidden;
}
.auth-left::before, .auth-left::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}
.auth-left::before {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -150px;
}
.auth-left::after {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
}
.auth-right {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}
.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 480px;
    padding: 48px;
    border-top: 4px solid var(--primary);
}

/* Sidebar & Layout */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

/* Thin Scrollbar for Sidebar */
.sidebar::-webkit-scrollbar {
    width: 4px;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}
.sidebar-logo {
    padding: 30px 24px 10px 24px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}
.sidebar-logo .dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}
.nav-link {
    color: var(--text-muted);
    padding: 14px 24px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 4px 16px;
    border-radius: 8px;
}
.nav-link i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}
.nav-link:hover {
    color: var(--primary);
    background: #f1f5f9;
}
.nav-link.active {
    background: #357abd; /* Purplish Blue background */
    color: white; /* White text */
    box-shadow: 0 4px 10px rgba(107, 123, 212, 0.3);
}
.sidebar-profile {
    margin-top: auto;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    margin: 20px;
    border-radius: 12px;
}
.profile-avatar {
    width: 40px;
    height: 40px;
    background: #e0e7ff;
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.main-content {
    margin-left: var(--sidebar-width);
    padding: 0 16px 30px 16px;
    min-height: 100vh;
    min-width: 0;
}
.top-header {
    display: flex;
    justify-content: flex-end; /* Align right since we remove the left title */
    align-items: center;
    background: white;
    padding: 20px 16px;
    margin: 0 -16px 20px -16px;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 99;
}
.search-bar {
    width: 350px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}
.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    margin-left: 10px;
}

/* Progress */
.pb-progress { 
    height: 6px; 
    border-radius: 3px; 
    background: #e2e8f0; 
    overflow: visible;
}
.pb-progress-bar {
    border-radius: 3px;
    background: var(--primary);
    height: 100%;
}
.pb-progress-cyan .pb-progress-bar { background: var(--info); }
.pb-progress-purple .pb-progress-bar { background: var(--purple); }

/* Badges */
.badge-soft-success { background: #d1fae5; color: #059669; }
.badge-soft-primary { background: #dbeafe; color: #357abd; }
.badge-soft-warning { background: #fef3c7; color: #d97706; }
.badge-soft-danger { background: #fee2e2; color: #dc2626; }
.badge-soft-purple { background: #ede9fe; color: #7c3aed; }

/* Dashboard Banner */
.dash-banner {
    background: var(--primary-gradient);
    border-radius: 16px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dash-banner-bg-circles {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 400px;
    pointer-events: none;
}
.circle-1, .circle-2, .circle-3 {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.circle-1 { right: -50px; width: 300px; height: 300px; }
.circle-2 { right: 25px; width: 150px; height: 150px; }
.circle-3 { right: 60px; width: 80px; height: 80px; }

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Toggle Switch */
.form-switch .form-check-input {
    width: 2.5em;
    height: 1.25em;
}
.form-switch .form-check-input:checked {
    background-color: var(--success);
    border-color: var(--success);
}

.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}
.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
}
.chat-drawer {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    flex-direction: column;
    overflow: hidden;
}
.chat-drawer.open {
    display: flex;
}

/* Modern Admin Dashboard Additions */
.search-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    width: 300px;
}
.search-pill input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    margin-left: 10px;
    color: var(--text-main);
}
.search-pill input::placeholder {
    color: #94a3b8;
}

.stat-card-modern {
    border-radius: 12px;
    padding: 12px;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.stat-card-modern .stat-icon-wrapper {
    background: rgba(255,255,255,0.25);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.bg-gradient-blue { background: linear-gradient(135deg, #357abd 0%, #60a5fa 100%); }
.bg-gradient-purple { background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%); }
.bg-gradient-orange { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); }
.bg-gradient-green { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.bg-gradient-cyan { background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%); }

.sidebar-pro-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    margin: 20px 16px;
    text-align: center;
    position: relative;
}
.sidebar-pro-card .rocket-bg {
    background: #ede9fe;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px auto 10px auto;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ==========================================
   MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 767.98px) {

    /* ── Hide sidebar entirely on mobile (bottom nav replaces it) ── */
    .sidebar {
        display: none !important;
    }

    /* ── Main content: full width, no left margin, extra bottom padding for bottom nav ── */
    .main-content {
        margin-left: 0 !important;
        padding: 0 16px 90px 16px !important;
        width: 100%;
        overflow-x: hidden;
    }

    /* ── Top header: stretch full width, right-align items ── */
    .top-header {
        margin: 0 -16px 10px -16px !important;
        padding: 12px 16px !important;
        justify-content: flex-end !important;
    }

    .coach-banner svg.deco {
        display: none;
    }
    .stat-pill {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 12px;
    }

    /* Global Bootstrap Spacing Reductions for Mobile */
    .p-4 { padding: 1rem !important; }
    .p-5 { padding: 1.25rem !important; }
    .px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
    .px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
    .py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }

    /* Global Bootstrap Button Reductions for Mobile */
    .btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.875rem !important;
    }
    .btn-lg {
        padding: 0.5rem 1rem !important;
        font-size: 0.95rem !important;
    }

    /* Auto-stack Flex Containers used as Headers */
    .card > .d-flex.justify-content-between,
    .d-flex.justify-content-between.border-bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
}

/* ==========================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================== */
.mobile-bottom-nav {
    display: none; /* hidden by default; shown via d-md-none on ≤768px */
}

@media (max-width: 767.98px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        background: #ffffff;
        border-top: 1px solid #e8edf5;
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.07);
        /* Safe area for phones with home indicator */
        padding-bottom: env(safe-area-inset-bottom, 0px);
        height: calc(64px + env(safe-area-inset-bottom, 0px));
        align-items: stretch;
        justify-content: space-around;
    }

    /* Each nav tab item */
    .mobile-bottom-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        gap: 3px;
        padding: 8px 4px 6px;
        text-decoration: none;
        color: #94a3b8;
        font-size: 10px;
        font-weight: 500;
        font-family: 'Montserrat', sans-serif;
        letter-spacing: 0.2px;
        transition: color 0.2s ease, transform 0.15s ease;
        border-top: 2.5px solid transparent;
        position: relative;
    }

    /* Icon inside tab */
    .mobile-bottom-nav__item i {
        font-size: 22px;
        line-height: 1;
        transition: color 0.2s ease, transform 0.15s ease;
    }

    /* Label inside tab */
    .mobile-bottom-nav__item span {
        line-height: 1;
        white-space: nowrap;
    }

    /* Hover state */
    .mobile-bottom-nav__item:hover {
        color: #357abd;
    }
    .mobile-bottom-nav__item:hover i {
        transform: translateY(-2px);
    }

    /* Active / current page state — bold blue, matches design */
    .mobile-bottom-nav__item.active {
        color: #357abd;
        border-top-color: #357abd;
    }
    .mobile-bottom-nav__item.active i {
        color: #357abd;
    }
    .mobile-bottom-nav__item.active span {
        font-weight: 700;
        color: #357abd;
    }
}
.table-responsive table th,
.table-responsive table td {
    white-space: nowrap;
}

/* ==========================================
   BREADCRUMBS DESIGN SYSTEM
   ========================================== */
.breadcrumb-container a {
    color: #64748b !important; /* blue-gray / slate */
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb-container a:hover {
    color: var(--primary) !important; /* active brand blue */
}
.breadcrumb-container .active-crumb {
    color: var(--primary) !important; /* active brand blue */
    font-weight: 500 !important;
}

/* ==========================================
   USER SIDE BREADCRUMB
   ========================================== */
.user-breadcrumb-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
  padding: 16px;
  margin-bottom: 24px;
}
.user-breadcrumb-container {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 13px;
  overflow: auto;
}
.user-breadcrumb-container a {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #0F172A;
  transition: color 0.2s;
}
.user-breadcrumb-container a:hover {
  color: #357abd;
}
.user-breadcrumb-container .bi-chevron-right {
  margin: 0 12px;
  font-size: 11px;
  color: #357abd;
  font-weight: bold;
}
.user-breadcrumb-container .active-crumb {
  color: #64748B;
}

/* --- GLOBAL LMS BUTTON STYLES --- */
.btn-lms-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}
.btn-lms-primary:hover {
    opacity: 0.9 !important;
    color: #fff !important;
}
.btn-lms-secondary {
    background-color: transparent !important;
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    border-radius: 4px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}
.btn-lms-secondary:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
}
.btn-lms-cancel {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    color: #495057 !important;
    border-radius: 4px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}
.btn-lms-cancel:hover {
    background-color: #e2e6ea !important;
    color: #212529 !important;
}


/* --- ACTION BUTTON STYLES --- */
.btn-lms-action {
    background-color: transparent !important;
    border: 1px solid #dee2e6 !important;
    color: inherit;
    border-radius: 4px !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    box-shadow: none !important;
}
.btn-lms-action:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* GLOBAL CARD RADIUS OVERRIDE */
.card, .stat-card, .stat-card-modern, .stage-card, .leaderboard-card, .user-breadcrumb-card, .modern-table, .auth-card {
    border-radius: 7px !important;
}
.rounded-4, .rounded-3, .rounded-2, .rounded-5 {
    border-radius: 7px !important;
}


/* Remove shadows from all cards globally */
.card, .shadow, .shadow-sm, .shadow-lg {
  box-shadow: none !important;
}
