body.student-theme {
    background:
        radial-gradient(circle at top left, rgba(24, 119, 242, 0.10), transparent 35%),
        radial-gradient(circle at top right, rgba(255, 63, 108, 0.08), transparent 30%),
        linear-gradient(180deg, var(--background, #f8fafc) 0%, #eef2ff 100%);
    color: var(--foreground, #0f172a);
    overflow-x: clip;
}

body.student-theme .wrapper {
    min-height: 100vh;
}

body.student-theme .main-header.navbar {
    min-height: 68px;
    border-bottom: 1px solid var(--border, #dbe4ee);
    background:
        linear-gradient(135deg, rgba(255, 248, 235, 0.96), rgba(255, 255, 255, 0.86));
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    margin: 0.75rem 0.75rem 0;
    border-radius: 26px;
    position: sticky;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    box-sizing: border-box;
    z-index: 1068;
    transition: left 0.25s ease, right 0.25s ease, transform 0.25s ease;
}

body.student-theme .student-page-loader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(24, 119, 242, 0.16), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(255, 63, 108, 0.15), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 250, 255, 0.94));
    backdrop-filter: blur(14px);
}

body.student-theme .student-page-loader-card {
    min-width: 240px;
    padding: 1.25rem 1.4rem 1.1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(219, 228, 238, 0.9);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    display: flex;
    align-items: center;
    gap: 1rem;
}

body.student-theme .student-page-loader-orbit {
    position: relative;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
}

body.student-theme .student-page-loader-dot {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid transparent;
    animation: student-loader-spin 1.2s linear infinite;
}

body.student-theme .student-page-loader-dot-a {
    border-top-color: var(--primary, #1877f2);
}

body.student-theme .student-page-loader-dot-b {
    inset: 9px;
    border-right-color: rgba(24, 119, 242, 0.72);
    animation-direction: reverse;
    animation-duration: 1.5s;
}

body.student-theme .student-page-loader-dot-c {
    inset: 18px;
    border-bottom-color: rgba(24, 119, 242, 0.42);
    animation-duration: 1.8s;
}

body.student-theme.theme-female .student-page-loader-dot-a {
    border-top-color: var(--primary, #ff3f6c);
}

body.student-theme.theme-female .student-page-loader-dot-b {
    border-right-color: rgba(255, 63, 108, 0.72);
}

body.student-theme.theme-female .student-page-loader-dot-c {
    border-bottom-color: rgba(255, 63, 108, 0.42);
}

body.student-theme .student-page-loader-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

body.student-theme .student-page-loader-title {
    font-size: 1rem;
    font-weight: 900;
    color: var(--foreground, #0f172a);
    letter-spacing: 0.01em;
}

body.student-theme .student-page-loader-subtitle {
    font-size: 0.84rem;
    color: var(--muted-foreground, #64748b);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body .student-click-sparkle-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2500;
}

body .student-click-sparkle {
    position: fixed;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: var(--size);
    color: var(--sparkle-color, var(--primary, #1877f2));
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: student-sparkle-burst 820ms ease-out forwards;
    filter: drop-shadow(0 0 10px currentColor) drop-shadow(0 0 18px rgba(255, 255, 255, 0.42));
}

body.theme-female .student-click-sparkle {
    filter: drop-shadow(0 0 10px currentColor) drop-shadow(0 0 18px rgba(255, 255, 255, 0.42));
}

body .student-click-sparkle::before,
body .student-click-sparkle::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: 999px;
    background: currentColor;
}

body .student-click-sparkle::before {
    width: 100%;
    height: 3px;
}

body .student-click-sparkle::after {
    width: 3px;
    height: 100%;
}

body .student-click-sparkle-dot {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 42%;
    height: 42%;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.56);
}

@keyframes student-sparkle-burst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.15) rotate(0deg);
    }

    15% {
        opacity: 1;
    }

    65% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.12) rotate(var(--rot));
    }
}

body.student-theme.theme-female .student-page-loader-title {
    color: var(--primary, #ff3f6c);
}

@keyframes student-loader-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

body.student-theme .main-sidebar {
    background:
        linear-gradient(180deg, var(--primary, #1877f2) 0%, var(--sidebar-primary, #0f5cc1) 100%);
    box-shadow: 20px 0 45px rgba(15, 23, 42, 0.12);
    z-index: 1058;
}

body.student-theme.sidebar-collapse .main-sidebar.sidebar-no-expand:hover {
    width: 4.6rem !important;
}

body.student-theme.sidebar-collapse .main-sidebar .nav-sidebar > .nav-item > .nav-link {
    margin: 0.35rem 0.45rem;
    padding: 0.8rem 0;
    justify-content: center;
}

body.student-theme.sidebar-collapse .main-sidebar .nav-sidebar > .nav-item > .nav-link p {
    display: none;
}

body.student-theme.sidebar-collapse .main-sidebar .nav-sidebar > .nav-item > .nav-link .nav-icon {
    margin-right: 0;
    width: 1.5rem;
    text-align: center;
}

body.student-theme.sidebar-collapse .main-sidebar.sidebar-no-expand:hover .brand-link {
    width: 4.6rem !important;
}

body.student-theme.sidebar-collapse .main-sidebar.sidebar-no-expand:hover .brand-text,
body.student-theme.sidebar-collapse .main-sidebar.sidebar-no-expand:hover .nav-sidebar .nav-link p,
body.student-theme.sidebar-collapse .main-sidebar.sidebar-no-expand:hover .user-panel > .info {
    width: 0 !important;
}

body.student-theme .main-sidebar .brand-link,
body.student-theme .main-sidebar .nav-sidebar > .nav-item > .nav-link,
body.student-theme .main-sidebar .nav-sidebar > .nav-item .nav-icon,
body.student-theme .main-sidebar .nav-sidebar > .nav-item p {
    color: var(--sidebar-primary-foreground, #ffffff) !important;
}

body.student-theme .student-sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.75rem;
}

body.student-theme .sidebar-mobile-close {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-decoration: none;
}

body.student-theme .sidebar-mobile-close i {
    font-size: 1rem;
}

body.student-theme .student-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

body.student-theme .student-sidebar-brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    flex: 0 0 auto;
}

body.student-theme .student-sidebar-brand-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.78;
}

body.student-theme .student-sidebar-brand-name {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.1;
}

body.student-theme .main-sidebar .nav-sidebar > .nav-item > .nav-link {
    border-radius: 16px;
    margin: 0.35rem 0.8rem;
    padding: 0.8rem 1rem;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

body.student-theme .main-sidebar .nav-sidebar > .nav-item > .nav-link:hover,
body.student-theme .main-sidebar .nav-sidebar > .nav-item > .nav-link.active {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
}

body.student-theme .content-wrapper {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.82), rgba(241, 245, 249, 0.98));
    padding-top: 1rem;
    padding-bottom: 5.5rem;
    transition: margin-left 0.25s ease, width 0.25s ease;
}

