 /* 
       ROOT VARIABLES
    */
    :root {
      --primary:       #4CAF50;
      --primary-dark:  #388E3C;
      --primary-light: #E8F5E9;
      --red:           #C8102E;
      --orange:        #FF9800;
      --blue:          #1565C0;
      --blue-light:    #E3F2FD;
      --gold:          #F5A623;
      --sidebar-w:     240px;
      --header-h:      56px;
      --sidebar-bg:    #fff;
      --body-bg:       #F5F6FA;
      --border:        #E8EAED;
      --text:          #2D3748;
      --text-muted:    #718096;
      --card-radius:   10px;
      --font:          'Nunito', sans-serif;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: var(--font);
      background: var(--body-bg);
      color: var(--text);
      overflow-x: hidden;
    }

    /* 
       HEADER
   */
    .top-header {
      position: fixed; top: 0; left: 0; right: 0;
      height: var(--header-h);
      background: #fff;
      border-bottom: 1px solid var(--border);
      display: flex; align-items: center;
      padding: 0 16px;
      z-index: 1050;
      gap: 12px;
      box-shadow: 0 1px 6px rgba(0,0,0,.06);
    }
    .header-brand {
      display: flex; align-items: center; gap: 0;
      text-decoration: none;
      flex-shrink: 0;
    }
    .brand-logo {
      background: linear-gradient(135deg, #FF8F00, #FFC107);
      border-radius: 6px;
      padding: 5px 10px;
      display: flex; align-items: center; gap: 6px;
    }
    .brand-logo i { font-size: 18px; color: #fff; }
    .brand-logo span {
      font-family: 'Poppins', sans-serif;
      font-size: 11px; font-weight: 800;
      color: #fff; letter-spacing: .5px;
      text-transform: uppercase;
    }
    .sidebar-toggle {
      background: none; border: none;
      font-size: 18px; color: var(--text-muted);
      cursor: pointer; padding: 4px 8px;
      border-radius: 6px;
      transition: background .2s;
    }
    .sidebar-toggle:hover { background: var(--body-bg); }
    .header-school-name {
      font-family: 'Poppins', sans-serif;
      font-size: 15px; font-weight: 600;
      color: var(--text);
      flex: 1;
    }
    .header-actions {
      display: flex; align-items: center; gap: 6px;
      flex-shrink: 0;
    }
    .header-flag {
      width: 26px; height: 18px;
      border-radius: 3px; overflow: hidden;
      border: 1px solid var(--border);
      cursor: pointer;
    }
    .header-flag img { width: 100%; height: 100%; object-fit: cover; }
    .header-currency {
      font-size: 12px; font-weight: 700;
      color: var(--text-muted); cursor: pointer;
    }
    .header-icon-btn {
      position: relative;
      width: 34px; height: 34px;
      border-radius: 8px;
      background: none; border: none;
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; color: var(--text-muted);
      cursor: pointer; transition: background .2s;
    }
    .header-icon-btn:hover { background: var(--body-bg); }
    .header-icon-btn .badge-dot {
      position: absolute; top: 4px; right: 4px;
      width: 16px; height: 16px;
      background: var(--red); color: #fff;
      border-radius: 50%; font-size: 9px; font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      border: 2px solid #fff;
    }
    /* User avatar dropdown */
    .header-user {
      position: relative;
    }
    .user-avatar {
      width: 34px; height: 34px;
      border-radius: 50%;
      object-fit: cover;
      cursor: pointer;
      border: 2px solid var(--primary);
    }
    .user-dropdown {
      position: absolute; top: calc(100% + 8px); right: 0;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      box-shadow: 0 8px 28px rgba(0,0,0,.12);
      padding: 12px;
      min-width: 200px;
      display: none; z-index: 2000;
    }
    .user-dropdown.show { display: block; }
    .ud-profile {
      display: flex; align-items: center; gap: 10px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 10px;
    }
    .ud-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
    .ud-name { font-size: 14px; font-weight: 700; color: var(--text); }
    .ud-role { font-size: 11px; color: var(--text-muted); }
    .ud-link {
      display: flex; align-items: center; gap: 8px;
      padding: 7px 8px; border-radius: 8px;
      font-size: 13px; color: var(--text);
      text-decoration: none; cursor: pointer;
      transition: background .15s;
    }
    .ud-link:hover { background: var(--body-bg); color: var(--text); }
    .ud-link i { width: 16px; text-align: center; font-size: 13px; color: var(--text-muted); }
    .ud-link.logout { color: var(--red); }
    .ud-link.logout i { color: var(--red); }

    /* 
       SIDEBAR
    */
    .sidebar {
      position: fixed; top: var(--header-h); left: 0; bottom: 0;
      width: var(--sidebar-w);
      background: var(--sidebar-bg);
      border-right: 1px solid var(--border);
      overflow-y: auto; overflow-x: hidden;
      z-index: 1040;
      transition: transform .3s ease, width .3s ease;
    }
    .sidebar::-webkit-scrollbar { width: 4px; }
    .sidebar::-webkit-scrollbar-track { background: transparent; }
    .sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
    .sidebar.collapsed { transform: translateX(-100%); }

    .session-badge {
      padding: 10px 16px;
      font-size: 12px; font-weight: 600;
      color: var(--text-muted);
      background: var(--body-bg);
      border-bottom: 1px solid var(--border);
    }

    .nav-section { padding: 6px 0; }
    .nav-item-wrap { position: relative; }

    .nav-link-item {
      display: flex; align-items: center;
      padding: 9px 16px;
      gap: 11px;
      font-size: 13.5px; font-weight: 600;
      color: var(--text);
      text-decoration: none;
      cursor: pointer;
      transition: background .15s, color .15s;
      position: relative;
      border: none; background: none; width: 100%; text-align: left;
    }
    .nav-link-item i.nav-icon {
      width: 18px; text-align: center;
      font-size: 14px; color: var(--text-muted);
      flex-shrink: 0;
      transition: color .15s;
    }
    .nav-link-item:hover {
      background: var(--primary-light);
      color: var(--primary-dark);
    }
    .nav-link-item:hover i.nav-icon { color: var(--primary); }
    .nav-link-item.active {
      background: var(--primary-light);
      color: var(--primary-dark);
    }
    .nav-link-item.active i.nav-icon { color: var(--primary); }
    .nav-link-item.active::before {
      content: '';
      position: absolute; left: 0; top: 4px; bottom: 4px;
      width: 3px; background: var(--primary);
      border-radius: 0 3px 3px 0;
    }
    .nav-badge {
      margin-left: auto;
      background: var(--red); color: #fff;
      font-size: 10px; font-weight: 700;
      padding: 1px 6px; border-radius: 10px;
      flex-shrink: 0;
    }
    .nav-arrow {
      margin-left: auto;
      font-size: 10px; color: var(--text-muted);
      transition: transform .25s;
      flex-shrink: 0;
    }
    .nav-link-item.open .nav-arrow { transform: rotate(180deg); }
    .nav-sub {
      display: none;
      background: #FAFBFC;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .nav-sub.open { display: block; }
    .nav-sub-link {
      display: block;
      padding: 8px 16px 8px 46px;
      font-size: 13px; color: var(--text-muted);
      text-decoration: none;
      transition: color .15s, background .15s;
    }
    .nav-sub-link:hover { color: var(--primary); background: var(--primary-light); }

    /*
       MAIN CONTENT
   */
    .main-content {
      margin-left: var(--sidebar-w);
      margin-top: var(--header-h);
      padding: 20px;
      min-height: calc(100vh - var(--header-h));
      transition: margin-left .3s ease;
    }
    .main-content.expanded { margin-left: 0; }

    /* 
       WELCOME CARD
     */
    .welcome-card {
      background: #fff;
      border-radius: var(--card-radius);
      border: 1px solid var(--border);
      padding: 20px;
      display: flex; align-items: flex-start; gap: 18px;
      box-shadow: 0 1px 4px rgba(0,0,0,.05);
    }
    .welcome-photo {
      width: 90px; height: 100px;
      object-fit: cover;
      border-radius: 8px;
      border: 2px solid var(--border);
      flex-shrink: 0;
    }
    .welcome-info h5 {
      font-size: 16px; font-weight: 800;
      color: var(--text); margin-bottom: 6px;
    }
    .attendance-alert {
      font-size: 12.5px; color: var(--red);
      margin-bottom: 12px; line-height: 1.5;
    }
    .welcome-codes { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
    .qr-box {
      width: 56px; height: 56px;
      background: #f0f0f0;
      border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      font-size: 8px; color: var(--text-muted); text-align: center;
      padding: 4px;
    }
    .barcode-box {
      display: flex; flex-direction: column; align-items: center; gap: 4px;
    }
    .barcode-img {
      height: 36px; width: 100px;
      background: repeating-linear-gradient(90deg, #000 0px, #000 2px, #fff 2px, #fff 4px, #000 4px, #000 5px, #fff 5px, #fff 8px);
      border-radius: 2px;
    }
    .barcode-num { font-size: 11px; font-weight: 700; color: var(--text); }

    /*
       NOTICE BOARD
   */
    .notice-card {
      background: #fff;
      border-radius: var(--card-radius);
      border: 1px solid var(--border);
      padding: 18px 20px;
      height: 100%;
      box-shadow: 0 1px 4px rgba(0,0,0,.05);
    }
    .card-title-sm {
      font-size: 15px; font-weight: 800;
      color: var(--text); margin-bottom: 14px;
    }
    .notice-item {
      display: flex; align-items: flex-start; gap: 10px;
      padding: 8px 0;
      border-bottom: 1px solid #F4F4F4;
    }
    .notice-item:last-child { border-bottom: none; padding-bottom: 0; }
    .notice-icon { font-size: 14px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
    .notice-text { font-size: 12.5px; color: var(--text); line-height: 1.4; flex: 1; }
    .notice-date {
      font-size: 11px; color: var(--text-muted);
      display: flex; align-items: center; gap: 3px;
      white-space: nowrap; flex-shrink: 0;
    }

    /* 
       SUBJECT PROGRESS
   */
    .progress-card {
      background: #fff;
      border-radius: var(--card-radius);
      border: 1px solid var(--border);
      padding: 18px 20px;
      height: 100%;
      box-shadow: 0 1px 4px rgba(0,0,0,.05);
    }
    .subject-table { width: 100%; font-size: 13px; }
    .subject-table th {
      font-size: 12px; font-weight: 800;
      color: var(--text); padding: 0 0 10px;
      border-bottom: 2px solid var(--border);
    }
    .subject-table td { padding: 9px 0; border-bottom: 1px solid #F4F4F4; vertical-align: middle; }
    .subject-table tr:last-child td { border-bottom: none; }
    .subject-name { font-size: 13px; font-weight: 600; color: var(--text); }
    .progress-pct { font-size: 13px; font-weight: 700; color: var(--text); min-width: 38px; }
    .progress-bar-wrap { flex: 1; }
    .progress-thin {
      height: 6px; background: #EEEEEE; border-radius: 3px; overflow: hidden;
    }
    .progress-fill { height: 100%; border-radius: 3px; background: var(--primary); }
    .progress-fill.low { background: var(--orange); }
    .progress-fill.critical { background: var(--red); }

    /* 
       UPCOMING CLASS
   */
    .upcoming-card {
      background: #fff;
      border-radius: var(--card-radius);
      border: 1px solid var(--border);
      padding: 18px 20px;
      height: 100%;
      box-shadow: 0 1px 4px rgba(0,0,0,.05);
    }
    .class-item {
      display: flex; align-items: center; gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid #F4F4F4;
    }
    .class-item:last-child { border-bottom: none; padding-bottom: 0; }
    .class-avatar {
      width: 40px; height: 40px; border-radius: 50%;
      object-fit: cover; flex-shrink: 0;
      background: #E0E0E0;
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; color: #9E9E9E;
    }
    .class-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
    .class-info { flex: 1; min-width: 0; }
    .class-teacher { font-size: 13px; font-weight: 700; color: var(--text); }
    .class-subject { font-size: 11.5px; color: var(--text-muted); }
    .class-time-wrap { text-align: right; flex-shrink: 0; }
    .class-room { font-size: 12px; font-weight: 700; color: var(--text); }
    .class-time { font-size: 11px; color: var(--text-muted); }

    /* 
       HOMEWORK
    */
    .homework-card {
      background: #fff;
      border-radius: var(--card-radius);
      border: 1px solid var(--border);
      padding: 18px 20px;
      height: 100%;
      box-shadow: 0 1px 4px rgba(0,0,0,.05);
    }
    .hw-subject { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
    .hw-meta { font-size: 12px; color: var(--text); line-height: 1.6; }
    .badge-submitted {
      display: inline-block;
      background: var(--orange); color: #fff;
      font-size: 10.5px; font-weight: 700;
      padding: 2px 8px; border-radius: 4px;
    }
    .badge-pending {
      display: inline-block;
      background: var(--red); color: #fff;
      font-size: 10.5px; font-weight: 700;
      padding: 2px 8px; border-radius: 4px;
    }

    /* 
       TEACHER LIST
     */
    .teacher-item {
      display: flex; align-items: center; gap: 10px;
      padding: 9px 0;
      border-bottom: 1px solid #F4F4F4;
    }
    .teacher-item:last-child { border-bottom: none; }
    .teacher-avatar {
      width: 36px; height: 36px; border-radius: 50%;
      background: #E0E0E0;
      display: flex; align-items: center; justify-content: center;
      font-size: 14px; color: #9E9E9E; flex-shrink: 0;
      overflow: hidden;
    }
    .teacher-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .teacher-name { font-size: 13px; font-weight: 700; color: var(--text); }
    .teacher-id { font-size: 11.5px; color: var(--text-muted); }
    .badge-class-teacher {
      display: inline-block;
      background: var(--primary); color: #fff;
      font-size: 9.5px; font-weight: 700;
      padding: 1px 6px; border-radius: 3px;
    }

    /* 
       VISITOR LIST
     */
    .visitor-item {
      padding: 10px 0;
      border-bottom: 1px solid #F4F4F4;
    }
    .visitor-item:last-child { border-bottom: none; }
    .visitor-name { font-size: 13px; font-weight: 700; color: var(--text); }
    .visitor-purpose { font-size: 12px; color: var(--text-muted); }
    .visitor-date { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

    /*
       LIBRARY TABLE
   */
    .library-card {
      background: #fff;
      border-radius: var(--card-radius);
      border: 1px solid var(--border);
      padding: 18px 20px;
      height: 100%;
      box-shadow: 0 1px 4px rgba(0,0,0,.05);
      overflow-x: auto;
    }
    .lib-table { width: 100%; font-size: 12.5px; }
    .lib-table th {
      font-size: 11.5px; font-weight: 800; color: var(--text);
      padding: 0 8px 10px 0;
      border-bottom: 2px solid var(--border);
      white-space: nowrap;
    }
    .lib-table td {
      padding: 8px 8px 8px 0;
      border-bottom: 1px solid #F4F4F4;
      vertical-align: top;
      font-size: 12px; color: var(--text);
    }
    .lib-table tr:last-child td { border-bottom: none; }
    .lib-book-no { font-weight: 700; color: var(--blue); }

    /*
       STAT MINI CARDS (top row)
   */
    .mini-stat {
      background: #fff;
      border-radius: var(--card-radius);
      border: 1px solid var(--border);
      padding: 14px 16px;
      display: flex; align-items: center; gap: 14px;
      box-shadow: 0 1px 4px rgba(0,0,0,.05);
    }
    .mini-stat-icon {
      width: 44px; height: 44px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; flex-shrink: 0;
    }
    .mini-stat-icon.green  { background: #E8F5E9; color: var(--primary); }
    .mini-stat-icon.red    { background: #FFEBEE; color: var(--red); }
    .mini-stat-icon.blue   { background: #E3F2FD; color: var(--blue); }
    .mini-stat-icon.orange { background: #FFF3E0; color: var(--orange); }
    .mini-stat-num  { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1; }
    .mini-stat-label{ font-size: 12px; color: var(--text-muted); font-weight: 600; margin-top: 2px; }

    /*
       RESPONSIVE
    */
    @media (max-width: 991px) {
      .sidebar { transform: translateX(-100%); }
      .sidebar.mobile-open { transform: translateX(0); }
      .main-content { margin-left: 0; }
      .main-content.expanded { margin-left: 0; }
      .sidebar-overlay {
        display: none;
        position: fixed; inset: 0;
        background: rgba(0,0,0,.4);
        z-index: 1039;
      }
      .sidebar-overlay.show { display: block; }
    }
    @media (max-width: 576px) {
      .main-content { padding: 12px; }
      .welcome-card { flex-direction: column; align-items: center; text-align: center; }
      .header-school-name { display: none; }
    }

    /* 
       SCROLLBAR
   */
    .scroll-inner { max-height: 220px; overflow-y: auto; }
    .scroll-inner::-webkit-scrollbar { width: 4px; }
    .scroll-inner::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

    /* Card section spacing */
    .section-row { margin-bottom: 18px; }
    .g-3 { --bs-gutter-x: 16px; --bs-gutter-y: 16px; }

/* profile css  */

/* ── Sidebar Card ── */
.st-profile .profile-sidebar .card {
	border: 1px solid #e5e8f0;
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
}

.st-profile .avatar-placeholder {
	width: 72px; height: 72px;
	border-radius: 12px;
	background: #eef1ff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'DM Serif Display', serif;
	font-size: 1.8rem;
	color: #3b5bdb;
	position: relative;
	flex-shrink: 0;
}
.st-profile .avatar-status {
	position: absolute;
	bottom: -3px; right: -3px;
	width: 14px; height: 14px;
	background: #12b886;
	border-radius: 50%;
	border: 2px solid #fff;
}

.st-profile .student-name {
	font-family: 'DM Serif Display', serif;
	font-size: 1.1rem;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.st-profile .info-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.82rem;
	padding: 5px 0;
}
.st-profile .info-row .lbl { color: #6b7280; }
.st-profile .info-row .val { font-weight: 500; color: #1a1d2e; }
.st-profile .info-row .val.accent { color: #3b5bdb; }

.st-profile .score-track {
	height: 5px;
	background: #e5e8f0;
	border-radius: 99px;
	overflow: hidden;
}
.st-profile .st-profile .score-fill {
	height: 100%;
	width: 50%;
	background: linear-gradient(90deg, #748ffc, #3b5bdb);
	border-radius: 99px;
}

.st-profile .stat-mini {
	background: #f7f8fc;
	border: 1px solid #e5e8f0;
	border-radius: 8px;
	padding: 12px 8px;
	text-align: center;
}
.st-profile .stat-mini .stat-num {
	font-family: 'DM Serif Display', serif;
	font-size: 1.25rem;
	color: #1a1d2e;
	line-height: 1;
}
.st-profile .stat-mini .stat-lbl { font-size: 0.67rem; color: #9ca3af; }

.st-profile .dl-btn {
	width: 100%;
	padding: 9px;
	border-radius: 8px;
	border: 1.5px dashed #e5e8f0;
	background: transparent;
	font-family: inherit;
	font-size: 0.82rem;
	color: #6b7280;
	cursor: pointer;
	transition: all 0.15s;
}
.st-profile .dl-btn:hover { border-color: #3b5bdb; color: #3b5bdb; background: #eef1ff; }

/* ── Tab Nav ── */
.st-profile .tab-nav-wrap {
	background: #fff;
	border: 1px solid #e5e8f0;
	border-radius: 14px;
	padding: 6px;
	display: flex;
	gap: 3px;
	overflow-x: auto;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
	flex-wrap: nowrap;
}
.st-profile .tab-nav-wrap::-webkit-scrollbar { display: none; }
.st-profile .tab-nav-wrap .tab-btn {
	padding: 8px 14px;
	border-radius: 9px;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 500;
	color: #6b7280;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.15s;
	display: flex;
	align-items: center;
	gap: 5px;
}
.st-profile .tab-nav-wrap .tab-btn i { font-size: 0.72rem; }
.st-profile .tab-nav-wrap .tab-btn:hover { background: #f7f8fc; color: #1a1d2e; }
.st-profile .tab-nav-wrap .tab-btn.active {
	background: #3b5bdb;
	color: #fff;
	box-shadow: 0 2px 8px rgba(59,91,219,0.25);
}

/* ── Tab Panels ── */
.st-profile .tab-panel { display: none; flex-direction: column; gap: 16px; }
.st-profile .tab-panel.active { display: flex; animation: fadeUp 0.2s ease; }

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

/* ── Section Cards ── */
.st-profile .section-card {
	background: #fff;
	border: 1px solid #e5e8f0;
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
	overflow: hidden;
}
.st-profile .section-head {
	padding: 14px 20px;
	border-bottom: 1px solid #e5e8f0;
	display: flex;
	align-items: center;
	gap: 10px;
}
.st-profile .section-head-icon {
	width: 32px; height: 32px;
	border-radius: 8px;
	background: #eef1ff;
	display: flex; align-items: center; justify-content: center;
	color: #3b5bdb;
	font-size: 0.78rem;
	flex-shrink: 0;
}
.st-profile .section-head-title { font-weight: 600; font-size: 0.88rem; color: #1a1d2e; margin-bottom: 1px; }
.st-profile .section-head-sub   { font-size: 0.72rem; color: #9ca3af; }
.st-profile .section-body { padding: 20px; }

/* ── Fields ── */
.st-profile .field-label {
	font-size: 0.67rem;
	font-weight: 500;
	color: #9ca3af;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 3px;
}
.st-profile .field-value {
	font-size: 0.85rem;
	font-weight: 500;
	color: #1a1d2e;
}

.st-profile .sub-label {
	font-size: 0.67rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #3b5bdb;
	margin-bottom: 12px;
}

/* ── Placeholder ── */
.st-profile .placeholder-state { padding: 52px 24px; text-align: center; color: #9ca3af; }
.st-profile .placeholder-icon {
	width: 52px; height: 52px;
	border-radius: 14px;
	background: #f7f8fc;
	border: 1.5px dashed #e5e8f0;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 14px;
	font-size: 1.2rem;
}
.st-profile .placeholder-state h5 { font-size: 0.9rem; font-weight: 600; color: #6b7280; margin-bottom: 5px; }
.st-profile .placeholder-state p  { font-size: 0.78rem; margin: 0; }

/* Badge helpers */
.st-profile .badge-soft-blue  { background: #eef1ff; color: #3b5bdb; }
.st-profile .badge-soft-green { background: #e6f9f1; color: #12b886; }
.st-profile .badge-soft-gold  { background: #fff3bf; color: #f59f00; }	
.section-header {
    background: #f1f3f6;
    padding: 10px;
    border-radius: 5px;
}
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #6c63ff;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: #6c63ff;
    border-radius: 50%;
}

.timeline-date {
    font-size: 12px;
    color: #fff;
    background: #6c63ff;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.timeline-content {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    position: relative;
}

.timeline-content h6 {
    margin-bottom: 5px;
    color: #0d6efd;
}

.timeline-actions {
    position: absolute;
    right: 10px;
    top: 10px;
}

.timeline-actions i {
    margin-left: 10px;
    cursor: pointer;
    color: #6c63ff;
}

 /* ── Cards ── */
    .pro-card {
        background: #fff;
        border: 1px solid #e5e8f0;
        border-radius: 14px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
        overflow: hidden;
    }

    /* ── Student Info Bar ── */
    .student-bar {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .student-avatar {
        width: 60px; height: 60px;
        border-radius: 12px;
        background: #eef1ff;
        display: flex; align-items: center; justify-content: center;
        font-family: 'DM Serif Display', serif;
        font-size: 1.4rem;
        color: #3b5bdb;
        flex-shrink: 0;
    }
    .student-detail-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 10px 24px;
        flex: 1;
    }
    .sd-item .sd-label {
        font-size: 0.67rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #9ca3af;
        margin-bottom: 1px;
    }
    .sd-item .sd-value {
        font-size: 0.83rem;
        font-weight: 500;
        color: #1a1d2e;
    }

    /* ── Summary Stat Boxes ── */
    .stat-box {
        background: #f7f8fc;
        border: 1px solid #e5e8f0;
        border-radius: 10px;
        padding: 14px 18px;
    }
    .stat-box .stat-label {
        font-size: 0.67rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #9ca3af;
        margin-bottom: 4px;
    }
    .stat-box .stat-num {
        font-family: 'DM Serif Display', serif;
        font-size: 1.4rem;
        line-height: 1;
        color: #1a1d2e;
    }
    .stat-box.accent { background: #eef1ff; border-color: #c5cff8; }
    .stat-box.accent .stat-num { color: #3b5bdb; }
    .stat-box.danger { background: #fff1f0; border-color: #fac5c5; }
    .stat-box.danger .stat-num { color: #e03131; }
    .stat-box.success { background: #e6f9f1; border-color: #b2eeda; }
    .stat-box.success .stat-num { color: #12b886; }

    /* ── Action Buttons ── */
    .action-btn {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 8px 16px;
        border-radius: 8px;
        border: 1px solid #e5e8f0;
        background: #fff;
        font-family: inherit;
        font-size: 0.79rem;
        font-weight: 500;
        color: #1a1d2e;
        cursor: pointer;
        transition: all 0.15s;
        text-decoration: none;
    }
    .action-btn i { font-size: 0.75rem; }
    .action-btn:hover { background: #f7f8fc; }
    .action-btn.primary { background: #3b5bdb; color: #fff; border-color: #3b5bdb; }
    .action-btn.primary:hover { background: #3451c7; }
    .action-btn.warning { background: #f59f00; color: #fff; border-color: #f59f00; }
    .action-btn.warning:hover { background: #e08e00; }
    .action-btn.danger { background: #e03131; color: #fff; border-color: #e03131; }
    .action-btn.danger:hover { background: #c92a2a; }

    /* ── Section Header inside card ── */
    .card-head {
        padding: 14px 20px;
        border-bottom: 1px solid #e5e8f0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .card-head-left { display: flex; align-items: center; gap: 10px; }
    .card-head-icon {
        width: 30px; height: 30px;
        border-radius: 8px;
        background: #eef1ff;
        display: flex; align-items: center; justify-content: center;
        color: #3b5bdb;
        font-size: 0.75rem;
        flex-shrink: 0;
    }
    .card-head-title { font-weight: 600; font-size: 0.88rem; color: #1a1d2e; }
    .card-head-sub   { font-size: 0.72rem; color: #9ca3af; }

    /* ── Table ── */
    .pro-table { width: 100%; border-collapse: collapse; }
    .pro-table thead th {
        background: #f7f8fc;
        border-bottom: 2px solid #e5e8f0;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #6b7280;
        padding: 10px 14px;
        white-space: nowrap;
    }
    .pro-table tbody td {
        padding: 12px 14px;
        border-bottom: 1px solid #f0f2f8;
        font-size: 0.83rem;
        color: #1a1d2e;
        vertical-align: middle;
    }
    .pro-table tbody tr:last-child td { border-bottom: none; }
    .pro-table tbody tr:hover { background: #fafbff; }
    .pro-table tfoot td, .pro-table tfoot th {
        background: #f7f8fc;
        border-top: 2px solid #e5e8f0;
        padding: 10px 14px;
        font-size: 0.82rem;
        font-weight: 600;
        color: #1a1d2e;
    }

    /* Sub-row styling */
    .sub-row td { background: #fafbff; font-size: 0.79rem; color: #6b7280; }

    /* Custom checkbox */
    .form-check-input { border-color: #c5cff8; }
    .form-check-input:checked { background-color: #3b5bdb; border-color: #3b5bdb; }

    /* Badges */
    .bs-paid       { background: #e6f9f1; color: #12b886; border-radius: 20px; padding: 3px 10px; font-size: 0.7rem; font-weight: 600; }
    .bs-processing { background: #fff1f0; color: #e03131; border-radius: 20px; padding: 3px 10px; font-size: 0.7rem; font-weight: 600; }
    .bs-pending    { background: #fff3bf; color: #f59f00; border-radius: 20px; padding: 3px 10px; font-size: 0.7rem; font-weight: 600; }
    .bs-info       { background: #eef1ff; color: #3b5bdb; border-radius: 20px; padding: 3px 10px; font-size: 0.7rem; font-weight: 600; }

    .amount-fine { color: #e03131; font-weight: 500; }

    /* ── Modal ── */
    .modal-content { border: 1px solid #e5e8f0; border-radius: 14px; overflow: hidden; }
    .modal-header-pro {
        background: #3b5bdb;
        color: #fff;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .modal-header-pro h6 { margin: 0; font-weight: 600; font-size: 0.9rem; }
    .modal-header-pro .btn-close { filter: invert(1); opacity: 0.8; }
    .modal-body-pro { padding: 20px; }
    .modal-footer-pro {
        padding: 14px 20px;
        border-top: 1px solid #e5e8f0;
        display: flex;
        justify-content: flex-end;
        gap: 8px;
    }

    /* Pay modal summary */
    .pay-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #f0f2f8;
        font-size: 0.85rem;
    }
    .pay-row:last-child { border-bottom: none; }
    .pay-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0 0;
        font-weight: 600;
        font-size: 0.9rem;
    }

    /* Search bar */
    .search-bar {
        position: relative;
    }
    .search-bar input {
        border: 1px solid #e5e8f0;
        border-radius: 8px;
        padding: 8px 12px 8px 34px;
        font-family: inherit;
        font-size: 0.8rem;
        outline: none;
        width: 220px;
        background: #f7f8fc;
    }
    .search-bar i {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 0.75rem;
    }
    .icon-action-btn {
        width: 32px; height: 32px;
        border-radius: 7px;
        border: 1px solid #e5e8f0;
        background: #fff;
        display: inline-flex; align-items: center; justify-content: center;
        color: #6b7280;
        cursor: pointer;
        font-size: 0.78rem;
        transition: all 0.15s;
    }
    .icon-action-btn:hover { background: #f0f2f8; color: #3b5bdb; }

  .online-courses .stat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }

  .online-courses .table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: #6c757d; background: #f8f9fc; border-bottom: 2px solid #e9ecef; white-space: nowrap; }
  .online-courses .table tbody td { font-size: 13.5px; vertical-align: middle; }
  .online-courses .table tbody tr:hover { background: #f8f9fc; }

  .online-courses .course-emoji { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

  .online-courses .drawer-overlay { position: fixed; inset: 0; background: rgba(10,12,28,.45); backdrop-filter: blur(3px); z-index: 1040; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .online-courses .drawer-overlay.show { opacity: 1; pointer-events: all; }

  .online-courses .drawer-panel { position: fixed; top: 0; right: -105%; width: min(800px, 97vw); height: 100%; background: .online-courses #fff; z-index: 1050; overflow-y: auto; transition: right .38s cubic-bezier(.32,0,.08,1); box-shadow: -6px 0 40px rgba(0,0,0,.15); display: flex; flex-direction: column; }
  .online-courses .drawer-panel.show { right: 0; }

  .online-courses .yt-wrap { position: relative; background: #000; cursor: pointer; overflow: hidden; aspect-ratio: 16/9; width: 100%; display: block; }
  .online-courses .yt-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s, filter .3s; }
  .online-courses .yt-wrap:hover img { transform: scale(1.03); filter: brightness(.8); }
  .online-courses .yt-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

  .online-courses .purchase-sticky { position: sticky; top: 16px; }

  .online-courses .ci-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }

  .online-courses .rev-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }

  .online-courses .inst-ring { width: 70px; height: 70px; border-radius: 50%; border: 3px solid #6366f1; overflow: hidden; margin: 0 auto; box-shadow: 0 0 0 5px rgba(99,102,241,.18); }
  .online-courses .inst-ring img { width: 100%; height: 100%; object-fit: cover; }

  .online-courses .section-row { background: #1e1b4b; color: #fff; border-radius: 10px 10px 0 0; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }	
  
    .fees-custom-table {
        border: 1px solid #ddd;
    }

    .fees-custom-table thead th {
        background: #f5f5f5;
        font-weight: 600;
        border-bottom: 1px solid #ddd;
        font-size: 14px;
    }

    .fees-custom-table tbody tr {
        border-bottom: 1px solid #e5e5e5;
    }

    .fees-custom-table td {
        font-size: 14px;
        padding: 12px 10px;
    }

    .fees-custom-table .paid-badge {
        background: #28a745;
        color: #fff;
        font-size: 11px;
        padding: 2px 6px;
        border-radius: 3px;
    }

    .fees-custom-table .amount-red {
        color: #ff0000;
        font-size: 13px;
    }

    .fees-custom-table .child-row {
        background: #fafafa;
    }

    .fees-custom-table .child-row td {
        padding: 10px;
        font-size: 13px;
        color: #555;
    }

    .fees-custom-table .arrow {
        color: #999;
        font-size: 15px;
        margin-right: 5px;
    }

    .fees-custom-table .print-icon {
        cursor: pointer;
    }

    .fees-custom-table .print-icon:hover {
        color: #000;
    }
	 .liveclasses .card-header {
        background: #f5f5f5;
        font-weight: 600;
        font-size: 18px;
    }

    .liveclasses .custom-table {
        border: 1px solid #ddd;
    }

    .liveclasses .custom-table thead th {
        background: #fafafa;
        font-weight: 600;
        font-size: 14px;
        border-bottom: 1px solid #ddd;
        white-space: nowrap;
    }

    .liveclasses .custom-table tbody tr {
        border-bottom: 1px solid #e5e5e5;
    }

    .liveclasses .custom-table td {
        padding: 12px 10px;
        font-size: 14px;
        vertical-align: middle;
    }

    .liveclasses .status-badge {
        background: #ff9800;
        color: #fff;
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 4px;
    }

    .liveclasses .join-btn {
        background: #6f42c1;
        color: #fff;
        font-size: 13px;
        padding: 5px 10px;
        border-radius: 6px;
    }

    .liveclasses .join-btn:hover {
        background: #5a32a3;
        color: #fff;
    }

    .liveclasses .top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .liveclasses .icon-group i {
        margin-left: 10px;
        cursor: pointer;
        color: #555;
    }

    .liveclasses .icon-group i:hover {
        color: #000;
    }

    .liveclasses .sort-icons {
        font-size: 10px;
        color: #bbb;
        margin-left: 5px;
        line-height: 8px;
    }
 .timetablecont .timetable-card {
        background: #fff;
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        margin-bottom: 10px;
        font-size: 14px;
    }

    .timetablecont .timetable-card i {
        width: 18px;
        color: #6c757d;
    }

    .timetablecont .subject {
        color: green;
        font-weight: 500;
    }

    .timetablecont .day-column {
        min-width: 130px;
    }

    .timetablecont .header-box {
        background: #fff;
        border-radius: 6px;
        padding: 10px 15px;
        margin-bottom: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .timetablecont .not-scheduled {
        color: red;
        font-weight: 500;
    }	
/* Header */
.lesson-plan .lesson-header {
    background:#fff;
    padding:12px 15px;
    border-radius:6px;
    margin-bottom:15px;
    box-shadow:0 2px 5px rgba(0,0,0,0.1);
}

/* Card */
.lesson-plan .lesson-card {
    background:#fff;
    padding:12px;
    border-radius:8px;
    box-shadow:4px 4px 9px 4px rgba(0, 0, 0, 0.1);
    position:relative;
    margin-bottom:10px;
}

.lesson-plan .menu-btn {
    position:absolute;
    right:10px;
    top:10px;
    background:#6f5ce7;
    color:#fff;
    padding:3px 8px;
    border-radius:6px;
    cursor:pointer;
}

.lesson-plan .day-col { min-width:130px; }
.lesson-plan .subject { color:#0d6efd; font-weight:500; }

.lesson-plan .not-scheduled { color:red; font-weight:500; }

/* Modal Header */
.modal-header {
    background: linear-gradient(45deg, #6f5ce7, #6c5ce7);
    color:#fff;
}	


.donutchart .card {
	border-radius: 12px;
}

.donutchart .chart-box {
	text-align: center;
	padding: 20px;
}


.donutchart .status-label {
	background: #000;
	color: #fff;
	padding: 4px 8px;
	border-radius: 5px;
	font-size: 12px;
	display: inline-block;
	margin-top: 10px;
}

.donutchart .subject-title {
	font-weight: 600;
	margin-bottom: 10px;
	font-size: 13px;
	
}
.donutchart canvas {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto;
}
 .homework .nav-tabs .nav-link.active {
        border-bottom: 3px solid #6f42c1;
        font-weight: 600;
    }

.homework .badge-status {
	font-size: 12px;
	padding: 5px 10px;
	border-radius: 5px;
}

.homework .action-btn {
	background: #6f42c1;
	color: #fff;
	border-radius: 4px;
	padding: 6px 10px;
	cursor: pointer;
}

.homework .modal-header {
	background: linear-gradient(90deg,#6f42c1,#7b68ee);
	color: #fff;
}

.homework .summary-box {
	background: #f8f9fa;
	padding: 15px;
	border-left: 1px solid #ddd;
}
.onlineexam .nav-tabs .nav-link.active {
    border-bottom: 3px solid #6f42c1;
    font-weight: 600;
}

.onlineexam .action-btn {
    background:#6f42c1;
    color:#fff;
    padding:6px 10px;
    border-radius:5px;
    cursor:pointer;
}

.onlineexam .modal-header {
    background: linear-gradient(90deg,#6f42c1,#7b68ee);
    color:#fff;
}

.onlineexam .info-box p {
    margin-bottom:6px;
}
.applyleave .card {
            border-radius: 10px;
        }
.applyleave .badge-approved {
	background-color: #28a745;
}
.applyleave .badge-disapproved {
	background-color: #dc3545;
}
.applyleave .badge-pending {
	background-color: #ffc107;
	color: #000;
}
.applyleave .action-btn {
	width: 32px;
	height: 32px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color:#0a58ca;
	color:#fff;	
}
.applyleave .modal-header {
	background: linear-gradient(45deg, #6a5acd, #7b68ee);
	color: #fff;
}
.visitorbook .card {
        border-radius: 10px;
    }

.visitorbook .table thead th {
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
}

.visitorbook .table tbody td {
	vertical-align: middle;
	font-size: 14px;
}

.visitorbook .search-box {
	max-width: 250px;
}

.visitorbook .table-icons i {
	font-size: 14px;
	margin-left: 10px;
	cursor: pointer;
	color: #6c757d;
}

.visitorbook .table-icons i:hover {
	color: #000;
}
.stcontent .card {
        border-radius: 10px;
    }

.table thead th {
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
}

.table tbody td {
	font-size: 14px;
	vertical-align: middle;
}

.search-box {
	max-width: 250px;
}

.table-icons i {
	font-size: 14px;
	margin-left: 10px;
	cursor: pointer;
	color: #6c757d;
}

.table-icons i:hover {
	color: #000;
}

.btn-eye {
	background-color: #6c63ff;
	color: #fff;
	border-radius: 6px;
	padding: 5px 10px;
}

.btn-eye:hover {
	background-color: #5a54d1;
	color: #fff;
}


/* Card */
.videotutorial .video-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s;
}

.videotutorial .video-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Thumbnail */
.videotutorial .video-thumb {
    height: 140px;
    background: #e9ecef;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover Overlay */
.videotutorial .video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.videotutorial .video-card:hover .video-overlay {
    opacity: 1;
}

.videotutorial .video-overlay button {
    background: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
}

/* Title */
.videotutorial .video-title {
    padding: 10px;
    font-size: 14px;
    text-align: center;
}

/* Modal */
.videotutorial .modal-video iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.videotutorial .modal-right {
    padding: 20px;
}

.videotutorial .close-circle {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #6c63ff;
    color: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    border: none;
}
.attendance .card {
    border-radius: 10px;
}

/* Table Styling */
.attendance .table thead th {
    font-weight: 600;
    font-size: 14px;
}

.attendance .table tbody td {
    font-size: 14px;
    vertical-align: middle;
}

/* Attendance Colors */
.attendance .present {
    color: #28a745;
    font-weight: bold;
}

.attendance .absent {
    color: #dc3545;
    font-weight: bold;
}

/* Date box width */
.attendance .date-input {
    max-width: 250px;
}
.cbseexam .card-header {
	font-weight: 600;
	background: #e9ecef;
}
.cbseexam .summary-row {
	font-weight: 600;
	background: #f1f3f5;
}
.cbseexam .result-footer {
	display: flex;
	justify-content: space-between;
	font-weight: 600;
	padding: 10px;
	background: #f8f9fa;
	border-top: 1px solid #ddd;
}
.examtimetable .card-header {
		font-weight: 600;
		background-color: #e9ecef;
	}
.examtimetable .section-title {
	font-weight: 600;
	background: #f1f3f5;
	padding: 10px 15px;
	border-bottom: 1px solid #ddd;
}
.examtimetable table th, table td {
	vertical-align: middle;
}
.examschedule .card-header {
    font-weight: 600;
}
.examschedule .table th, .table td {
    vertical-align: middle;
}
.examschedule .btn-view {
    background: #6f63f6;
    color: #fff;
    border-radius: 20px;
    padding: 4px 12px;
}
.examschedule .btn-view:hover {
    background: #5a52d6;
    color: #fff;
}
.examschedule .modal-header {
    background: linear-gradient(90deg, #6f63f6, #7c6ee6);
    color: #fff;
}
.stexamresult .card-header {
    font-weight: 600;
}
.stexamresult .section-title {
    background: #f1f3f5;
    padding: 10px 15px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}
.stexamresult .summary-bar {
    background: #e9ecef;
    padding: 10px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.stexamresult .badge-pass {
    background: #5cb85c;
}
.stexamresult .table th, .table td {
    vertical-align: middle;
}

.notification .card-header {
    font-weight: 600;
}
.notification .notice-item {
    padding: 12px 10px;
    border-bottom: 1px solid #ddd;
    color: #5a5af5;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.notification .notice-item:hover {
    background: #f1f3ff;
}
.notification .notice-icon {
    margin-right: 10px;
}
.notification .offcanvas-header {
    border-bottom: 1px solid #ddd;
}
.notification .offcanvas {
    z-index: 999999;
	top: 55px !important;
}
.notification .offcanvas-title {
    font-weight: 600;
}
.notification .notice-meta {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
	    justify-content: space-between;
}
.teacherreview .card-header {
    font-weight: 600;
}
.teacherreview .table th, .table td {
    vertical-align: middle;
}
.teacherreview .badge-teacher {
    background: #5cb85c;
}
.teacherreview .btn-rate {
    background: #6f63f6;
    color: #fff;
}
.teacherreview .btn-rate:hover {
    background: #5a52d6;
    color: #fff;
}
.teacherreview .star-display {
    color: orange;
}
.teacherreview .modal-header {
    background: linear-gradient(90deg, #6f63f6, #7c6ee6);
    color: #fff;
}
.teacherreview .rating-stars i {
    font-size: 20px;
    cursor: pointer;
    color: #ccc;
}
.teacherreview .rating-stars i.active {
    color: orange;
}
.booklist .card-header {
    font-weight: 600;
}
.booklist .table th, .table td {
    vertical-align: middle;
}
.booklist .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.booklist .icon-btn i {
    margin-left: 10px;
    cursor: pointer;
    color: #666;
}
.booklist .icon-btn i:hover {
    color: #000;
}

.bookissue .card-header {
    font-weight: 600;
}
.bookissue .table th, .table td {
    vertical-align: middle;
}
.bookissue .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.bookissue .icon-btn i {
    margin-left: 10px;
    cursor: pointer;
    color: #666;
}
.bookissue .icon-btn i:hover {
    color: #000;
}
.busroute .card-header {
    font-weight: 600;
}
.busroute .route-box {
    background: #e9e3dd;
    padding: 15px;
    border-radius: 6px;
    width: 220px;
}
.busroute .route-box.active {
    background: #a6d532;
}
.busroute .route-line {
    height: 4px;
    background: #555;
    position: relative;
    margin: 40px 0;
}
.busroute .route-dot {
    width: 14px;
    height: 14px;
    background: red;
    border-radius: 50%;
    position: absolute;
    top: -5px;
}
.busroute .route-dot.green {
    background: #8bc34a;
}
.busroute .route-dot:nth-child(1) { left: 0%; }
.busroute .route-dot:nth-child(2) { left: 25%; }
.busroute .route-dot:nth-child(3) { left: 50%; }
.busroute .route-dot:nth-child(4) { left: 75%; }
.busroute .route-dot:nth-child(5) { left: 100%; }

.busroute .pickup-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.busroute .pickup-card {
    position: absolute;
}
.busroute .pickup-top { top: -80px; }
.busroute .pickup-bottom { top: 40px; }

.busroute .bus-img {
    width: 120px;
}
.busroute .arrow-btn {
    background: #b8b3ff;
    color: #fff;
    border: none;
    padding: 5px 10px;
}


.hostelroom .card-header {
    font-weight: 600;
}
.hostelroom .table th, .table td {
    vertical-align: middle;
}
.hostelroom .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.hostelroom .icon-btn i {
    margin-left: 10px;
    cursor: pointer;
    color: #666;
}
.hostelroom .icon-btn i:hover {
    color: #000;
}
.hostelroom .pagination-sm .page-link {
    padding: 4px 10px;
}