body.layout-navbar-fixed .wrapper .content-wrapper {
    padding-top: 1rem;
}

body.student-theme .student-dashboard-page-shell {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.25rem;
    box-sizing: border-box;
    transition: max-width 0.25s ease, padding 0.25s ease;
}

body.student-theme .student-dashboard-page-shell th,
body.student-theme .student-dashboard-page-shell td {
    text-align: center;
}

body.student-theme .student-dashboard-page-shell .classic {
    font-weight: 500;
}

body.student-theme .student-dashboard-page-shell .input-group {
    display: block;
}

body.student-theme .student-profile-page-shell {
    padding-top: 0.25rem;
}

body.student-theme .student-profile-page-hero {
    margin: 0.05rem 0 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 224, 0.9));
    border: 1px solid rgba(219, 228, 238, 0.92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body.student-theme .student-profile-page-kicker {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-foreground, #64748b);
}

body.student-theme .student-profile-page-title {
    margin: 0.2rem 0 0.35rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.08;
    font-weight: 900;
    color: var(--foreground, #0f172a);
}

body.student-theme .student-profile-page-subtitle {
    margin: 0;
    color: var(--muted-foreground, #64748b);
    font-size: 0.94rem;
}

body.student-theme #myModal.modal {
    width: 100%;
    z-index: 9999;
}

body.student-theme #myModal .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: min(80%, 960px);
}

body.student-theme #myModal .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

body.student-theme #myModal .close:hover,
body.student-theme #myModal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

body.student-theme .student-dashboard-modal-preview {
    width: 100%;
    z-index: 9999;
}

body.student-theme .student-dashboard-modal-preview-wrap {
    justify-content: center;
    display: grid;
}

body.student-theme .student-points-register-btn {
    float: right;
    font-size: 13px;
}

body.student-theme .student-points-registered-btn {
    float: right;
    background-color: #fae18e;
    border-color: #6c757d;
    color: #952121;
}

body.student-theme .student-points-upload-disabled {
    cursor: not-allowed;
    display: inline-block;
    opacity: 0.5;
}

body.student-theme .student-points-upload-disabled > span {
    pointer-events: none;
    display: inline-block;
}

body.student-theme .main-footer {
    border-top: 1px solid var(--border, #dbe4ee);
    background: rgba(255, 255, 255, 0.92);
    color: var(--muted-foreground, #64748b);
}

body.student-theme .card,
body.student-theme .login-card-body,
body.student-theme .small-box,
body.student-theme .info-box {
    border: 1px solid rgba(219, 228, 238, 0.9);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

body.student-theme .card {
    overflow: hidden;
}

body.student-theme .card-header {
    background: linear-gradient(135deg, var(--secondary, #eef4ff), #ffffff);
    border-bottom: 1px solid rgba(219, 228, 238, 0.9);
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
}

body.student-theme .btn-primary,
body.student-theme .bg-primary,
body.student-theme .badge-primary {
    background-color: var(--primary, #1877f2) !important;
    border-color: var(--primary, #1877f2) !important;
    color: var(--primary-foreground, #ffffff) !important;
}

body.student-theme .btn-primary:hover,
body.student-theme .btn-primary:focus {
    filter: brightness(0.95);
}

body.student-theme .form-control,
body.student-theme .custom-select {
    border-color: var(--input, #dbe4ee);
    border-radius: 14px;
    min-height: 46px;
    box-shadow: none;
}

body.student-theme .form-control:focus,
body.student-theme .custom-select:focus {
    border-color: var(--ring, #1877f2);
    box-shadow: 0 0 0 0.2rem rgba(24, 119, 242, 0.16);
}

body.student-theme .nav-pills .nav-link.active {
    background: var(--primary, #1877f2);
    color: #fff;
}

body.student-theme .text-primary {
    color: var(--primary, #1877f2) !important;
}

body.theme-male {
    --background: #f8fafc;
    --foreground: #0f172a;
    --card: #ffffff;
    --card-foreground: #0f172a;
    --popover: #ffffff;
    --popover-foreground: #0f172a;
    --primary: #1877f2;
    --primary-foreground: #ffffff;
    --secondary: #eef4ff;
    --secondary-foreground: #1e3a8a;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --accent: #dbeafe;
    --accent-foreground: #1d4ed8;
    --destructive: #ef4444;
    --destructive-foreground: #ffffff;
    --border: #dbe4ee;
    --input: #dbe4ee;
    --ring: #1877f2;
    --chart-1: #bfdbfe;
    --chart-2: #60a5fa;
    --chart-3: #3b82f6;
    --chart-4: #2563eb;
    --chart-5: #1d4ed8;
    --sidebar: #ffffff;
    --sidebar-foreground: #1e293b;
    --sidebar-primary: #1877f2;
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #eff6ff;
    --sidebar-accent-foreground: #1d4ed8;
    --sidebar-border: #dbe4ee;
    --sidebar-ring: #1877f2;
}

body.theme-female {
    --background: #f8fafc;
    --foreground: #0f172a;
    --card: #ffffff;
    --card-foreground: #0f172a;
    --popover: #ffffff;
    --popover-foreground: #0f172a;
    --primary: #ff3f6c;
    --primary-foreground: #ffffff;
    --secondary: #fff1f4;
    --secondary-foreground: #9f1239;
    --muted: #fdf2f8;
    --muted-foreground: #64748b;
    --accent: #ffe4ec;
    --accent-foreground: #e11d48;
    --destructive: #ef4444;
    --destructive-foreground: #ffffff;
    --border: #f4c7d4;
    --input: #f4c7d4;
    --ring: #ff3f6c;
    --chart-1: #fecdd3;
    --chart-2: #fda4af;
    --chart-3: #fb7185;
    --chart-4: #f43f5e;
    --chart-5: #e11d48;
    --sidebar: #ffffff;
    --sidebar-foreground: #1e293b;
    --sidebar-primary: #ff3f6c;
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #fff1f4;
    --sidebar-accent-foreground: #e11d48;
    --sidebar-border: #f4c7d4;
    --sidebar-ring: #ff3f6c;
}

body.student-theme .main-sidebar .brand-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.student-theme .main-sidebar .nav-treeview > .nav-item > .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
}

body.student-theme .main-sidebar .nav-treeview > .nav-item > .nav-link:hover,
body.student-theme .main-sidebar .nav-treeview > .nav-item > .nav-link.active {
    background: rgba(255, 255, 255, 0.12);
}

body.student-theme .main-footer marquee {
    padding: 0.35rem 0;
}

body.student-theme .student-announcement-list {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.student-theme .student-announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: var(--secondary, #eef4ff);
    color: var(--foreground, #0f172a);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

body.student-theme .student-announcement-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: var(--primary, #1877f2);
    color: #fff;
    flex: 0 0 auto;
}

body.student-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(24, 119, 242, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(24, 119, 242, 0.12), transparent 30%),
        linear-gradient(180deg, var(--background, #f8fafc), #eaf2ff);
}

body.student-login.theme-female {
    background:
        radial-gradient(circle at top left, rgba(255, 63, 108, 0.20), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 63, 108, 0.12), transparent 30%),
        linear-gradient(180deg, var(--background, #f8fafc), #fff0f5);
}

body.student-login .login-box,
body.student-login .card {
    width: min(100%, 480px);
}

body.student-login .login-logo p {
    color: var(--foreground, #0f172a);
}

body.student-login .logincard,
body.student-login .card-body.login-card-body {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(219, 228, 238, 0.9);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}

body.student-login .actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--primary-foreground, #ffffff);
    box-shadow: 0 10px 24px rgba(24, 119, 242, 0.24);
}

body.student-login.theme-female .actions a {
    box-shadow: 0 10px 24px rgba(255, 63, 108, 0.24);
}

body.student-login.theme-male .actions a,
body.student-login.theme-male .btn-primary {
    background: var(--primary, #1877f2) !important;
}

body.student-login.theme-female .actions a,
body.student-login.theme-female .btn-primary {
    background: var(--primary, #ff3f6c) !important;
}

body.student-login .form-control {
    border-radius: 14px;
    min-height: 46px;
}

body.student-login .highlighted-heading {
    color: var(--primary-foreground, #fff);
    background: var(--primary, #1877f2);
}

body.student-login.theme-female .highlighted-heading {
    background: var(--primary, #ff3f6c);
}

body.student-login .login-box-msg,
body.student-login .registerredirectbtn {
    color: var(--foreground, #0f172a);
}

body.student-theme .student-appbar {
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

body.student-theme .main-header.navbar .navbar-nav.align-items-center.flex-row {
    min-width: 0;
    gap: 0.45rem;
}

body.student-theme .student-appbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    min-width: 0;
    max-width: min(100%, 330px);
}

body.student-theme .student-icon-button,
body.student-theme .student-avatar-link {
    position: relative;
    z-index: 1066;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(219, 228, 238, 0.95);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    color: var(--foreground, #0f172a);
}

body.student-theme .student-avatar-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary, #1877f2), rgba(24, 119, 242, 0.76));
    color: #fff;
}

body.student-theme.theme-female .student-avatar-dot {
    background: linear-gradient(135deg, var(--primary, #ff3f6c), rgba(255, 63, 108, 0.76));
}

body.student-theme .student-icon-button i,
body.student-theme .student-avatar-link i {
    font-size: 1rem;
}

body.student-theme .student-menu-close-icon {
    display: none;
}

body.student-theme.sidebar-open .student-menu-icon {
    display: none;
}

body.student-theme.sidebar-open .student-menu-close-icon {
    display: inline-block;
}

body.student-theme .student-appbar-title-wrap {
    margin-left: 0.15rem;
    min-width: 0;
}

body.student-theme .student-appbar-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-foreground, #64748b);
}

body.student-theme .student-appbar-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--foreground, #0f172a);
    line-height: 1.1;
}

body.student-theme .student-session-form {
    margin: 0;
    min-width: 0;
}

body.student-theme .student-session-label {
    display: block;
    margin: 0 0 0.18rem 0.32rem;
    font-size: 0.58rem;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-foreground, #64748b);
}

body.student-theme .student-session-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 40px;
    max-width: 100%;
    min-width: 0;
    padding: 0.35rem 0.7rem 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(219, 228, 238, 0.96);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    color: var(--foreground, #0f172a);
}

body.student-theme .student-session-chip i {
    color: var(--muted-foreground, #64748b);
    font-size: 0.9rem;
    flex: 0 0 auto;
}

body.student-theme .student-session-select {
    width: 100%;
    max-width: 112px;
    min-height: 30px;
    border: 0;
    background: transparent;
    padding: 0;
    padding-right: 0.2rem;
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--foreground, #0f172a);
    box-shadow: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.student-theme .student-session-select:focus {
    box-shadow: none;
}

body.student-theme .student-session-chevron {
    margin-left: -0.2rem;
    font-size: 0.68rem;
}

body.student-theme .student-logout-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(219, 228, 238, 0.96);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    color: var(--foreground, #0f172a);
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    flex: 0 0 auto;
    white-space: nowrap;
    width: auto;
}

body.student-theme .student-logout-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    border-color: rgba(24, 119, 242, 0.22);
}

body.student-theme.theme-female .student-logout-pill:hover {
    border-color: rgba(255, 63, 108, 0.22);
}

body.student-theme .student-logout-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary, #1877f2), rgba(24, 119, 242, 0.76));
    color: #fff;
    flex: 0 0 auto;
}

body.student-theme.theme-female .student-logout-icon {
    background: linear-gradient(135deg, var(--primary, #ff3f6c), rgba(255, 63, 108, 0.76));
}

body.student-theme .student-logout-text {
    display: none;
}

body.student-theme .select2-container {
    min-width: 0 !important;
}

body.student-theme .student-session-form .select2-container--bootstrap4 {
    min-width: 0;
}

body.student-theme .student-session-form .select2-container--bootstrap4 .select2-selection--single {
    height: 40px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    box-shadow: none;
    outline: none;
}

body.student-theme .student-session-form .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
    line-height: 1.2;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--foreground, #0f172a);
}

body.student-theme .student-session-form .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
    height: 38px;
    right: 0.1rem;
}

body.student-theme .student-session-form .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    border-color: var(--muted-foreground, #64748b) transparent transparent transparent;
}

body.student-theme .student-session-dropdown.select2-dropdown {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(219, 228, 238, 0.96);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
    background: rgba(255, 255, 255, 0.98);
    z-index: 4000;
}

body.student-theme .select2-container--open {
    z-index: 4000;
}

body.student-theme .student-session-dropdown .select2-results__option {
    margin: 0.2rem 0.35rem;
    padding: 0.72rem 0.95rem;
    font-weight: 700;
    border-radius: 14px;
}

@media (min-width: 992px) {
    body.student-theme .student-session-dropdown.select2-dropdown {
        min-width: 180px !important;
    }

    body.student-theme .student-session-dropdown .select2-results__option {
        white-space: nowrap;
    }
}

body.student-theme .student-session-dropdown .select2-results__option--highlighted[aria-selected] {
    background: linear-gradient(135deg, var(--primary, #1877f2), rgba(24, 119, 242, 0.82));
    color: #fff;
}

body.student-theme.theme-female .student-session-dropdown .select2-results__option--highlighted[aria-selected] {
    background: linear-gradient(135deg, var(--primary, #ff3f6c), rgba(255, 63, 108, 0.82));
}

body.student-theme .student-session-dropdown .select2-results__option[aria-selected="true"] {
    background: rgba(24, 119, 242, 0.1);
    color: var(--foreground, #0f172a);
}

body.student-theme.theme-female .student-session-dropdown .select2-results__option[aria-selected="true"] {
    background: rgba(255, 63, 108, 0.1);
}

body.student-theme .student-bottom-dock {
    position: fixed;
    left: 50%;
    bottom: 0.85rem;
    transform: translateX(-50%);
    width: min(92vw, 420px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(219, 228, 238, 0.9);
    z-index: 1050;
}

body.student-theme .student-bottom-dock-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.45rem 0.35rem;
    border-radius: 18px;
    color: var(--muted-foreground, #64748b);
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body.student-theme .student-bottom-dock-item i {
    font-size: 1.05rem;
}

body.student-theme .student-bottom-dock-item span {
    font-size: 0.72rem;
    font-weight: 700;
}

body.student-theme .student-bottom-dock-item-active {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.12), rgba(24, 119, 242, 0.04));
    color: var(--primary, #1877f2);
}

body.student-theme.theme-female .student-bottom-dock-item-active {
    background: linear-gradient(135deg, rgba(255, 63, 108, 0.12), rgba(255, 63, 108, 0.04));
    color: var(--primary, #ff3f6c);
}

body.student-theme .student-bottom-dock-item:hover {
    transform: translateY(-1px);
}

body.layout-navbar-fixed .wrapper .content-wrapper,
body.student-theme.layout-navbar-fixed .wrapper .content-wrapper {
    margin-top: 1rem !important;
    padding-top: 1rem !important;
}

@media (min-width: 992px) {
    body.student-theme.sidebar-open .content-wrapper,
    body.student-theme:not(.sidebar-collapse) .content-wrapper {
        margin-left: 250px;
        width: calc(100% - 250px);
    }

    body.student-theme.sidebar-collapse .content-wrapper {
        margin-left: 4.6rem;
        width: calc(100% - 4.6rem);
    }

    body.student-theme.sidebar-open .main-header.navbar,
    body.student-theme:not(.sidebar-collapse) .main-header.navbar {
        left: 250px;
        right: 0.75rem;
        width: calc(100% - 250px - 0.75rem) !important;
        margin-left: 0;
    }

    body.student-theme.sidebar-collapse .main-header.navbar {
        left: 4.6rem;
        right: 0.75rem;
        width: calc(100% - 4.6rem - 0.75rem) !important;
        margin-left: 0;
    }

    body.student-theme .student-appbar-actions {
        flex-wrap: nowrap;
        max-width: min(100%, 300px);
    }

    body.student-theme .student-session-chip {
        min-width: 124px;
    }
}

@media (min-width: 992px) {
    body.student-theme .student-logout-pill {
        padding: 0.35rem 0.72rem;
        gap: 0.4rem;
    }
}

body.student-theme .student-dashboard-hero {
    margin: 0.05rem 0 0.75rem;
    padding: 0.85rem 1rem 0.95rem;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 244, 224, 0.88));
    border: 1px solid rgba(219, 228, 238, 0.92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    transition: padding 0.25s ease, border-radius 0.25s ease, transform 0.25s ease;
}

body.student-theme .student-dashboard-action-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0;
    transition: gap 0.25s ease;
}

body.student-theme .student-module-page-shell {
    padding-top: 0.35rem;
    padding-bottom: 0.65rem;
}

body.student-theme .student-module-hero {
    margin: 0.05rem 0 0.9rem;
    border: 1px solid rgba(219, 228, 238, 0.92);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 224, 0.9));
}

body.student-theme .student-module-hero .card-body {
    padding: 1rem 1rem 0.95rem;
}

body.student-theme .student-module-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

body.student-theme .student-module-kicker {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-foreground, #64748b);
}

body.student-theme .student-module-title {
    margin: 0.2rem 0 0.3rem;
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    line-height: 1.08;
    font-weight: 900;
    color: var(--foreground, #0f172a);
}

body.student-theme .student-module-subtitle {
    margin: 0;
    color: var(--muted-foreground, #64748b);
    font-size: 0.94rem;
}

body.student-theme .student-module-alert {
    margin-top: 0.8rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(219, 228, 238, 0.92);
    background: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    color: var(--foreground, #0f172a);
}

body.student-theme .student-module-alert-danger {
    border-color: rgba(239, 68, 68, 0.18);
    background: rgba(254, 242, 242, 0.96);
    color: #b91c1c;
}

body.student-theme .student-module-statgrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 0 0 0.9rem;
}

body.student-theme .student-module-statcard {
    min-height: 112px;
    padding: 0.95rem 1rem;
}

body.student-theme .student-module-statinput {
    margin-top: 0.35rem;
    width: 100%;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(1.5rem, 2.7vw, 2.15rem);
    font-weight: 900;
    line-height: 1;
    text-align: left;
    color: var(--foreground, #0f172a);
}

body.student-theme .student-module-panel {
    margin-top: 0.2rem;
}

body.student-theme .student-module-table-shell {
    overflow: auto;
}

body.student-theme .student-module-table {
    margin-bottom: 0;
}

body.student-theme .student-module-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding-top: 1rem;
}

body.student-theme .student-module-message {
    margin: 0;
    min-height: 1.2em;
    font-weight: 800;
}

body.student-theme .student-module-message-error {
    color: #ef4444;
}

body.student-theme .student-module-message-success {
    color: #16a34a;
}

body.student-theme .student-module-save-btn {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(22, 163, 74, 0.18);
}

body.student-theme .student-action-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 84px;
    padding: 1rem 1rem;
    border-radius: 24px;
    text-decoration: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 232, 0.94));
    border: 1px solid rgba(219, 228, 238, 0.94);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    color: var(--foreground, #0f172a);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.student-theme .student-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.11);
}

body.student-theme .student-action-card-hidden {
    display: none !important;
}

body.student-theme .student-action-card-alt {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 240, 246, 0.94));
}

body.student-theme .student-action-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg, var(--primary, #1877f2), rgba(24, 119, 242, 0.74));
}

body.student-theme.theme-female .student-action-card-icon {
    background: linear-gradient(135deg, var(--primary, #ff3f6c), rgba(255, 63, 108, 0.74));
}

body.student-theme .student-action-card-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.student-theme .student-action-card-kicker {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted-foreground, #64748b);
}

body.student-theme .student-action-card-title {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
}

body.student-theme .student-dashboard-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
}

body.student-theme .student-dashboard-greeting {
    margin: 0.15rem 0 0.3rem;
    font-size: clamp(1.55rem, 3.2vw, 2.4rem);
    line-height: 1.05;
    font-weight: 900;
    color: var(--foreground, #0f172a);
}

body.student-theme .student-dashboard-session-shell {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

body.student-theme .student-dashboard-session-form {
    margin: 0;
}

body.student-theme .student-dashboard-session-label {
    display: none;
}

body.student-theme .student-dashboard-session-chip {
    min-height: 38px;
    padding: 0.3rem 0.65rem 0.3rem 0.78rem;
    gap: 0.35rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

body.student-theme .student-dashboard-session-chip i {
    font-size: 0.8rem;
}

body.student-theme .student-dashboard-session-chip .student-session-select {
    max-width: 132px;
    font-size: 0.83rem;
}

body.student-theme .student-dashboard-session-chip .student-session-chevron {
    font-size: 0.63rem;
}

body.student-theme .student-dashboard-subtitle {
    margin: 0;
    color: var(--muted-foreground, #64748b);
    font-size: 0.95rem;
}

body.student-theme .student-dashboard-hero-badge {
    width: 0;
    height: 0;
    overflow: hidden;
}

body.student-theme .student-dashboard-quickgrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.65rem;
}

body.student-theme .student-dashboard-summarygrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 1rem 0 0.25rem;
}

body.student-theme .student-points-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 0.15rem 0 1rem;
}

body.student-theme .student-dashboard-quickcard {
    display: block;
    text-decoration: none;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(219, 228, 238, 0.9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    min-height: 108px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.student-theme .student-dashboard-quickcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
    border-color: rgba(24, 119, 242, 0.18);
}

body.student-theme .student-dashboard-quickcard-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-foreground, #64748b);
    font-weight: 800;
}

body.student-theme .student-dashboard-quickcard-value {
    margin-top: 0.35rem;
    font-size: clamp(1.8rem, 2.8vw, 2.35rem);
    font-weight: 900;
    line-height: 1;
    color: var(--foreground, #0f172a);
    letter-spacing: -0.03em;
}

body.student-theme .student-dashboard-summarygrid .student-dashboard-quickcard {
    min-height: 118px;
    padding: 1rem 1.05rem;
}

body.student-theme .student-dashboard-summarygrid .student-dashboard-quickcard-value {
    font-size: clamp(2rem, 3.2vw, 2.65rem);
}

body.student-theme .student-points-meta-card,
body.student-theme .student-points-session-card {
    min-height: 112px;
}

body.student-theme .student-points-session-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

body.student-theme .student-points-session-copy {
    min-width: 0;
}

body.student-theme .student-points-session-note {
    margin-top: 0.2rem;
    font-size: 0.88rem;
    color: var(--muted-foreground, #64748b);
}

body.student-theme .student-points-session-form {
    margin-left: auto;
}

body.student-theme .student-points-session-chip {
    width: fit-content;
}

body.student-theme .student-dashboard-quickcard:not(.student-dashboard-quickcard-whatsapp) {
    position: relative;
    overflow: hidden;
}

body.student-theme .student-dashboard-quickcard:not(.student-dashboard-quickcard-whatsapp)::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(24, 119, 242, 0.08), transparent 45%),
        radial-gradient(circle at top right, rgba(24, 119, 242, 0.08), transparent 28%);
    pointer-events: none;
}

body.student-theme .student-dashboard-quickcard:not(.student-dashboard-quickcard-whatsapp) > * {
    position: relative;
    z-index: 1;
}

body.student-theme .student-dashboard-quickcard-whatsapp {
    background:
        linear-gradient(145deg, rgba(37, 211, 102, 0.12), rgba(255, 255, 255, 0.98));
    border-color: rgba(37, 211, 102, 0.22);
}

body.student-theme .student-dashboard-quickcard-whatsapp-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

body.student-theme .student-dashboard-quickcard-whatsapp-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #25d366, #1fa855);
    box-shadow: 0 10px 18px rgba(37, 211, 102, 0.25);
}

body.student-theme .student-dashboard-quickcard-whatsapp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.12);
    color: #148a43;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.student-theme .student-dashboard-quickcard-whatsapp-title {
    margin-top: 0.55rem;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.25;
    color: #0f5132;
}

body.student-theme .student-points-card,
body.student-theme .student-points-summary-card,
body.student-theme .student-profile-card {
    border: 1px solid rgba(219, 228, 238, 0.92);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

body.student-theme .student-points-card-header,
body.student-theme .student-summary-card-header,
body.student-theme .student-profile-card-header {
    background:
        linear-gradient(135deg, var(--primary, #1877f2), rgba(24, 119, 242, 0.84));
    border-bottom: 1px solid rgba(219, 228, 238, 0.92);
    padding: 0.7rem 0.9rem;
}

body.student-theme.theme-female .student-points-card-header,
body.student-theme.theme-female .student-summary-card-header,
body.student-theme.theme-female .student-profile-card-header {
    background:
        linear-gradient(135deg, var(--primary, #ff3f6c), rgba(255, 63, 108, 0.84));
}

body.student-theme .student-points-card-header .card-title,
body.student-theme .student-summary-card-header .card-title,
body.student-theme .student-profile-card-header .card-title {
    color: #fff !important;
    font-weight: 900;
}

body.student-theme .student-points-card-header .row,
body.student-theme .student-summary-card-header .row,
body.student-theme .student-profile-card-header .row {
    align-items: center;
}

body.student-theme .student-summary-card-header .col-md-12 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

body.student-theme .student-profile-card-header .col-md-12 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

body.student-theme .student-points-card-header .btn.btn-secondary,
body.student-theme .student-points-card-header .btn.btn-warning,
body.student-theme .student-summary-card-header .student-edit-profile-btn,
body.student-theme .student-profile-card-header .student-edit-profile-btn {
    float: none;
}

body.student-theme .student-points-card-header .btn.btn-secondary,
body.student-theme .student-points-card-header .btn.btn-warning {
    margin-left: auto;
}

body.student-theme .student-points-card-header .btn.btn-secondary,
body.student-theme .student-points-card-header .btn.btn-warning,
body.student-theme .student-summary-card-header .student-edit-profile-btn,
body.student-theme .student-profile-card-header .student-edit-profile-btn {
    color: var(--foreground, #0f172a);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

body.student-theme .student-summary-card-header .student-edit-profile-btn {
    margin-left: auto;
}

body.student-theme .student-profile-card-header .student-edit-profile-btn {
    margin-left: auto;
}

body.student-theme .student-profile-card-header .student-edit-profile-btn:hover,
body.student-theme .student-points-card-header .btn.btn-secondary:hover,
body.student-theme .student-points-card-header .btn.btn-warning:hover {
    background: rgba(255, 255, 255, 0.92);
}

body.student-theme .student-points-card-body,
body.student-theme .student-points-summary-card-body,
body.student-theme .student-profile-card-body {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

body.student-theme .student-points-card-body {
    padding: 0.8rem 0.85rem 0.9rem;
}

body.student-theme .student-profile-session-row {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(219, 228, 238, 0.85);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

body.student-theme .student-profile-session-copy {
    min-width: 0;
}

body.student-theme .student-profile-session-label {
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground, #64748b);
}

body.student-theme .student-profile-session-note {
    margin-top: 0.2rem;
    font-size: 0.88rem;
    color: var(--muted-foreground, #64748b);
}

body.student-theme .student-profile-session-form {
    margin: 0;
    margin-left: auto;
}

body.student-theme .student-profile-session-chip {
    min-width: 0;
    width: fit-content;
}

body.student-theme .student-points-table-wrap {
    overflow: auto;
}

body.student-theme .student-points-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid rgba(219, 228, 238, 0.92);
    border-radius: 20px;
    background: #fff;
}

body.student-theme .student-points-table thead th {
    background: linear-gradient(135deg, var(--primary, #1877f2), rgba(24, 119, 242, 0.84));
    color: #fff;
    border: 0;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 0.68rem 0.75rem;
    font-size: 0.84rem;
}

body.student-theme.theme-female .student-points-table thead th {
    background: linear-gradient(135deg, var(--primary, #ff3f6c), rgba(255, 63, 108, 0.84));
}

body.student-theme .student-points-table tbody th,
body.student-theme .student-points-table tbody td {
    border-top: 1px solid rgba(219, 228, 238, 0.85);
    border-right: 1px solid rgba(219, 228, 238, 0.6);
    padding: 0.52rem 0.62rem;
    vertical-align: middle;
    font-size: 0.84rem;
    line-height: 1.15;
}

body.student-theme .student-points-table tbody tr:nth-child(even) {
    background: rgba(247, 250, 255, 0.8);
}

body.student-theme .student-points-table tbody tr:hover {
    background: rgba(24, 119, 242, 0.04);
}

body.student-theme.theme-female .student-points-table tbody tr:hover {
    background: rgba(255, 63, 108, 0.05);
}

body.student-theme .student-points-table .student-points-summary-row th,
body.student-theme .student-points-table .student-points-summary-row td {
    background: linear-gradient(135deg, rgba(238, 244, 255, 0.92), rgba(255, 255, 255, 0.95));
    font-weight: 700;
}

body.student-theme .student-points-table .student-points-total-row th,
body.student-theme .student-points-table .student-points-total-row td {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.09), rgba(255, 255, 255, 0.98));
    font-weight: 800;
}

body.student-theme.theme-female .student-points-table .student-points-summary-row th,
body.student-theme.theme-female .student-points-table .student-points-summary-row td {
    background: linear-gradient(135deg, rgba(255, 63, 108, 0.08), rgba(255, 255, 255, 0.95));
}

body.student-theme.theme-female .student-points-table .student-points-total-row th,
body.student-theme.theme-female .student-points-table .student-points-total-row td {
    background: linear-gradient(135deg, rgba(255, 63, 108, 0.08), rgba(255, 255, 255, 0.98));
}

body.student-theme .student-points-table .btn.btn-warning.btn-sm {
    border: 0;
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    background: linear-gradient(135deg, var(--primary, #1877f2), rgba(24, 119, 242, 0.84));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(24, 119, 242, 0.18);
    font-size: 0.78rem;
    line-height: 1.1;
}

body.student-theme.theme-female .student-points-table .btn.btn-warning.btn-sm {
    background: linear-gradient(135deg, var(--primary, #ff3f6c), rgba(255, 63, 108, 0.84));
    box-shadow: 0 8px 16px rgba(255, 63, 108, 0.18);
}

body.student-theme .student-profile-card .form-group label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted-foreground, #64748b);
    margin-bottom: 0.45rem;
    font-weight: 800;
}

body.student-theme .student-profile-card-header .student-edit-profile-btn {
    margin-left: auto;
    color: var(--foreground, #0f172a);
}

body.student-theme .student-profile-card-header .student-edit-profile-btn i {
    color: var(--primary, #1877f2);
}

body.student-theme.theme-female .student-profile-card-header .student-edit-profile-btn i {
    color: var(--primary, #ff3f6c);
}

body.student-theme .student-profile-card .form-control {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 16px;
    border-color: rgba(219, 228, 238, 0.95);
}

body.student-theme .student-profile-field-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    border: 0;
    color: #6b7280;
    pointer-events: none;
    z-index: 2;
    box-shadow: none;
}

body.student-theme.theme-female .student-profile-field-icon {
    color: #6b7280;
}

body.student-theme .student-profile-field-icon i {
    font-size: 0.95rem;
}

body.student-theme .student-profile-input-with-icon {
    position: relative;
}

body.student-theme .student-profile-input-with-icon .form-control {
    padding-left: 2.35rem;
}

body.student-theme .student-profile-input-with-icon-phone .student-profile-field-icon {
    color: #1877f2;
}

body.student-theme .student-profile-input-with-icon-whatsapp .student-profile-field-icon {
    color: #25d366;
    background: transparent;
}

body.student-theme .student-profile-gender-pill {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(219, 228, 238, 0.95);
    background: rgba(255, 255, 255, 0.94);
    font-weight: 900;
    line-height: 1;
}

body.student-theme .student-profile-gender-pill i {
    font-size: 1.05rem;
}

body.student-theme .student-profile-gender-pill-male {
    color: #1877f2;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.12), rgba(24, 119, 242, 0.04));
}

body.student-theme .student-profile-gender-pill-female {
    color: #ff3f6c;
    background: linear-gradient(135deg, rgba(255, 63, 108, 0.12), rgba(255, 63, 108, 0.04));
}

body.student-theme .student-profile-field {
    margin-bottom: 0.5rem;
}

body.student-theme .student-profile-edit-card .card-body {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

body.student-theme .student-profile-edit-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid rgba(219, 228, 238, 0.9);
    padding: 1rem;
}

body.student-theme .student-profile-edit-status {
    min-width: 0;
}

body.student-theme .student-profile-edit-message {
    margin: 0;
    min-height: 1.3em;
    font-weight: 800;
}

body.student-theme .student-profile-edit-message-error {
    color: #ef4444;
}

body.student-theme .student-profile-edit-message-success {
    color: #16a34a;
}

body.student-theme .student-profile-save-btn {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(22, 163, 74, 0.18);
}

body.student-theme .student-edit-profile-btn {
    float: right;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    color: var(--foreground, #0f172a);
    border: 1px solid rgba(219, 228, 238, 0.96);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body.student-theme .student-edit-profile-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    border-color: rgba(24, 119, 242, 0.22);
}

body.student-theme.theme-female .student-edit-profile-btn:hover {
    border-color: rgba(255, 63, 108, 0.22);
}

@media (min-width: 992px) {
    body.student-theme.sidebar-open .student-dashboard-page-shell,
    body.student-theme:not(.sidebar-collapse) .student-dashboard-page-shell {
        max-width: calc(100vw - 300px);
        padding: 0 0.5rem;
    }

    body.student-theme.sidebar-open .student-dashboard-hero,
    body.student-theme:not(.sidebar-collapse) .student-dashboard-hero {
        padding: 0.85rem;
        border-radius: 24px;
        transform: translateY(0);
    }

    body.student-theme.sidebar-open .student-dashboard-greeting,
    body.student-theme:not(.sidebar-collapse) .student-dashboard-greeting {
        font-size: clamp(1.35rem, 2.7vw, 2.1rem);
    }

    body.student-theme.sidebar-open .student-dashboard-hero-badge,
    body.student-theme:not(.sidebar-collapse) .student-dashboard-hero-badge {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }

    body.student-theme.sidebar-open .student-dashboard-quickgrid,
    body.student-theme:not(.sidebar-collapse) .student-dashboard-quickgrid {
        gap: 0.7rem;
    }

    body.student-theme.sidebar-open .student-dashboard-quickcard,
    body.student-theme:not(.sidebar-collapse) .student-dashboard-quickcard {
        padding: 0.8rem 0.9rem;
    }

    body.student-theme.sidebar-open .student-dashboard-action-row,
    body.student-theme:not(.sidebar-collapse) .student-dashboard-action-row {
        gap: 0.7rem;
    }
}

@media (max-width: 1200px) {
    body.student-theme .student-session-label {
        display: none;
    }

    body.student-theme .student-appbar-actions {
        max-width: min(100%, 290px);
    }
}

@media (max-width: 768px) {
    body.student-theme .student-dashboard-quickgrid,
    body.student-theme .student-dashboard-summarygrid {
        grid-template-columns: 1fr;
    }

    body.student-theme .student-points-meta-grid {
        grid-template-columns: 1fr;
    }

    body.student-theme .student-dashboard-hero-top {
        align-items: flex-start;
    }

    body.student-theme .student-summary-card-header .col-md-12 {
        justify-content: flex-start;
        text-align: left;
    }

    body.student-theme .student-summary-card-header .card-title {
        width: auto;
        text-align: left;
    }

    body.student-theme .student-module-statgrid {
        grid-template-columns: 1fr;
    }

    body.student-theme .student-module-hero-top {
        flex-direction: column;
    }

}

@media (max-width: 1200px) and (min-width: 769px) {
    body.student-theme .student-dashboard-quickgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.student-theme .student-dashboard-summarygrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.student-theme .student-points-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.student-theme .student-module-statgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.student-theme .main-sidebar {
        position: fixed;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        transform: translateY(-100%);
        transition: transform 0.28s ease;
        z-index: 1065;
    }

    body.student-theme.sidebar-open .main-sidebar {
        transform: translateY(0);
    }

    body.student-theme .main-sidebar .sidebar {
        height: 100%;
        overflow-y: auto;
        padding-bottom: 1rem;
    }

    body.student-theme .sidebar-mobile-top {
        padding: 1rem 1rem 0.65rem;
    }

    body.student-theme .sidebar-mobile-close {
        display: inline-flex;
    }

    body.student-theme .main-header.navbar {
        margin: 0.5rem 0.5rem 0;
        border-radius: 22px;
        flex-wrap: nowrap;
        gap: 0.45rem;
    }

    body.student-theme .student-appbar {
        gap: 0.45rem;
    }

    body.student-theme .student-appbar-actions {
        width: auto;
        margin-left: auto;
        justify-content: flex-end;
        gap: 0.4rem;
        flex-wrap: nowrap;
        max-width: none;
    }

    body.student-theme .student-appbar-title-wrap {
        margin-left: 0.35rem;
    }

    body.student-theme .student-session-chip {
        width: 100%;
        justify-content: space-between;
    }

    body.student-theme .student-session-select {
        width: 100%;
    }

    body.student-theme .student-logout-pill {
        padding: 0.5rem 0.65rem;
    }

    body.student-theme .student-bottom-dock {
        width: calc(100vw - 1rem);
        bottom: 0.5rem;
    }

    body.student-theme .student-dashboard-action-row {
        grid-template-columns: 1fr;
    }

    body.student-theme .student-dashboard-hero {
        padding: 0.9rem;
    }

    body.student-theme .student-profile-session-row {
        align-items: flex-start;
    }

    body.student-theme .student-profile-session-form {
        width: 100%;
    }

    body.student-theme .student-profile-session-chip {
        width: 100%;
        justify-content: space-between;
    }
}
