/* =========================================================
   CODEWORD HACKATHON â€” STUDENT DASHBOARD â€” UPDATED
   Redesigned stylesheet
   ---------------------------------------------------------
   Design system: Manrope type, indigo + amber palette,
   a light "console" sidebar, and consistent card language.

   IMPORTANT
   - Every class/ID used by the HTML and by
     student-dashboard.js is styled here. No selector was
     renamed, so no JavaScript logic needs to change.
   - Loaded after hackathon.css, scoped to
     .student-dashboard-page so the site header is untouched.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');


/* =========================================================
   01. DESIGN TOKENS
   ========================================================= */

.student-dashboard-page {
    /* ---- core palette ---- */
    --sd-ink: #14181f;
    --sd-ink-soft: #40465a;
    --sd-slate: #6b7386;
    --sd-muted: #98a1b3;

    --sd-indigo: #4338ca;
    --sd-indigo-dark: #362d9e;
    --sd-indigo-light: #eeecfb;
    --sd-indigo-soft: #e0defa;

    --sd-amber: #f5a524;
    --sd-amber-dark: #c9820f;
    --sd-amber-light: #fff3de;

    --sd-green: #14a463;
    --sd-green-light: #e6f8ef;
    --sd-red: #e0453e;
    --sd-red-light: #fdeceb;
    --sd-yellow: #b9790a;
    --sd-yellow-light: #fff3de;
    --sd-blue: #2563eb;
    --sd-blue-light: #eaf1ff;

    --sd-white: #ffffff;
    --sd-bg: #f4f6fb;
    --sd-card: #ffffff;
    --sd-text: var(--sd-ink);
    --sd-text-2: var(--sd-ink-soft);
    --sd-border: #e6e8f0;
    --sd-border-dark: #d7dae6;

    /* ---- elevation ---- */
    --sd-shadow-sm: 0 2px 10px rgba(20, 24, 31, 0.05);
    --sd-shadow: 0 12px 28px rgba(20, 24, 31, 0.08);
    --sd-shadow-lg: 0 24px 60px rgba(20, 24, 31, 0.18);

    /* ---- shape ---- */
    --sd-radius-lg: 22px;
    --sd-radius: 16px;
    --sd-radius-sm: 11px;
    --sd-radius-pill: 999px;

    /* ---- layout ---- */
    --sd-sidebar-width: 264px;
    --sd-header-height: 108px;

    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    color: var(--sd-text);
}


/* =========================================================
   02. PAGE BASE
   ========================================================= */

body.student-dashboard-page {
    margin: 0;
    min-height: 100vh;
    background: var(--sd-bg);
    color: var(--sd-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.student-dashboard-page *,
.student-dashboard-page *::before,
.student-dashboard-page *::after {
    box-sizing: border-box;
}

.student-dashboard-page button,
.student-dashboard-page input,
.student-dashboard-page select,
.student-dashboard-page textarea {
    font-family: inherit;
}

.student-dashboard-page button,
.student-dashboard-page a {
    -webkit-tap-highlight-color: transparent;
}

.student-dashboard-page #header {
    position: relative;
    z-index: 1000;
    width: 100%;
}


/* =========================================================
   03. SIDEBAR SHELL
   ========================================================= */

.student-dashboard-page .dashboard-navbar {
    position: fixed;
    z-index: 900;
    top: var(--sd-header-height);
    left: 0;
    bottom: 0;
    width: var(--sd-sidebar-width);
    min-height: calc(100vh - var(--sd-header-height));

    display: flex;
    flex-direction: column;
    padding: 18px 16px;

    background: var(--sd-white);
    color: var(--sd-text);
    border-right: 1px solid var(--sd-border);
    box-shadow: 4px 0 24px rgba(20, 24, 31, 0.04);
}

.student-dashboard-page .dashboard-navbar .nav-left {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}


/* =========================================================
   04. BRAND
   ========================================================= */

.student-dashboard-page .dashboard-navbar .logo {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 6px 6px 18px;
    color: var(--sd-text);
    font-size: 15px;
    font-weight: 800;
    border-bottom: 1px solid var(--sd-border);
    overflow: hidden;
}

.student-dashboard-page .dashboard-navbar .logo-trophy {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--sd-indigo), #6656e0);
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(67, 56, 202, 0.28);
}

.student-dashboard-page .dashboard-navbar #navHackathonName {
    display: block;
    max-width: 165px;
    color: var(--sd-text);
    font-size: 14.5px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   05. BACK BUTTON (if present elsewhere in the shell)
   ========================================================= */

.student-dashboard-page .back-container {
    width: 100%;
    margin: 14px 0 6px;
}

.student-dashboard-page .back-btn {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-sm);
    background: var(--sd-bg);
    color: var(--sd-text-2);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.student-dashboard-page .back-btn:hover {
    background: var(--sd-indigo-light);
    border-color: var(--sd-indigo-soft);
    color: var(--sd-indigo-dark);
}

.student-dashboard-page .back-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--sd-indigo-light);
    color: var(--sd-indigo);
    font-size: 16px;
    font-weight: 800;
}


/* =========================================================
   06. STUDENT PROFILE BUTTON + DROPDOWN
   ========================================================= */

.student-dashboard-page .sidebar-profile-btn {
    position: relative;
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 10px 0 4px;
    padding: 10px;
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-sm);
    background: var(--sd-bg);
    color: var(--sd-text);
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.student-dashboard-page .sidebar-profile-btn:hover,
.student-dashboard-page .sidebar-profile-btn.active {
    background: var(--sd-indigo-light);
    border-color: var(--sd-indigo-soft);
}

.student-dashboard-page .sidebar-profile-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--sd-amber), #ffc266);
    color: #33230a;
    font-size: 18px;
    box-shadow: 0 6px 14px rgba(245, 165, 36, 0.30);
}

.student-dashboard-page .sidebar-profile-info {
    min-width: 0;
    flex: 1;
}

.student-dashboard-page .sidebar-profile-info strong {
    display: block;
    color: var(--sd-text);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.student-dashboard-page .sidebar-profile-info small {
    display: block;
    margin-top: 2px;
    color: var(--sd-muted);
    font-size: 10.5px;
    font-weight: 600;
}

.student-dashboard-page .sidebar-profile-arrow {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: grid;
    place-items: center;
    color: var(--sd-indigo);
    font-size: 19px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.student-dashboard-page .sidebar-profile-btn.active .sidebar-profile-arrow {
    transform: rotate(90deg);
}

.student-dashboard-page .profile-incomplete-blink {
    animation: sdAttention 1.6s ease-in-out infinite;
    border-color: var(--sd-amber) !important;
}

@keyframes sdAttention {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 165, 36, 0.35);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(245, 165, 36, 0);
    }
}


/* ---- dropdown panel ---- */

.student-dashboard-page .sidebar-profile-dropdown {
    position: absolute;
    top: 6px;
    left: calc(100% + 12px);
    width: 305px;
    max-width: calc(100vw - 30px);
    display: none;
    padding: 16px;
    background: var(--sd-white);
    color: var(--sd-text);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    box-shadow: var(--sd-shadow-lg);
    z-index: 1200;
}

.student-dashboard-page .sidebar-profile-dropdown.show {
    display: block;
    animation: sdProfileOpen 0.18s ease-out;
}

@keyframes sdProfileOpen {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }

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

.student-dashboard-page .sidebar-profile-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--sd-border);
}

.student-dashboard-page .profile-big-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sd-indigo-light);
    color: var(--sd-indigo);
    font-size: 19px;
}

.student-dashboard-page .sidebar-profile-heading-text strong {
    display: block;
    color: var(--sd-text);
    font-size: 14px;
    font-weight: 800;
}

.student-dashboard-page .sidebar-profile-heading-text small {
    display: block;
    margin-top: 2px;
    color: var(--sd-muted);
    font-size: 11px;
}

.student-dashboard-page .sidebar-profile-details {
    padding: 8px 0 4px;
}

.student-dashboard-page .sidebar-profile-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f0f1f6;
}

.student-dashboard-page .sidebar-profile-row:last-child {
    border-bottom: 0;
}

.student-dashboard-page .profile-detail-icon {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--sd-bg);
    font-size: 13px;
}

.student-dashboard-page .sidebar-profile-row small {
    display: block;
    color: var(--sd-muted);
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.student-dashboard-page .sidebar-profile-row strong {
    display: block;
    margin-top: 2px;
    color: var(--sd-text);
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.student-dashboard-page .sidebar-view-profile {
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: var(--sd-radius-sm);
    background: var(--sd-indigo);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 750;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.student-dashboard-page .sidebar-view-profile:hover {
    background: var(--sd-indigo-dark);
    transform: translateY(-1px);
}


/* =========================================================
   07. SIDEBAR NAVIGATION
   ---------------------------------------------------------
   Navigation order:
   1. Idea Presentation
   2. Problem Statement
   3. Team Management
   4. Your Registered Hackathon

   The HTML/JS IDs are preserved. CSS order controls only the
   visual sequence, so no JavaScript logic needs to change.
   ========================================================= */

.student-dashboard-page .dashboard-navbar .nav-center {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;

    /* Keep the menu immediately below the profile. */
    margin-top: 0;
    padding-top: 8px;

    border-top: 1px solid var(--sd-border);

    /* Do not allow the navigation block to create a large gap. */
    flex: 0 0 auto;
}

/* ---------------------------------------------------------
   MENU ORDER
   --------------------------------------------------------- */

.student-dashboard-page .dashboard-navbar .nav-center #ideaPresentationBtn {
    order: 1;
}

.student-dashboard-page .dashboard-navbar .nav-center #problemStatementBtn {
    order: 2;
}

.student-dashboard-page .dashboard-navbar .nav-center a[onclick*="openTeamPopup"] {
    order: 3;
}

.student-dashboard-page .dashboard-navbar .nav-center #hackathonDetailsBtn {
    order: 4;
}

/* ---------------------------------------------------------
   NAV ITEM
   --------------------------------------------------------- */

.student-dashboard-page .dashboard-navbar .nav-center a {
    position: relative;

    width: 100%;
    min-height: 43px;

    display: flex;
    align-items: center;

    padding: 8px 10px;

    border-radius: var(--sd-radius-sm);

    background: transparent;
    color: var(--sd-text-2);

    text-decoration: none;

    font-size: 12.5px;
    font-weight: 650;

    transition:
        color 0.15s ease,
        background 0.15s ease,
        transform 0.15s ease;
}

.student-dashboard-page .dashboard-navbar .nav-center a:hover {
    color: var(--sd-indigo-dark);
    background: var(--sd-indigo-light);
    transform: translateX(2px);
}

.student-dashboard-page .dashboard-navbar .nav-center a.active {
    color: var(--sd-indigo-dark);
    background: var(--sd-indigo-light);
    font-weight: 750;
}

/* ---------------------------------------------------------
   ACTIVE INDICATOR
   --------------------------------------------------------- */

.student-dashboard-page .dashboard-navbar .nav-center a.active::before {
    content: "";

    position: absolute;

    left: -16px;
    top: 7px;
    bottom: 7px;

    width: 3px;

    border-radius: 0 4px 4px 0;

    background: var(--sd-indigo);
}

/* ---------------------------------------------------------
   NAV ICON
   --------------------------------------------------------- */

.student-dashboard-page .sd-nav-icon {
    width: 27px;
    height: 27px;

    display: inline-grid;
    place-items: center;

    flex: 0 0 27px;

    margin-right: 9px;

    border-radius: 8px;

    background: var(--sd-amber-light);
    color: var(--sd-amber-dark);

    font-size: 13px;
    font-weight: 800;
}

.student-dashboard-page .dashboard-navbar .nav-center a.active .sd-nav-icon {
    background: var(--sd-indigo);
    color: #ffffff;
}

/* ---------------------------------------------------------
   IDEA PRESENTATION = FIRST / PRIMARY STEP
   --------------------------------------------------------- */

.student-dashboard-page .dashboard-navbar .nav-center #ideaPresentationBtn {
    color: var(--sd-indigo-dark);
    background: #faf9ff;
    font-weight: 750;
}

.student-dashboard-page .dashboard-navbar .nav-center #ideaPresentationBtn:hover {
    background: var(--sd-indigo-light);
}

/* ---------------------------------------------------------
   REGISTERED HACKATHON = LAST
   --------------------------------------------------------- */

.student-dashboard-page .dashboard-navbar .nav-center #hackathonDetailsBtn {
    margin-top: 2px;
}


/* =========================================================
   08. MAIN CONTENT SHELL
   ========================================================= */

.student-dashboard-page .dashboard-header,
.student-dashboard-page .dashboard-section {
    margin-left: var(--sd-sidebar-width);
}

.student-dashboard-page .dashboard-header {
    min-height: 128px;
    display: flex;
    align-items: center;
    padding: 26px 32px;
    background:
        radial-gradient(circle at 100% 0%, rgba(67, 56, 202, 0.07), transparent 55%),
        var(--sd-white);
    border-bottom: 1px solid var(--sd-border);
}

.student-dashboard-page .dashboard-header .container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.student-dashboard-page .dashboard-header h1 {
    margin: 0;
    color: var(--sd-text);
    font-size: clamp(22px, 2.6vw, 29px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.student-dashboard-page .dashboard-header h1 span {
    color: var(--sd-indigo);
}

.student-dashboard-page .dashboard-header .subtitle {
    margin: 8px 0 0;
    color: var(--sd-slate);
    font-size: 13px;
    font-weight: 500;
}

.student-dashboard-page #hackathonDate {
    color: var(--sd-text-2);
    font-weight: 700;
}

.student-dashboard-page #studentNameMain {
    display: none !important;
}

.student-dashboard-page .dashboard-section {
    padding: 94px 32px 55px;
    min-height: calc(100vh - var(--sd-header-height) - 128px);
}

.student-dashboard-page .dashboard-section>.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.student-dashboard-page .dashboard-grid {
    display: grid;
    gap: 20px;
    align-items: start;
}


/* =========================================================
   09. QUICK STATS (if rendered)
   ========================================================= */

.student-dashboard-page .dashboard-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.student-dashboard-page .quick-stat {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--sd-card);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    box-shadow: var(--sd-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.student-dashboard-page .quick-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--sd-shadow);
}

.student-dashboard-page .quick-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--sd-amber-light);
    font-size: 18px;
}

.student-dashboard-page .quick-stat span {
    display: block;
    color: var(--sd-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.student-dashboard-page .quick-stat strong {
    display: block;
    margin-top: 3px;
    color: var(--sd-text);
    font-size: 13px;
    font-weight: 750;
    overflow-wrap: anywhere;
}


/* =========================================================
   10. GENERIC DASHBOARD CARD
   ========================================================= */

.student-dashboard-page .dashboard-card {
    min-width: 0;
    padding: 34px;
    background: var(--sd-card);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-lg);
    box-shadow: var(--sd-shadow-sm);
    overflow: hidden;
}

.student-dashboard-page .dashboard-card>h3,
.student-dashboard-page .dashboard-card>h4 {
    margin: 0 0 18px;
    color: var(--sd-text);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.student-dashboard-page .dashboard-card>h4 {
    font-size: 15px;
}

.student-dashboard-page .dashboard-card p {
    margin: 7px 0;
    color: var(--sd-text-2);
    font-size: 13px;
    line-height: 1.6;
}

.student-dashboard-page .dashboard-card p b {
    color: var(--sd-text);
    font-weight: 750;
}

.student-dashboard-page #teamName {
    color: var(--sd-text);
    font-size: 15px;
    font-weight: 800;
}

.student-dashboard-page #status {
    display: inline-flex;
    margin-left: 6px;
}


/* =========================================================
   11. STATUS BADGES
   ========================================================= */

.student-dashboard-page .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: var(--sd-radius-pill);
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.student-dashboard-page .badge.approved {
    background: var(--sd-green-light);
    color: #0e7d4d;
    border: 1px solid #b9e9cf;
}

.student-dashboard-page .badge.pending {
    background: var(--sd-yellow-light);
    color: var(--sd-yellow);
    border: 1px solid #f2d9a6;
}

.student-dashboard-page .badge.rejected {
    background: var(--sd-red-light);
    color: #b8302a;
    border: 1px solid #f3c5c2;
}

.student-dashboard-page .badge.not-joined {
    background: #eef0f5;
    color: #626a7d;
    border: 1px solid #dde1ea;
}


/* =========================================================
   12. TEAM ACTION / ADMIN MESSAGE / CONNECTED BOXES
   ========================================================= */

.student-dashboard-page #teamActionBox {
    width: 100%;
    margin: 18px 0 0;
}

.student-dashboard-page .action-message,
.student-dashboard-page .team-connected-message {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 18px;
    border-radius: var(--sd-radius);
    border: 1px solid var(--sd-border);
    background: var(--sd-bg);
}

.student-dashboard-page .warning-message {
    border-color: #f2d9a6;
    background: var(--sd-amber-light);
}

.student-dashboard-page .action-message-icon,
.student-dashboard-page .team-connected-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #ffe8bd;
    font-size: 19px;
}

.student-dashboard-page .team-connected-icon {
    background: var(--sd-green-light);
    color: var(--sd-green);
}

.student-dashboard-page .action-message-content,
.student-dashboard-page .team-connected-message>div:not(.team-connected-icon) {
    min-width: 0;
}

.student-dashboard-page .action-message-content strong,
.student-dashboard-page .team-connected-message strong {
    display: block;
    color: var(--sd-text);
    font-size: 13.5px;
    font-weight: 750;
    line-height: 1.5;
}

.student-dashboard-page .action-message-content span,
.student-dashboard-page .team-connected-message small {
    display: block;
    margin-top: 5px;
    color: var(--sd-slate);
    font-size: 12px;
    line-height: 1.55;
}

.student-dashboard-page .action-message>.team-action-btn,
.student-dashboard-page .team-connected-message>.team-action-btn {
    grid-column: 2;
    justify-self: start;
    margin-top: 13px;
}


/* ---- shared button language ---- */

.student-dashboard-page .team-action-btn,
.student-dashboard-page .problem-action-btn,
.student-dashboard-page .problem-action-btn.primary,
.student-dashboard-page .view-problem-btn,
.student-dashboard-page .enroll-btn,
.student-dashboard-page .ps-btn-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 9px 16px;
    border: 0;
    border-radius: var(--sd-radius-sm);
    background: var(--sd-indigo);
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.student-dashboard-page .problem-action-btn:hover {
    background: var(--sd-indigo-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(67, 56, 202, 0.22);
    color: white;
}

.student-dashboard-page .team-action-btn:hover,

.student-dashboard-page .view-problem-btn:hover,
.student-dashboard-page .enroll-btn:hover:not(:disabled),
.student-dashboard-page .ps-btn-top:hover {
    background: var(--sd-indigo-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(67, 56, 202, 0.22);
}

.student-dashboard-page .problem-action-btn {
    background: var(--sd-white);
    color: var(--sd-indigo-dark);
    border: 1px solid var(--sd-indigo-soft);
}

.student-dashboard-page .problem-action-btn.primary {
    background: var(--sd-indigo);
    color: #ffffff;
    border: 0;
}

.student-dashboard-page .view-problem-btn {
    min-height: 32px;
    padding: 6px 12px;
    font-size: 10.5px;
}

.student-dashboard-page .ps-btn-top {
    background: var(--sd-bg);
    color: var(--sd-indigo-dark);
    border: 1px solid var(--sd-border-dark);
}

.student-dashboard-page .ps-btn-top:hover {
    background: var(--sd-indigo-light);
    box-shadow: none;
    transform: translateY(-1px);
}

.student-dashboard-page .enroll-btn {
    margin-top: 15px;
    min-height: 44px;
    background: var(--sd-amber);
    color: #33230a;
}

.student-dashboard-page .enroll-btn:hover:not(:disabled) {
    background: var(--sd-amber-dark);
    color: #ffffff;
}

.student-dashboard-page .enroll-btn:disabled,
.student-dashboard-page .enroll-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}


/* =========================================================
   13. ADMIN MESSAGE
   ========================================================= */

.student-dashboard-page #adminMessageBox {
    margin-top: 16px;
}

.student-dashboard-page .admin-msg-box {
    overflow: hidden;
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    background: var(--sd-bg);
}

.student-dashboard-page .admin-msg-box:not(.no-msg) {
    border-color: #f2d9a6;
    background: var(--sd-amber-light);
}

.student-dashboard-page .msg-header {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(20, 24, 31, 0.06);
    color: var(--sd-text);
    font-size: 12px;
    font-weight: 750;
}

.student-dashboard-page .msg-content {
    padding: 13px 14px;
    color: var(--sd-text-2);
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}


/* =========================================================
   14. TEAM MEMBERS
   ========================================================= */

.student-dashboard-page .team-members-section {
    margin-top: 22px;
    margin-bottom: 22px;
}

.student-dashboard-page .team-members-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

.student-dashboard-page .team-members-header h4 {
    margin: 0;
    color: var(--sd-text);
    font-size: 16px;
    font-weight: 800;
}

.student-dashboard-page .team-members-header p {
    margin: 4px 0 0;
    color: var(--sd-slate);
    font-size: 12px;
}

.student-dashboard-page .team-member-count {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 12px;
    border: 1px solid var(--sd-indigo-soft);
    border-radius: var(--sd-radius-pill);
    background: var(--sd-indigo-light);
    color: var(--sd-indigo-dark);
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.student-dashboard-page #memberList {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.student-dashboard-page #memberList>li {
    margin: 0;
    padding: 0;
}

.student-dashboard-page .member-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 16px;
    background: var(--sd-card);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    box-shadow: var(--sd-shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.student-dashboard-page .member-card:hover {
    border-color: var(--sd-indigo-soft);
    box-shadow: var(--sd-shadow);
    transform: translateY(-1px);
}

.student-dashboard-page .member-main {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 13px;
}

.student-dashboard-page .member-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sd-bg);
    border: 1px solid var(--sd-border);
    color: var(--sd-slate);
    font-size: 17px;
}

.student-dashboard-page .sd-icon-leader::before {
    content: "\1F451";
}

.student-dashboard-page .sd-icon-user::before {
    content: "\1F464";
}

.student-dashboard-page .member-avatar .sd-icon-leader {
    color: var(--sd-amber-dark);
}

.student-dashboard-page .member-information {
    min-width: 0;
    flex: 1;
}

.student-dashboard-page .member-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.student-dashboard-page .member-name {
    margin: 0;
    color: var(--sd-text);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.student-dashboard-page .member-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 16px;
    margin-top: 6px;
}

.student-dashboard-page .member-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--sd-slate);
    font-size: 11.5px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.student-dashboard-page .member-detail-icon {
    flex: 0 0 auto;
    font-size: 12px;
}

.student-dashboard-page .sd-icon-email::before {
    content: "\2709";
}

.student-dashboard-page .sd-icon-phone::before {
    content: "\260E";
}

.student-dashboard-page .member-status {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.student-dashboard-page .member-role-large,
.student-dashboard-page .member-role-badge,
.student-dashboard-page .leader-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 6px 11px;
    border-radius: var(--sd-radius-pill);
    font-size: 10.5px;
    font-weight: 750;
    white-space: nowrap;
}

.student-dashboard-page .member-role-large.leader,
.student-dashboard-page .member-role-badge.leader,
.student-dashboard-page .leader-badge {
    background: var(--sd-amber-light);
    border: 1px solid #f2d9a6;
    color: var(--sd-amber-dark);
}

.student-dashboard-page .member-role-large.member,
.student-dashboard-page .member-role-badge.member {
    background: #eef0f5;
    border: 1px solid #dde1ea;
    color: #626a7d;
}

.student-dashboard-page .role-status-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
}

.student-dashboard-page .member-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 18px;
    border: 1px dashed var(--sd-border-dark);
    border-radius: var(--sd-radius);
    background: var(--sd-bg);
    color: var(--sd-muted);
    font-size: 12.5px;
    font-weight: 600;
}

.student-dashboard-page .empty-member {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 26px !important;
    border: 1px dashed var(--sd-border-dark);
    border-radius: var(--sd-radius);
    background: var(--sd-bg);
    text-align: center;
}

.student-dashboard-page .empty-state-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--sd-indigo-light);
    font-size: 22px;
}

.student-dashboard-page .empty-state-content {
    max-width: 460px;
}

.student-dashboard-page .empty-state-content strong {
    display: block;
    color: var(--sd-text);
    font-size: 13.5px;
    font-weight: 750;
}

.student-dashboard-page .empty-state-content span {
    display: block;
    margin-top: 6px;
    color: var(--sd-slate);
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   15. SELECTED PROBLEM
   ========================================================= */

.student-dashboard-page #problemBox {
    margin-top: 18px;
}

.student-dashboard-page .problem-card {
    padding: 18px;
    border-radius: var(--sd-radius);
    border: 1px solid var(--sd-border);
    background: var(--sd-bg);
}

.student-dashboard-page .selected-problem {
    border-color: var(--sd-indigo-soft);
    background: var(--sd-indigo-light);
}

.student-dashboard-page .problem-title {
    color: var(--sd-slate);
    font-size: 10.5px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.student-dashboard-page .problem-name {
    margin-top: 7px;
    color: var(--sd-text);
    font-size: 14.5px;
    font-weight: 750;
    line-height: 1.4;
}

.student-dashboard-page .problem-desc {
    margin-top: 7px;
    color: var(--sd-text-2);
    font-size: 12px;
    line-height: 1.6;
}

.student-dashboard-page .problem-card .problem-action-btn {
    margin-top: 12px;
}

.student-dashboard-page .no-problem {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    border-color: #f2d9a6;
    background: var(--sd-amber-light);
}

.student-dashboard-page .problem-empty-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #ffe8bd;
    font-size: 19px;
}

.student-dashboard-page .problem-empty-content {
    min-width: 0;
}

.student-dashboard-page .problem-empty-content strong {
    display: block;
    color: var(--sd-text);
    font-size: 13.5px;
    font-weight: 750;
}

.student-dashboard-page .problem-empty-content span {
    display: block;
    margin-top: 5px;
    color: var(--sd-slate);
    font-size: 12px;
    line-height: 1.55;
}

.student-dashboard-page .problem-empty-content .problem-action-btn {
    display: inline-flex;
    margin-top: 13px;
}


/* =========================================================
   16. MODAL FOUNDATION (shared)
   ========================================================= */

.student-dashboard-page .modal,
.student-dashboard-page .hackathon-details-modal,
.student-dashboard-page .sd-idea-modal,
.student-dashboard-page .team-popup-overlay,
.student-dashboard-page .team-management-modal,
.student-dashboard-page .team-child-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 17, 23, 0.62);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow-y: auto;
}

.student-dashboard-page .hackathon-details-modal.show,
.student-dashboard-page .sd-idea-modal.show,
.student-dashboard-page .team-management-modal.show,
.student-dashboard-page .team-child-modal.show {
    display: flex;
    animation: sdModalFade 0.18s ease-out;
}

@keyframes sdModalFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.student-dashboard-page .modal-content {
    position: relative;
    width: min(900px, 100%);
    max-height: calc(100vh - 48px);
    padding: 26px;
    overflow-y: auto;
    background: var(--sd-white);
    color: var(--sd-text);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-lg);
    box-shadow: var(--sd-shadow-lg);
    animation: sdModalUp 0.2s ease-out;
}

@keyframes sdModalUp {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

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

.student-dashboard-page .modal-content h3 {
    margin: 0 0 18px;
    color: var(--sd-text);
    font-size: 19px;
    font-weight: 800;
}

.student-dashboard-page .close-modal {
    position: sticky;
    float: right;
    top: 0;
    z-index: 5;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-left: 10px;
    margin-bottom: 8px;
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-sm);
    background: var(--sd-bg);
    color: var(--sd-slate);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.student-dashboard-page .close-modal:hover {
    background: var(--sd-red-light);
    color: var(--sd-red);
}

body.hackathon-modal-open,
body.idea-presentation-modal-open,
body.modal-open {
    overflow: hidden;
}


/* =========================================================
   17. PROBLEM STATEMENT TABLE
   ========================================================= */

.student-dashboard-page .table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
}

.student-dashboard-page .ps-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    background: var(--sd-white);
}

.student-dashboard-page .ps-table th {
    padding: 12px;
    background: var(--sd-bg);
    border-bottom: 1px solid var(--sd-border);
    color: #092f87;
    font-size: 12.5px;
    font-weight: 750;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.student-dashboard-page .ps-table td {
    padding: 12px;
    border-bottom: 1px solid #eef0f5;
    color: #040c25;
    font-size: 11px;
    line-height: 2.5;
    font-weight: 500;
}

.student-dashboard-page .ps-table tbody tr:last-child td {
    border-bottom: 0;
}

.student-dashboard-page .ps-table tbody tr:hover {
    background: var(--sd-bg);
}


/* =========================================================
   18. FULL PROBLEM VIEW
   ========================================================= */

.student-dashboard-page .problem-view-modal {
    width: min(950px, 100%);
}

.student-dashboard-page .problem-header {
    padding: 4px 45px 15px 0;
    border-bottom: 1px solid var(--sd-border);
}

.student-dashboard-page .problem-header h2 {
    margin: 0;
    color: var(--sd-text);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
}

.student-dashboard-page .problem-body {
    padding: 18px 0;
    color: var(--sd-text-2);
    font-size: 13.5px;
    line-height: 1.75;
}

.student-dashboard-page .problem-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--sd-radius-sm);
}

.student-dashboard-page .problem-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 4px;
}

.student-dashboard-page .enrollMessageBox {
    margin-top: 10px;
}

.student-dashboard-page .enroll-msg {
    padding: 11px 13px;
    border-radius: var(--sd-radius-sm);
    font-size: 12px;
    font-weight: 650;
}

.student-dashboard-page .enroll-msg.success {
    background: var(--sd-green-light);
    border: 1px solid #b9e9cf;
    color: #0e7d4d;
}

.student-dashboard-page .enroll-msg.error {
    background: var(--sd-red-light);
    border: 1px solid #f3c5c2;
    color: #b8302a;
}


/* =========================================================
   19. HACKATHON DETAILS MODAL
   COMPLETE REPLACEMENT
   ---------------------------------------------------------
   Existing HTML + JavaScript classes/IDs are preserved.
   Desktop:
   LEFT  = Small hackathon image
   RIGHT = Hackathon name + information
   BELOW = Coordinator information
   Mobile:
   Image becomes full-width above information
   ========================================================= */


/* =========================================================
   MODAL OUTER BOX
   ========================================================= */

.student-dashboard-page .hackathon-details-modal-box {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    background: var(--sd-white);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-lg);
    box-shadow: var(--sd-shadow-lg);
    overflow: hidden;
    animation: sdModalUp 0.22s ease-out;
}


/* =========================================================
   MODAL HEADER
   ========================================================= */

.student-dashboard-page .hackathon-details-modal-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f6f4fe 100%);
    border-bottom: 1px solid var(--sd-border);
    flex-shrink: 0;
}

.student-dashboard-page .hackathon-modal-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-dashboard-page .hackathon-modal-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--sd-indigo-light);
    color: var(--sd-indigo);
    font-size: 19px;
}

.student-dashboard-page .hackathon-modal-title h2 {
    margin: 0;
    color: var(--sd-text);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.student-dashboard-page .hackathon-modal-title p {
    margin: 3px 0 0;
    color: var(--sd-slate);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.4;
}


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

.student-dashboard-page .hackathon-modal-close {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--sd-border);
    border-radius: 10px;
    background: var(--sd-bg);
    color: var(--sd-slate);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.student-dashboard-page .hackathon-modal-close:hover {
    background: var(--sd-red-light);
    color: var(--sd-red);
    transform: rotate(90deg);
}


/* =========================================================
   MODAL BODY
   ========================================================= */

.student-dashboard-page .hackathon-details-modal-body {
    width: 100%;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;

    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    align-items: start;

    background: #ffffff;
}


/* =========================================================
   LEFT HACKATHON IMAGE
   ========================================================= */

.student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-banner {
    grid-column: 1;
    grid-row: 1 / span 2;

    width: 235px;
    height: 300px;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--sd-bg);
    border: 1px solid var(--sd-border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
    transition: transform 0.3s ease;
}

.student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-banner:hover img {
    transform: scale(1.025);
}

.student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-banner img[src=""] {
    display: none;
}


/* =========================================================
   INFORMATION SECTIONS
   ========================================================= */

.student-dashboard-page .hackathon-modal-section {
    width: 100%;
    margin: 0;
    padding: 17px;
    background: var(--sd-white);
    border: 1px solid var(--sd-border);
    border-radius: 16px;
    min-width: 0;
}


/* Hackathon Information */

.student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-section:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}


/* Coordinator Information */

.student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-section:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.student-dashboard-page .hackathon-section-title {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 13px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--sd-border);
}

.student-dashboard-page .hackathon-section-title span {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--sd-indigo-light);
    font-size: 13px;
}

.student-dashboard-page .hackathon-section-title h3 {
    margin: 0;
    color: var(--sd-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}


/* =========================================================
   DETAIL GRID
   ========================================================= */

.student-dashboard-page .hackathon-detail-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    min-width: 0;
}


/* =========================================================
   DETAIL CARD
   ========================================================= */

.student-dashboard-page .hackathon-detail-item {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px;
    background: var(--sd-bg);
    border: 1px solid var(--sd-border);
    border-radius: 10px;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.student-dashboard-page .hackathon-detail-item:hover {
    background: #ffffff;
    border-color: var(--sd-indigo-soft);
    transform: translateY(-1px);
}


/* =========================================================
   DETAIL ICON
   ========================================================= */

.student-dashboard-page .detail-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--sd-indigo-light);
    font-size: 13px;
}


/* =========================================================
   DETAIL TEXT
   ========================================================= */

.student-dashboard-page .hackathon-detail-item>div {
    min-width: 0;
    flex: 1;
}

.student-dashboard-page .hackathon-detail-item small {
    display: block;
    margin: 0;
    color: var(--sd-muted);
    font-size: 8px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.45px;
}

.student-dashboard-page .hackathon-detail-item strong {
    display: block;
    margin-top: 3px;
    color: var(--sd-text);
    font-size: 11.5px;
    font-weight: 750;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* =========================================================
   LARGE HACKATHON NAME
   ========================================================= */

.student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-section:nth-child(2) .hackathon-detail-grid>.hackathon-detail-item:first-child {
    grid-column: 1 / -1;
    padding: 14px 15px;
    background: linear-gradient(135deg, #f8f7ff 0%, #f1efff 100%);
    border-color: var(--sd-indigo-soft);
    align-items: center;
}

.student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-section:nth-child(2) .hackathon-detail-grid>.hackathon-detail-item:first-child .detail-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 10px;
    background: var(--sd-indigo);
    color: #ffffff;
    font-size: 16px;
}

.student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-section:nth-child(2) .hackathon-detail-grid>.hackathon-detail-item:first-child small {
    font-size: 8.5px;
}

.student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-section:nth-child(2) .hackathon-detail-grid>.hackathon-detail-item:first-child strong {
    margin-top: 3px;
    color: var(--sd-indigo-dark);
    font-size: clamp(20px, 3vw, 27px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.35px;
}


/* =========================================================
   COORDINATOR EMAIL
   ========================================================= */

.student-dashboard-page .hackathon-email-item {
    grid-column: span 2;
}


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

.student-dashboard-page .hackathon-details-modal-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 13px 20px;
    background: var(--sd-bg);
    border-top: 1px solid var(--sd-border);
    flex-shrink: 0;
}

.student-dashboard-page .hackathon-close-btn {
    min-height: 39px;
    padding: 9px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--sd-indigo);
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.student-dashboard-page .hackathon-close-btn:hover {
    background: var(--sd-indigo-dark);
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(67, 56, 202, 0.22);
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1000px) {
    .student-dashboard-page .hackathon-details-modal-body {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-banner {
        width: 250px;
        height: 315px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {
    .student-dashboard-page .hackathon-details-modal-box {
        width: min(760px, 100%);
    }

    .student-dashboard-page .hackathon-details-modal-body {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-banner {
        width: 190px;
        height: 275px;
    }

    .student-dashboard-page .hackathon-detail-grid {
        gap: 8px;
    }
}


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

@media (max-width: 650px) {
    .student-dashboard-page .hackathon-details-modal {
        padding: 10px;
        align-items: flex-start;
    }

    .student-dashboard-page .hackathon-details-modal-box {
        width: 100%;
        max-height: calc(100vh - 20px);
        border-radius: 16px;
    }

    .student-dashboard-page .hackathon-details-modal-header {
        padding: 15px 16px;
    }

    .student-dashboard-page .hackathon-modal-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .student-dashboard-page .hackathon-modal-title h2 {
        font-size: 16px;
    }

    .student-dashboard-page .hackathon-modal-title p {
        font-size: 10.5px;
    }

    .student-dashboard-page .hackathon-details-modal-body {
        display: flex;
        flex-direction: column;
        gap: 13px;
        padding: 14px;
    }

    .student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-banner {
        order: 1;
        width: 100%;
        height: 190px;
        flex: none;
    }

    .student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-section:nth-child(2) {
        order: 2;
    }

    .student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-section:nth-child(3) {
        order: 3;
    }

    .student-dashboard-page .hackathon-detail-grid {
        grid-template-columns: 1fr;
    }

    .student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-section:nth-child(2) .hackathon-detail-grid>.hackathon-detail-item:first-child {
        grid-column: auto;
    }

    .student-dashboard-page .hackathon-email-item {
        grid-column: auto;
    }

    .student-dashboard-page .hackathon-details-modal-footer {
        padding: 12px 14px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {
    .student-dashboard-page .hackathon-details-modal-header {
        padding: 13px;
    }

    .student-dashboard-page .hackathon-modal-title {
        gap: 9px;
    }

    .student-dashboard-page .hackathon-modal-icon {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
        font-size: 16px;
    }

    .student-dashboard-page .hackathon-modal-title h2 {
        font-size: 15px;
    }

    .student-dashboard-page .hackathon-modal-title p {
        font-size: 9.5px;
    }

    .student-dashboard-page .hackathon-modal-close {
        width: 33px;
        height: 33px;
        flex-basis: 33px;
    }

    .student-dashboard-page .hackathon-details-modal-body {
        padding: 11px;
    }

    .student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-banner {
        height: 160px;
    }

    .student-dashboard-page .hackathon-modal-section {
        padding: 13px;
    }

    .student-dashboard-page .hackathon-details-modal-body>.hackathon-modal-section:nth-child(2) .hackathon-detail-grid>.hackathon-detail-item:first-child strong {
        font-size: 21px;
    }

    .student-dashboard-page .hackathon-detail-item {
        padding: 9px;
    }
}


/* =========================================================
   END OF HACKATHON DETAILS MODAL
   ========================================================= */



/* =========================================================
   20. COMPLETE PROFILE MODAL
   ========================================================= */

.student-dashboard-page #completeProfileModal .modal-content {
    width: min(700px, 100%);
}

.student-dashboard-page #completeProfileModal h3 {
    color: var(--sd-text);
}

.student-dashboard-page #completeProfileModal label {
    display: block;
    margin: 14px 0 6px;
    color: var(--sd-text-2);
    font-size: 12px;
    font-weight: 700;
}

.student-dashboard-page #completeProfileModal input:not([type="file"]),
.student-dashboard-page #completeProfileModal select,
.student-dashboard-page #completeProfileModal textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--sd-border-dark);
    border-radius: var(--sd-radius-sm);
    outline: none;
    background: var(--sd-white);
    color: var(--sd-text);
    font-size: 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.student-dashboard-page #completeProfileModal textarea {
    min-height: 84px;
    resize: vertical;
}

.student-dashboard-page #completeProfileModal input:not([type="file"]):focus,
.student-dashboard-page #completeProfileModal select:focus,
.student-dashboard-page #completeProfileModal textarea:focus {
    border-color: var(--sd-indigo);
    box-shadow: 0 0 0 3px var(--sd-indigo-light);
}

.student-dashboard-page #completeProfileModal input[type="file"] {
    width: 100%;
    padding: 9px;
    border: 1px dashed var(--sd-border-dark);
    border-radius: var(--sd-radius-sm);
    background: var(--sd-bg);
    color: var(--sd-text-2);
    font-size: 11px;
}

.student-dashboard-page #completeProfileModal small {
    display: block;
    margin-top: 4px;
    color: var(--sd-muted);
    font-size: 10px;
}

.student-dashboard-page .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--sd-border);
}

.student-dashboard-page .modal-actions button {
    min-height: 42px;
    padding: 10px 16px;
    border-radius: var(--sd-radius-sm);
    font-size: 12.5px;
    font-weight: 750;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.student-dashboard-page .modal-actions .primary {
    border: 0;
    background: var(--sd-indigo);
    color: #ffffff;
}

.student-dashboard-page .modal-actions .primary:hover {
    background: var(--sd-indigo-dark);
}

.student-dashboard-page .modal-actions .secondary {
    border: 1px solid var(--sd-border-dark);
    background: var(--sd-white);
    color: var(--sd-text-2);
}

.student-dashboard-page .modal-actions .secondary:hover {
    background: var(--sd-bg);
}

.student-dashboard-page .modal-actions button:hover {
    transform: translateY(-1px);
}


/* =========================================================
   21. TEAM POPUP (IFRAME)
   ========================================================= */

.student-dashboard-page .team-popup-overlay {
    z-index: 3500;
    padding: 20px;
}

.student-dashboard-page .team-popup-box {
    position: relative;
    width: min(1180px, 96vw);
    height: min(820px, 92vh);
    display: flex;
    overflow: hidden;
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-lg);
    background: var(--sd-white);
    box-shadow: var(--sd-shadow-lg);
}

.student-dashboard-page .team-popup-box iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: var(--sd-white);
}

.student-dashboard-page .close-popup {
    position: absolute;
    z-index: 10;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 24, 31, 0.85);
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--sd-shadow);
    transition: background 0.2s ease, transform 0.2s ease;
}

.student-dashboard-page .close-popup:hover {
    background: var(--sd-indigo);
    transform: rotate(90deg);
}


/* =========================================================
   22. TEAM MANAGEMENT + CHILD MODALS
   ========================================================= */

.student-dashboard-page .team-management-box {
    width: min(680px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--sd-white);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-lg);
    box-shadow: var(--sd-shadow-lg);
}

.student-dashboard-page .team-management-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 28px 20px;
    border-bottom: 1px solid var(--sd-border);
}

.student-dashboard-page .team-management-header h2 {
    margin: 0 0 6px;
    color: var(--sd-text);
    font-size: 22px;
    font-weight: 800;
}

.student-dashboard-page .team-management-header p {
    margin: 0;
    color: var(--sd-slate);
    font-size: 13px;
}

.student-dashboard-page .team-management-close,
.student-dashboard-page .team-child-close {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: var(--sd-bg);
    color: var(--sd-text);
    font-size: 22px;
    cursor: pointer;
    transition: 0.2s ease;
}

.student-dashboard-page .team-management-close:hover,
.student-dashboard-page .team-child-close:hover {
    background: var(--sd-indigo);
    color: #ffffff;
}

.student-dashboard-page .team-management-options {
    display: grid;
    gap: 14px;
    padding: 24px 28px;
}

.student-dashboard-page .team-management-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    text-align: left;
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    background: var(--sd-white);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.student-dashboard-page .team-management-card:hover {
    transform: translateY(-2px);
    border-color: var(--sd-indigo-soft);
    box-shadow: var(--sd-shadow);
}

.student-dashboard-page .team-option-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--sd-indigo-light);
    font-size: 24px;
}

.student-dashboard-page .team-option-content {
    flex: 1;
}

.student-dashboard-page .team-option-content h3 {
    margin: 0 0 5px;
    color: var(--sd-text);
    font-size: 16px;
    font-weight: 750;
}

.student-dashboard-page .team-option-content p {
    margin: 0;
    color: var(--sd-slate);
    font-size: 12.5px;
    line-height: 1.55;
}

.student-dashboard-page .team-option-arrow {
    color: var(--sd-indigo);
    font-size: 23px;
    font-weight: 700;
}

.student-dashboard-page .team-management-footer {
    padding: 18px 28px 24px;
    text-align: right;
    border-top: 1px solid var(--sd-border);
}

.student-dashboard-page .team-management-footer button {
    padding: 10px 18px;
    border: 1px solid var(--sd-border-dark);
    border-radius: var(--sd-radius-sm);
    background: var(--sd-white);
    color: var(--sd-text-2);
    font-weight: 700;
    cursor: pointer;
}

.student-dashboard-page .team-child-modal-box {
    width: min(1050px, 100%);
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--sd-bg);
    border-radius: var(--sd-radius-lg);
    box-shadow: var(--sd-shadow-lg);
}

.student-dashboard-page .team-child-header {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px 22px;
    background: var(--sd-white);
    border-bottom: 1px solid var(--sd-border);
}

.student-dashboard-page .team-child-header h2 {
    flex: 1;
    margin: 0;
    color: var(--sd-text);
    font-size: 20px;
    font-weight: 750;
}

.student-dashboard-page .team-back-btn {
    padding: 9px 14px;
    border: 1px solid var(--sd-border-dark);
    border-radius: var(--sd-radius-sm);
    background: var(--sd-white);
    color: var(--sd-text-2);
    font-weight: 700;
    cursor: pointer;
}

.student-dashboard-page .team-back-btn:hover {
    background: var(--sd-indigo);
    border-color: var(--sd-indigo);
    color: #ffffff;
}

.student-dashboard-page .team-child-content {
    flex: 1;
    min-height: 350px;
    overflow-y: auto;
    padding: 26px;
}

.student-dashboard-page .team-loading {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sd-slate);
    font-size: 14px;
}


/* =========================================================
   23. IDEA PRESENTATION MODAL
   ========================================================= */

.student-dashboard-page .sd-idea-modal {
    z-index: 3200;
    align-items: flex-start;
    padding: 30px 18px;
}

.student-dashboard-page .sd-idea-modal.show {
    display: flex;
}

.student-dashboard-page .sd-idea-modal-box {
    width: min(920px, 100%);
    margin: auto;
    background: var(--sd-white);
    color: var(--sd-text);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-lg);
    box-shadow: var(--sd-shadow-lg);
    overflow: hidden;
    animation: sdModalUp 0.22s ease-out;
}

.student-dashboard-page .sd-idea-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 24px;
    background: linear-gradient(135deg, var(--sd-indigo) 0%, #5b4de0 100%);
    color: #ffffff;
}

.student-dashboard-page .sd-idea-title-wrap {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.student-dashboard-page .sd-idea-title-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
}

.student-dashboard-page .sd-idea-title-wrap h2 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.student-dashboard-page .sd-idea-title-wrap p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
}

.student-dashboard-page .sd-idea-close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: var(--sd-radius-sm);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.student-dashboard-page .sd-idea-close:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: rotate(90deg);
}

.student-dashboard-page .sd-idea-guidelines {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 20px 22px 0;
    padding: 16px 17px;
    background: var(--sd-amber-light);
    border: 1px solid #f2d9a6;
    border-radius: var(--sd-radius);
}

.student-dashboard-page .sd-guideline-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sd-amber);
    color: #33230a;
    font-size: 15px;
    font-weight: 800;
}

.student-dashboard-page .sd-idea-guidelines strong {
    display: block;
    margin-bottom: 8px;
    color: #4a3a17;
    font-size: 13.5px;
    font-weight: 750;
}

.student-dashboard-page .sd-idea-guidelines p {
    margin: 0 0 8px;
    color: #6b552a;
    font-size: 12px;
    line-height: 1.55;
}

.student-dashboard-page .sd-idea-guidelines ul {
    margin: 0;
    padding-left: 18px;
}

.student-dashboard-page .sd-idea-guidelines li {
    margin: 5px 0;
    color: #6b552a;
    font-size: 12px;
    line-height: 1.55;
}

.student-dashboard-page .sd-idea-guidelines li b {
    color: #4a3a17;
    font-weight: 750;
}

.student-dashboard-page .sd-idea-form {
    padding: 22px 24px 26px;
}

.student-dashboard-page .sd-form-section {
    margin-top: 16px;
    padding: 20px;
    background: var(--sd-white);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
}

.student-dashboard-page .sd-form-section:first-child {
    margin-top: 0;
}

.student-dashboard-page .sd-form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.student-dashboard-page .sd-form-section-heading>span {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--sd-indigo-light);
    color: var(--sd-indigo-dark);
    font-size: 11.5px;
    font-weight: 800;
}

.student-dashboard-page .sd-form-section-heading h3 {
    margin: 0;
    color: var(--sd-text);
    font-size: 15.5px;
    font-weight: 750;
}

.student-dashboard-page .sd-form-section-heading p {
    margin: 4px 0 0;
    color: var(--sd-slate);
    font-size: 12px;
    line-height: 1.5;
}

.student-dashboard-page .sd-pdf-format-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.student-dashboard-page .sd-pdf-format-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 13px;
    background: var(--sd-bg);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-sm);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.student-dashboard-page .sd-pdf-format-item:hover {
    background: var(--sd-indigo-light);
    border-color: var(--sd-indigo-soft);
}

.student-dashboard-page .sd-format-number {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--sd-white);
    border: 1px solid var(--sd-border-dark);
    color: var(--sd-indigo-dark);
    font-size: 12px;
    font-weight: 800;
}

.student-dashboard-page .sd-pdf-format-item strong {
    display: block;
    color: var(--sd-text);
    font-size: 13px;
    font-weight: 750;
}

.student-dashboard-page .sd-pdf-format-item p {
    margin: 3px 0 0;
    color: var(--sd-slate);
    font-size: 11.5px;
    line-height: 1.55;
}

.student-dashboard-page .sd-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--sd-text);
    font-size: 13.5px;
    font-weight: 750;
}

.student-dashboard-page .sd-form-group label span {
    color: var(--sd-red);
    font-weight: 800;
}

.student-dashboard-page .sd-form-group input[type="text"],
.student-dashboard-page .sd-form-group textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--sd-border-dark);
    border-radius: var(--sd-radius-sm);
    background: var(--sd-white);
    color: var(--sd-text);
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.55;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.student-dashboard-page .sd-form-group input[type="text"] {
    min-height: 46px;
}

.student-dashboard-page .sd-form-group textarea {
    min-height: 125px;
    resize: vertical;
}

.student-dashboard-page .sd-form-group input[type="text"]:hover,
.student-dashboard-page .sd-form-group textarea:hover {
    border-color: var(--sd-border-dark);
}

.student-dashboard-page .sd-form-group input[type="text"]:focus,
.student-dashboard-page .sd-form-group textarea:focus {
    border-color: var(--sd-indigo);
    box-shadow: 0 0 0 3px var(--sd-indigo-light);
}

.student-dashboard-page .sd-form-group input::placeholder,
.student-dashboard-page .sd-form-group textarea::placeholder {
    color: var(--sd-muted);
    font-size: 13px;
}

.student-dashboard-page .sd-form-group small {
    display: block;
    margin-top: 7px;
    color: var(--sd-slate);
    font-size: 11px;
}

.student-dashboard-page .sd-field-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.student-dashboard-page #problemStatementCount {
    margin-top: 7px;
    color: var(--sd-slate);
    font-size: 11px;
    font-weight: 600;
}

.student-dashboard-page .sd-upload-box {
    position: relative;
    padding: 16px;
    border: 1.5px dashed var(--sd-border-dark);
    border-radius: var(--sd-radius);
    background: var(--sd-bg);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.student-dashboard-page .sd-upload-box:hover {
    border-color: var(--sd-indigo-soft);
    background: var(--sd-indigo-light);
}

.student-dashboard-page .sd-upload-box input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.student-dashboard-page .sd-upload-label {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 13px;
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-sm);
    background: var(--sd-white);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.student-dashboard-page .sd-upload-label:hover {
    border-color: var(--sd-indigo);
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.10);
}

.student-dashboard-page .sd-upload-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--sd-indigo-light);
    color: var(--sd-indigo-dark);
    font-size: 19px;
    font-weight: 800;
}

.student-dashboard-page .sd-upload-label strong {
    display: block;
    color: var(--sd-text);
    font-size: 13.5px;
    font-weight: 750;
}

.student-dashboard-page .sd-upload-label small {
    display: block;
    margin-top: 4px;
    color: var(--sd-slate);
    font-size: 11px;
}

.student-dashboard-page .sd-file-info {
    min-height: 18px;
    margin-top: 9px;
    color: var(--sd-slate);
    font-size: 12px;
}

.student-dashboard-page .sd-file-info.valid {
    color: #0e7d4d;
    font-weight: 650;
}

.student-dashboard-page .sd-file-info.error {
    color: #b8302a;
    font-weight: 650;
}

.student-dashboard-page .sd-form-message,
.student-dashboard-page .idea-presentation-message {
    display: none;
    margin-top: 12px;
    padding: 11px 13px;
    border-radius: var(--sd-radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.student-dashboard-page .sd-form-message:not(:empty),
.student-dashboard-page .idea-presentation-message:not(:empty) {
    display: block;
}

.student-dashboard-page .sd-form-message.success,
.student-dashboard-page .idea-presentation-message.success {
    background: var(--sd-green-light);
    border: 1px solid #b9e9cf;
    color: #0e7d4d;
}

.student-dashboard-page .sd-form-message.error,
.student-dashboard-page .idea-presentation-message.error {
    background: var(--sd-red-light);
    border: 1px solid #f3c5c2;
    color: #b8302a;
}

.student-dashboard-page .sd-idea-check {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-sm);
    background: var(--sd-bg);
}

.student-dashboard-page .sd-idea-check label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--sd-text-2);
    font-size: 12px;
    line-height: 1.6;
    cursor: pointer;
}

.student-dashboard-page .sd-idea-check label b {
    color: var(--sd-text);
    font-weight: 750;
}

.student-dashboard-page .sd-idea-check input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 2px 0 0;
    accent-color: var(--sd-indigo);
    cursor: pointer;
}

.student-dashboard-page .sd-idea-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--sd-border);
}

.student-dashboard-page .sd-idea-actions button {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: var(--sd-radius-sm);
    font-family: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.student-dashboard-page .sd-idea-cancel {
    border: 1px solid var(--sd-border-dark);
    background: var(--sd-white);
    color: var(--sd-text-2);
}

.student-dashboard-page .sd-idea-cancel:hover {
    background: var(--sd-bg);
    transform: translateY(-1px);
}

.student-dashboard-page .sd-idea-submit {
    min-width: 205px;
    border: 0;
    background: var(--sd-indigo);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(67, 56, 202, 0.24);
}

.student-dashboard-page .sd-idea-submit:hover:not(:disabled) {
    background: var(--sd-indigo-dark);
    transform: translateY(-1px);
}

.student-dashboard-page .sd-idea-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.student-dashboard-page .idea-submit-spinner,
.student-dashboard-page .sd-submit-spinner {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: -2px;
    margin-right: 7px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: sdSpin 0.7s linear infinite;
}

@keyframes sdSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   24. ERROR MESSAGE
   ========================================================= */

.student-dashboard-page #dashboardError {
    margin-bottom: 18px;
}

.student-dashboard-page .dashboard-error {
    padding: 41px 16px;
    border: 1px solid #f3c5c2;
    border-radius: var(--sd-radius-sm);
    background: var(--sd-red-light);
    color: #b8302a;
    font-size: 12px;
    font-weight: 650;
}


/* =========================================================
   25. SCROLLBARS + FOCUS
   ========================================================= */

.student-dashboard-page .dashboard-navbar::-webkit-scrollbar,
.student-dashboard-page .modal-content::-webkit-scrollbar,
.student-dashboard-page .table-wrapper::-webkit-scrollbar,
.student-dashboard-page .hackathon-details-modal-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.student-dashboard-page .dashboard-navbar::-webkit-scrollbar-track,
.student-dashboard-page .modal-content::-webkit-scrollbar-track,
.student-dashboard-page .table-wrapper::-webkit-scrollbar-track,
.student-dashboard-page .hackathon-details-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.student-dashboard-page .dashboard-navbar::-webkit-scrollbar-thumb,
.student-dashboard-page .modal-content::-webkit-scrollbar-thumb,
.student-dashboard-page .table-wrapper::-webkit-scrollbar-thumb,
.student-dashboard-page .hackathon-details-modal-body::-webkit-scrollbar-thumb {
    background: var(--sd-border-dark);
    border-radius: 99px;
}

.student-dashboard-page button:focus-visible,
.student-dashboard-page a:focus-visible,
.student-dashboard-page input:focus-visible,
.student-dashboard-page select:focus-visible,
.student-dashboard-page textarea:focus-visible {
    outline: 3px solid var(--sd-indigo-soft);
    outline-offset: 2px;
}


/* =========================================================
   26. RESPONSIVE BREAKPOINTS
   ========================================================= */

@media (min-width: 1400px) {
    .student-dashboard-page {
        --sd-sidebar-width: 280px;
    }

    .student-dashboard-page .dashboard-section,
    .student-dashboard-page .dashboard-header {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 1050px) {
    .student-dashboard-page {
        --sd-sidebar-width: 230px;
    }

    .student-dashboard-page .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .student-dashboard-page .dashboard-quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .student-dashboard-page #memberList {
        gap: 10px;
    }
}

@media (max-width: 800px) {
    .student-dashboard-page {
        --sd-header-height: 122px;
    }

    .student-dashboard-page .dashboard-navbar {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        width: 100%;
        min-height: auto;
        height: auto;
        padding: 14px 16px;
        border-right: 0;
        border-bottom: 1px solid var(--sd-border);
        box-shadow: none;
        padding-top: 28% !important;
    }

    .student-dashboard-page .dashboard-navbar .nav-left {
        height: auto;
    }

    .student-dashboard-page .dashboard-navbar .logo {
        padding-bottom: 12px;
    }

    .student-dashboard-page .dashboard-navbar .nav-center {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 0;
        padding-top: 8px;
    }

    .student-dashboard-page .dashboard-navbar .nav-center a {
        width: auto;
        flex: 1 1 170px;
    }

    .student-dashboard-page .dashboard-navbar .nav-center a.active::before {
        left: -6px;
    }

    .student-dashboard-page .sidebar-profile-dropdown {
        top: 84px;
        left: 0;
        z-index: 2000;
    }

    .student-dashboard-page .dashboard-header,
    .student-dashboard-page .dashboard-section {
        margin-left: 0;
    }

    .student-dashboard-page .dashboard-header {
        padding: 22px 18px;
    }

    .student-dashboard-page .dashboard-section {
        padding: 20px 18px 36px;
    }

    .student-dashboard-page .dashboard-quick-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .student-dashboard-page .hackathon-details-modal,
    .student-dashboard-page .sd-idea-modal {
        padding: 10px;
    }

    .student-dashboard-page .hackathon-details-modal-box {
        max-height: calc(100vh - 20px);
    }

    .student-dashboard-page .hackathon-modal-banner {
        height: 155px;
    }

    .student-dashboard-page .hackathon-detail-grid {
        grid-template-columns: 1fr;
    }

    .student-dashboard-page .hackathon-email-item {
        grid-column: span 1;
    }

    .student-dashboard-page .team-management-header,
    .student-dashboard-page .team-child-header {
        padding: 16px;
    }

    .student-dashboard-page .team-management-options {
        padding: 16px;
    }

    .student-dashboard-page .team-child-content {
        padding: 16px;
    }

    .student-dashboard-page .sd-idea-form {
        padding: 16px;
    }

    .student-dashboard-page .sd-form-section {
        padding: 16px;
    }

    .student-dashboard-page .sd-idea-guidelines {
        margin: 14px 14px 0;
        padding: 14px;
    }

    .student-dashboard-page .sd-idea-actions {
        flex-direction: column-reverse;
    }

    .student-dashboard-page .sd-idea-actions button {
        width: 100%;
    }

    .student-dashboard-page .member-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .student-dashboard-page .member-main {
        width: 100%;
    }

    .student-dashboard-page .member-status {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .student-dashboard-page .dashboard-header {
        min-height: 118px;
    }

    .student-dashboard-page .dashboard-header h1 {
        font-size: 21px;
    }

    .student-dashboard-page .dashboard-card {
        padding: 18px;
        border-radius: var(--sd-radius);
    }

    .student-dashboard-page .dashboard-navbar .nav-center {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
        margin-top: 0;
        padding-top: 8px;
    }

    .student-dashboard-page .dashboard-navbar .nav-center a {
        width: 100%;
        flex: 0 0 auto;
    }

    .student-dashboard-page .action-message,
    .student-dashboard-page .team-connected-message,
    .student-dashboard-page .no-problem {
        grid-template-columns: 40px minmax(0, 1fr);
        column-gap: 12px;
        padding: 15px;
    }

    .student-dashboard-page .action-message-icon,
    .student-dashboard-page .team-connected-icon,
    .student-dashboard-page .problem-empty-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 17px;
    }

    .student-dashboard-page .modal {
        padding: 10px;
        align-items: flex-start;
    }

    .student-dashboard-page .modal-content {
        max-height: calc(100vh - 20px);
        padding: 18px;
    }

    .student-dashboard-page .team-popup-overlay {
        padding: 8px;
    }

    .student-dashboard-page .team-popup-box {
        width: 100%;
        height: calc(100vh - 16px);
        border-radius: var(--sd-radius);
    }

    .student-dashboard-page .sidebar-profile-dropdown {
        width: calc(100vw - 20px);
        max-width: none;
        left: 0;
    }
}

@media (max-width: 420px) {

    .student-dashboard-page .action-message,
    .student-dashboard-page .team-connected-message,
    .student-dashboard-page .no-problem {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .student-dashboard-page .action-message>.team-action-btn,
    .student-dashboard-page .team-connected-message>.team-action-btn {
        grid-column: 1;
    }
}

@media (max-width: 400px) {
    .student-dashboard-page .dashboard-navbar #navHackathonName {
        max-width: 140px;
        font-size: 12.5px;
    }

    .student-dashboard-page .sidebar-profile-btn {
        min-height: 58px;
    }

    .student-dashboard-page .dashboard-header h1 {
        font-size: 19px;
    }
}


/* =========================================================
   27. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .student-dashboard-page *,
    .student-dashboard-page *::before,
    .student-dashboard-page *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* =========================================================
   FIX â€” REDUCE SPACE ABOVE SIDEBAR MENU
   ========================================================= */

.student-dashboard-page .dashboard-navbar {
    padding-top: 50px;
    padding-bottom: 10px;
}

.student-dashboard-page .dashboard-navbar .nav-left {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
}

/* Profile section */
.student-dashboard-page .sidebar-profile-btn {
    margin-top: 4px;
    margin-bottom: 2px;
}

/* Navigation starts immediately after profile */
.student-dashboard-page .dashboard-navbar .nav-center {
    margin-top: 0 !important;
    padding-top: 5px !important;
    gap: 3px !important;
}

/* Reduce individual menu height slightly */
.student-dashboard-page .dashboard-navbar .nav-center a {
    min-height: 40px;
    padding: 7px 10px;
}

/* Keep icons compact */
.student-dashboard-page .sd-nav-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
    margin-right: 8px;
}

/* Remove unnecessary extra space before first item */
.student-dashboard-page .dashboard-navbar .nav-center a:first-child {
    margin-top: 0 !important;
}

/* =========================================================
   TEAM NOTIFICATIONS
========================================================= */

.sd-team-notifications {
    width: 100%;
    margin: 24px 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}


/* ================= HEADER ================= */

.sd-notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #e9edf4;
    background: #f8fafc;
}


.sd-notification-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}


.sd-notification-heading h3 {
    margin: 0;
    color: #172554;
    font-size: 19px;
    font-weight: 700;
}


.sd-notification-heading p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 13px;
}


.sd-notification-bell {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef4ff;
    font-size: 19px;
}


.sd-notification-count {
    min-width: 30px;
    height: 30px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}


/* ================= LIST ================= */

.sd-notification-list {
    display: flex;
    flex-direction: column;
}


/* ================= CARD ================= */

.sd-notification-card {
    display: flex;
    gap: 15px;
    padding: 19px 22px;
    border-bottom: 1px solid #edf0f5;
    transition: background 0.2s ease;
}


.sd-notification-card:last-child {
    border-bottom: none;
}


.sd-notification-card:hover {
    background: #fafcff;
}


.sd-notification-card-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f1f5f9;
    font-size: 18px;
}


.sd-notification-card-content {
    flex: 1;
    min-width: 0;
}


.sd-notification-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}


.sd-notification-card-top strong {
    color: #172033;
    font-size: 15px;
}


.sd-notification-card-content h4 {
    margin: 6px 0 5px;
    color: #1e3a8a;
    font-size: 16px;
}


.sd-notification-card-content p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}


/* ================= BADGES ================= */

.sd-notification-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}


.sd-notification-badge.invitation {
    background: #eff6ff;
    color: #2563eb;
}


.sd-notification-badge.request {
    background: #fff7ed;
    color: #c2410c;
}


.sd-notification-badge.pending {
    background: #fff7ed;
    color: #c2410c;
}


.sd-notification-badge.accepted {
    background: #ecfdf5;
    color: #15803d;
}


.sd-notification-badge.rejected {
    background: #fef2f2;
    color: #dc2626;
}


/* ================= ACTIONS ================= */

.sd-notification-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 13px;
}


.sd-notification-actions button {
    min-width: 88px;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}


.sd-notification-accept {
    background: #16a34a;
    color: #ffffff;
}


.sd-notification-accept:hover {
    background: #15803d;
    transform: translateY(-1px);
}


.sd-notification-reject {
    background: #fee2e2;
    color: #dc2626;
}


.sd-notification-reject:hover {
    background: #fecaca;
    transform: translateY(-1px);
}


/* ================= STATUS CARDS ================= */

.sd-notification-card.pending-card {
    background: #fffdf7;
}


.sd-notification-card.accepted-card {
    background: #f8fffb;
}


.sd-notification-card.rejected-card {
    background: #fffafa;
}


/* ================= LOADING ================= */

.sd-team-notifications.loading {
    min-height: 120px;
}


.sd-notification-loading {
    padding: 25px;
    color: #64748b;
    font-size: 13px;
}


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

@media (max-width: 650px) {

    .sd-notification-header {
        padding: 16px;
    }


    .sd-notification-card {
        padding: 16px;
    }


    .sd-notification-card-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }


    .sd-notification-actions {
        flex-wrap: wrap;
    }

}

/* =========================================================
   PENDING TEAM REQUEST
========================================================= */

.pending-team-message {
    background: #fff8e8 !important;
    border: 1px solid #f2d18a !important;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
}


/* =========================================================
   PENDING ICON
========================================================= */

.pending-team-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffe8b5;
    color: #b7791f;

    border-radius: 12px;

    font-size: 21px;
}


/* =========================================================
   PENDING CONTENT
========================================================= */

.pending-team-message .action-message-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}


.pending-team-message .action-message-content strong {
    color: #6b4f00;
    font-size: 15px;
}


.pending-team-message .action-message-content span {
    color: #806f45;
    font-size: 13px;
    line-height: 1.5;
}


.pending-team-message .pending-team-name {
    color: #5b4300;
    font-weight: 700;
}


/* =========================================================
   PENDING STATUS BADGE
========================================================= */

.badge.pending {
    background: #fff1cf;
    color: #a16207;
    border: 1px solid #f3d38a;
}


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

@media (max-width: 700px) {

    .pending-team-message {
        align-items: flex-start;
        flex-direction: column;
    }


    .pending-team-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

}

#teamNotificationBox {
    width: 100%;
    margin: 20px 0;
}

.dashboard-team-message,
.dashboard-team-invitation {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.dashboard-team-message-icon,
.invitation-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.dashboard-team-message-content,
.invitation-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-team-message-content {
    color: #374151;
    line-height: 1.6;
}

.dashboard-team-message.success {
    border-left: 5px solid #16a34a;
}

.dashboard-team-message.rejected {
    border-left: 5px solid #dc2626;
}

.dashboard-team-invitation {
    border-left: 5px solid #f97316;
}

.invitation-content strong {
    font-size: 20px;
    color: #1f2937;
}

.invitation-content span {
    color: #4b5563;
    line-height: 1.6;
}

.invitation-content small {
    color: #6b7280;
}

.invitation-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.invitation-accept-btn,
.invitation-reject-btn {
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.invitation-accept-btn {
    background: #16a34a;
    color: #fff;
}

.invitation-reject-btn {
    background: #dc2626;
    color: #fff;
}

.invitation-accept-btn:hover,
.invitation-reject-btn:hover {
    opacity: 0.9;
}

@media (max-width: 600px) {

    .dashboard-team-message,
    .dashboard-team-invitation {
        padding: 15px;
    }

    .invitation-actions {
        flex-direction: column;
    }

    .invitation-accept-btn,
    .invitation-reject-btn {
        width: 100%;
    }
}

/* =========================================================
   TEAM NOTIFICATIONS + SENT INVITATIONS
   ========================================================= */

/* =========================================================
   MAIN TEAM NOTIFICATION BOX
   ========================================================= */

.student-dashboard-page .sd-team-notifications {
    width: 100%;
    margin: 24px 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid #e4e8f1;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(20, 24, 31, 0.06);
    overflow: hidden;
}


/* =========================================================
   NOTIFICATION HEADER
   ========================================================= */

.student-dashboard-page .sd-notification-header {
    width: 100%;
    min-height: 102px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;
    padding: 20px 22px;

    background:
        linear-gradient(135deg,
            #ffffff 0%,
            #f7f8fd 100%);

    border-bottom: 1px solid #e7eaf1;
}


/* =========================================================
   HEADER LEFT SIDE
   ========================================================= */

.student-dashboard-page .sd-notification-heading {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 13px;
}


.student-dashboard-page .sd-notification-bell {
    width: 44px;
    height: 44px;
    min-width: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #eef2ff;

    color: #4338ca;

    font-size: 19px;

    box-shadow:
        0 6px 16px rgba(67, 56, 202, 0.10);
}


/* =========================================================
   HEADER TITLE
   ========================================================= */

.student-dashboard-page .sd-notification-heading h3 {
    margin: 0;

    color: #172033;

    font-size: 19px;
    font-weight: 800;

    line-height: 1.3;
}


.student-dashboard-page .sd-notification-heading p {
    margin: 5px 0 0;

    color: #6b7386;

    font-size: 12.5px;
    font-weight: 500;

    line-height: 1.5;
}


/* =========================================================
   NOTIFICATION COUNT
   ========================================================= */

.student-dashboard-page .sd-notification-count {
    min-width: 32px;
    height: 32px;

    padding: 0 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #2563eb;
    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    box-shadow:
        0 5px 12px rgba(37, 99, 235, 0.20);
}


/* =========================================================
   NOTIFICATION LIST
   ========================================================= */

.student-dashboard-page .sd-notification-list {
    width: 100%;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   NOTIFICATION CARD
   ========================================================= */

.student-dashboard-page .sd-notification-card {
    width: 100%;

    display: flex;
    align-items: flex-start;

    gap: 15px;

    padding: 19px 22px;

    background: #ffffff;

    border-bottom: 1px solid #edf0f5;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.student-dashboard-page .sd-notification-card:last-child {
    border-bottom: 0;
}


.student-dashboard-page .sd-notification-card:hover {
    background: #fafbff;
}


/* =========================================================
   NOTIFICATION ICON
   ========================================================= */

.student-dashboard-page .sd-notification-card-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #f1f5f9;

    font-size: 18px;
}


/* =========================================================
   NOTIFICATION CONTENT
   ========================================================= */

.student-dashboard-page .sd-notification-card-content {
    min-width: 0;
    flex: 1;
}


.student-dashboard-page .sd-notification-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;
}


.student-dashboard-page .sd-notification-card-top strong {
    color: #172033;

    font-size: 14px;
    font-weight: 800;
}


.student-dashboard-page .sd-notification-card-content h4 {
    margin: 6px 0 5px;

    color: #1e3a8a;

    font-size: 16px;
    font-weight: 800;

    line-height: 1.35;
}


.student-dashboard-page .sd-notification-card-content p {
    margin: 0;

    color: #64748b;

    font-size: 12.5px;

    line-height: 1.6;
}


/* =========================================================
   NOTIFICATION BADGES
   ========================================================= */

.student-dashboard-page .sd-notification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 26px;

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;

    white-space: nowrap;
}


.student-dashboard-page .sd-notification-badge.invitation {
    background: #eef4ff;
    color: #2563eb;
}


.student-dashboard-page .sd-notification-badge.request {
    background: #fff4e8;
    color: #c2410c;
}


.student-dashboard-page .sd-notification-badge.pending {
    background: #fff7ed;
    color: #c2410c;
}


.student-dashboard-page .sd-notification-badge.accepted {
    background: #eaf8f0;
    color: #15803d;
}


.student-dashboard-page .sd-notification-badge.rejected {
    background: #fff0f0;
    color: #dc2626;
}


/* =========================================================
   NOTIFICATION ACTION BUTTONS
   ========================================================= */

.student-dashboard-page .sd-notification-actions {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 13px;
}


.student-dashboard-page .sd-notification-actions button {
    min-width: 88px;
    min-height: 36px;

    padding: 8px 15px;

    border: 0;
    border-radius: 9px;

    font-family: inherit;

    font-size: 11.5px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.student-dashboard-page .sd-notification-accept {
    background: #16a34a;
    color: #ffffff;

    box-shadow:
        0 5px 12px rgba(22, 163, 74, 0.15);
}


.student-dashboard-page .sd-notification-accept:hover {
    background: #15803d;

    transform: translateY(-1px);

    box-shadow:
        0 8px 16px rgba(22, 163, 74, 0.20);
}


.student-dashboard-page .sd-notification-reject {
    background: #fff0f0;
    color: #dc2626;

    border: 1px solid #f4cccc !important;
}


.student-dashboard-page .sd-notification-reject:hover {
    background: #fee2e2;

    transform: translateY(-1px);
}


/* =========================================================
   REQUEST STATUS CARDS
   ========================================================= */

.student-dashboard-page .sd-notification-card.pending-card {
    background: #fffdf7;
}


.student-dashboard-page .sd-notification-card.accepted-card {
    background: #f8fffb;
}


.student-dashboard-page .sd-notification-card.rejected-card {
    background: #fffafa;
}


/* =========================================================
   LOADING
   ========================================================= */

.student-dashboard-page .sd-team-notifications.loading {
    min-height: 120px;
}


.student-dashboard-page .sd-notification-loading {
    padding: 25px 22px;

    color: #64748b;

    font-size: 12.5px;
}


/* =========================================================
   =========================================================
   SENT INVITATIONS
   =========================================================
   ========================================================= */


/* =========================================================
   SENT INVITATION SECTION
   ========================================================= */

.student-dashboard-page .invite-section {
    width: 100%;

    margin: 0;

    padding: 0;

    background: #ffffff;

    border-top: 1px solid #e8ebf2;
}


/* =========================================================
   SENT INVITATION TITLE
   ========================================================= */

.student-dashboard-page .invite-title {
    width: 100%;

    min-height: 52px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 15px 20px;

    background:
        linear-gradient(135deg,
            #ffffff 0%,
            #f8f9fd 100%);

    color: #172033;

    font-size: 14px;
    font-weight: 800;

    border-bottom: 1px solid #e8ebf2;
}


/* =========================================================
   SENT INVITATION TABLE
   ========================================================= */

.student-dashboard-page .invite-table {
    width: 100%;

    overflow-x: auto;

    background: #ffffff;
}


/* =========================================================
   INVITATION ROW
   ========================================================= */

.student-dashboard-page .invite-row {
    width: 100%;

    min-height: 58px;

    display: grid;

    grid-template-columns:
        minmax(150px, 1.15fr) minmax(110px, 0.85fr) minmax(190px, 1.45fr) minmax(105px, 0.70fr);

    align-items: center;

    column-gap: 16px;

    padding: 10px 20px;

    border-bottom: 1px solid #edf0f5;

    background: #ffffff;

    transition:
        background 0.18s ease;
}


/* =========================================================
   LAST ROW
   ========================================================= */

.student-dashboard-page .invite-row:last-child {
    border-bottom: 0;
}


/* =========================================================
   TABLE HEADER
   ========================================================= */

.student-dashboard-page .invite-row.invite-header {
    min-height: 45px;

    background: #f7f8fc;

    border-bottom: 1px solid #e4e8f1;
}


.student-dashboard-page .invite-row.invite-header>div {
    color: #6b7386;

    font-size: 10.5px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.45px;
}


/* =========================================================
   TABLE DATA
   ========================================================= */

.student-dashboard-page .invite-row:not(.invite-header)>div {
    min-width: 0;

    color: #273047;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.45;

    overflow-wrap: anywhere;
}


/* =========================================================
   NAME
   ========================================================= */

.student-dashboard-page .invite-row:not(.invite-header)>div:first-child {
    color: #172033;

    font-size: 12.5px;
    font-weight: 800;
}


/* =========================================================
   STUDENT ID
   ========================================================= */

.student-dashboard-page .invite-row:not(.invite-header)>div:nth-child(2) {
    color: #596277;

    font-size: 11.5px;
    font-weight: 700;
}


/* =========================================================
   EMAIL
   ========================================================= */

.student-dashboard-page .invite-row:not(.invite-header)>div:nth-child(3) {
    color: #64748b;

    font-size: 11.5px;

    overflow-wrap: anywhere;
}


/* =========================================================
   HOVER
   ========================================================= */

.student-dashboard-page .invite-row:not(.invite-header):hover {
    background: #fafbff;
}


/* =========================================================
   STATUS WRAPPER
   ========================================================= */

.student-dashboard-page .invite-row:not(.invite-header)>div:last-child {
    display: flex;
    align-items: center;
}


/* =========================================================
   COMMON TEAM STATUS
   ========================================================= */

.student-dashboard-page .team-status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 76px;
    min-height: 27px;

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;

    line-height: 1;

    white-space: nowrap;
}


/* =========================================================
   PENDING
   ========================================================= */

.student-dashboard-page .team-status.pending-status {
    background: #fff6df;

    color: #a16207;

    border: 1px solid #f2d59a;
}


/* =========================================================
   ACCEPTED
   ========================================================= */

.student-dashboard-page .team-status.accepted-status {
    background: #eaf8f0;

    color: #15803d;

    border: 1px solid #bde7cd;
}


/* =========================================================
   REJECTED
   ========================================================= */

.student-dashboard-page .team-status.rejected-status {
    background: #fff0f0;

    color: #dc2626;

    border: 1px solid #f2c7c7;
}


/* =========================================================
   EMPTY INVITATION ROW
   ========================================================= */

.student-dashboard-page .invite-row.invite-empty-row {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 90px;

    padding: 20px;

    background: #fbfcfe;
}


.student-dashboard-page .invite-empty-message {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #8a93a6;

    font-size: 12px;
    font-weight: 650;

    text-align: center;
}


/* =========================================================
   SENT INVITATION SECTION INSIDE NOTIFICATIONS
   ========================================================= */

.student-dashboard-page .sd-team-notifications .invite-section {
    border-top: 1px solid #e5e9f0;
}


.student-dashboard-page .sd-team-notifications .invite-section:first-child {
    border-top: 0;
}


/* =========================================================
   IMPROVE TABLE SCROLLBAR
   ========================================================= */

.student-dashboard-page .invite-table::-webkit-scrollbar {
    height: 7px;
}


.student-dashboard-page .invite-table::-webkit-scrollbar-track {
    background: #f3f5f8;
}


.student-dashboard-page .invite-table::-webkit-scrollbar-thumb {
    background: #cbd2df;

    border-radius: 999px;
}


.student-dashboard-page .invite-table::-webkit-scrollbar-thumb:hover {
    background: #aeb7c8;
}


/* =========================================================
   MOBILE â€” TABLE
   ========================================================= */

@media (max-width: 900px) {

    .student-dashboard-page .invite-row {
        grid-template-columns:
            minmax(130px, 1fr) minmax(100px, 0.8fr) minmax(180px, 1.3fr) minmax(100px, 0.7fr);

        column-gap: 12px;

        padding-left: 16px;
        padding-right: 16px;
    }

}


/* =========================================================
   MOBILE â€” NOTIFICATIONS
   ========================================================= */

@media (max-width: 650px) {

    .student-dashboard-page .sd-notification-header {
        min-height: 88px;

        padding: 16px;

        gap: 12px;
    }


    .student-dashboard-page .sd-notification-bell {
        width: 38px;
        height: 38px;
        min-width: 38px;

        border-radius: 11px;

        font-size: 16px;
    }


    .student-dashboard-page .sd-notification-heading {
        gap: 10px;
    }


    .student-dashboard-page .sd-notification-heading h3 {
        font-size: 16px;
    }


    .student-dashboard-page .sd-notification-heading p {
        font-size: 11px;
    }


    .student-dashboard-page .sd-notification-count {
        min-width: 29px;
        height: 29px;

        font-size: 11px;
    }


    .student-dashboard-page .sd-notification-card {
        padding: 15px 16px;

        gap: 11px;
    }


    .student-dashboard-page .sd-notification-card-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;

        border-radius: 10px;

        font-size: 16px;
    }


    .student-dashboard-page .sd-notification-card-top {
        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }


    .student-dashboard-page .sd-notification-card-content h4 {
        font-size: 14px;
    }


    .student-dashboard-page .sd-notification-card-content p {
        font-size: 11.5px;
    }


    .student-dashboard-page .sd-notification-actions {
        flex-wrap: wrap;
    }


    /* ---------------------------------------------
       SENT INVITATION MOBILE
    --------------------------------------------- */

    .student-dashboard-page .invite-title {
        min-height: 48px;

        padding: 13px 15px;

        font-size: 13px;
    }


    .student-dashboard-page .invite-row {
        min-width: 600px;

        grid-template-columns:
            145px 105px 190px 105px;

        column-gap: 12px;

        padding: 10px 15px;
    }


    .student-dashboard-page .invite-table {
        overflow-x: auto;

        -webkit-overflow-scrolling: touch;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .student-dashboard-page .sd-team-notifications {
        margin-top: 18px;

        border-radius: 14px;
    }


    .student-dashboard-page .sd-notification-header {
        padding: 14px;
    }


    .student-dashboard-page .sd-notification-card {
        padding: 14px;
    }


    .student-dashboard-page .sd-notification-actions button {
        min-width: 82px;

        padding: 8px 12px;
    }


    .student-dashboard-page .invite-title {
        padding-left: 13px;
        padding-right: 13px;
    }


    .student-dashboard-page .invite-row {
        padding-left: 13px;
        padding-right: 13px;
    }

}

/* =========================================================
   END SPACE FIX
   ========================================================= */

/* =========================================================
   END OF STUDENT DASHBOARD CSS
   ========================================================= */

/* =========================================================
   FINAL TEAM NOTIFICATION DESIGN
   ---------------------------------------------------------
   Notification/inbox style
   - Keeps all existing HTML/JS class names
   - Scoped to student dashboard
   - Does not change JavaScript logic
   - Designed to look like a real notification center
   ========================================================= */

.student-dashboard-page .sd-team-notifications {
    position: relative;
    width: 100%;
    margin: 26px 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid #dfe4f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 14px 35px rgba(30, 41, 59, 0.08),
        0 3px 10px rgba(30, 41, 59, 0.04);
}

/* Notification center accent line */
.student-dashboard-page .sd-team-notifications::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg,
            #4338ca 0%,
            #6366f1 48%,
            #f5a524 100%);
    z-index: 3;
}

/* =========================================================
   NOTIFICATION HEADER
   ========================================================= */

.student-dashboard-page .sd-team-notifications .sd-notification-header {
    position: relative;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px 18px 27px;
    background:
        radial-gradient(circle at 88% 20%,
            rgba(99, 102, 241, 0.12),
            transparent 30%),
        linear-gradient(135deg,
            #ffffff 0%,
            #f7f8ff 100%);
    border-bottom: 1px solid #e7eaf2;
}

/* Small notification label */
.student-dashboard-page .sd-team-notifications .sd-notification-header::after {
    content: "TEAM ACTIVITY";
    position: absolute;
    right: 22px;
    bottom: 8px;
    color: #9aa3b5;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.2px;
    pointer-events: none;
}

/* =========================================================
   HEADER LEFT
   ========================================================= */

.student-dashboard-page .sd-team-notifications .sd-notification-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}

/* Bell / notification icon */
.student-dashboard-page .sd-team-notifications .sd-notification-bell {
    position: relative;
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg,
            #4338ca,
            #635bdb);
    color: #ffffff;
    font-size: 19px;
    box-shadow:
        0 8px 18px rgba(67, 56, 202, 0.24);
    animation: sdNotificationBellPulse 2.8s ease-in-out infinite;
}

/* Small live dot */
.student-dashboard-page .sd-team-notifications .sd-notification-bell::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #f5a524;
}

@keyframes sdNotificationBellPulse {

    0%,
    100% {
        box-shadow: 0 8px 18px rgba(67, 56, 202, 0.24);
    }

    50% {
        box-shadow:
            0 8px 22px rgba(67, 56, 202, 0.34),
            0 0 0 5px rgba(67, 56, 202, 0.06);
    }
}

/* =========================================================
   HEADER TITLE
   ========================================================= */

.student-dashboard-page .sd-team-notifications .sd-notification-heading h3 {
    margin: 0;
    color: #14181f;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.student-dashboard-page .sd-team-notifications .sd-notification-heading p {
    margin: 4px 0 0;
    color: #6b7386;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.5;
}

/* =========================================================
   NOTIFICATION COUNT
   ========================================================= */

.student-dashboard-page .sd-team-notifications .sd-notification-count {
    position: relative;
    z-index: 2;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffffff;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    box-shadow:
        0 6px 15px rgba(37, 99, 235, 0.25);
}

/* =========================================================
   NOTIFICATION LIST
   ========================================================= */

.student-dashboard-page .sd-team-notifications .sd-notification-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #f8f9fc;
}

/* =========================================================
   INDIVIDUAL NOTIFICATION CARD
   ========================================================= */

.student-dashboard-page .sd-team-notifications .sd-notification-card {
    position: relative;
    width: calc(100% - 22px);
    margin: 10px 11px 0 11px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 17px;
    background: #ffffff;
    border: 1px solid #e4e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(20, 24, 31, 0.035);
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.student-dashboard-page .sd-team-notifications .sd-notification-card:last-child {
    margin-bottom: 10px;
    border-bottom: 1px solid #e4e8f0;
}

.student-dashboard-page .sd-team-notifications .sd-notification-card:hover {
    transform: translateY(-2px);
    border-color: #d4d9e8;
    box-shadow: 0 9px 22px rgba(20, 24, 31, 0.08);
}

/* Left notification type indicator */
.student-dashboard-page .sd-team-notifications .sd-notification-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: #4338ca;
}

/* Invitation */
.student-dashboard-page .sd-team-notifications .invitation-card::before {
    background: #2563eb;
}

/* Join request */
.student-dashboard-page .sd-team-notifications .join-request-card::before {
    background: #f5a524;
}

/* Request status */
.student-dashboard-page .sd-team-notifications .request-status-card::before {
    background: #14a463;
}

/* =========================================================
   NOTIFICATION ICON
   ========================================================= */

.student-dashboard-page .sd-team-notifications .sd-notification-card-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 12px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 17px;
    box-shadow: inset 0 0 0 1px #e1e4fb;
}

.student-dashboard-page .sd-team-notifications .invitation-card .sd-notification-card-icon {
    background: #eaf1ff;
    color: #2563eb;
    box-shadow: inset 0 0 0 1px #d8e5ff;
}

.student-dashboard-page .sd-team-notifications .join-request-card .sd-notification-card-icon {
    background: #fff3de;
    color: #c9820f;
    box-shadow: inset 0 0 0 1px #f4dfb7;
}

.student-dashboard-page .sd-team-notifications .request-status-card .sd-notification-card-icon {
    background: #e6f8ef;
    color: #14a463;
    box-shadow: inset 0 0 0 1px #c8ecd9;
}

/* =========================================================
   NOTIFICATION CONTENT
   ========================================================= */

.student-dashboard-page .sd-team-notifications .sd-notification-card-content {
    min-width: 0;
    flex: 1;
}

.student-dashboard-page .sd-team-notifications .sd-notification-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.student-dashboard-page .sd-team-notifications .sd-notification-card-top strong {
    color: #14181f;
    font-size: 13.5px;
    font-weight: 800;
}

.student-dashboard-page .sd-team-notifications .sd-notification-card-content h4 {
    margin: 5px 0 4px;
    color: #27345a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.student-dashboard-page .sd-team-notifications .sd-notification-card-content p {
    margin: 0;
    color: #6b7386;
    font-size: 11.5px;
    font-weight: 550;
    line-height: 1.6;
}

/* =========================================================
   BADGES
   ========================================================= */

.student-dashboard-page .sd-team-notifications .sd-notification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 23px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 9.5px;
    font-weight: 800;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.25px;
}

.student-dashboard-page .sd-team-notifications .sd-notification-badge.invitation {
    background: #eaf1ff;
    color: #2563eb;
}

.student-dashboard-page .sd-team-notifications .sd-notification-badge.request {
    background: #fff3de;
    color: #b7791f;
}

.student-dashboard-page .sd-team-notifications .sd-notification-badge.pending {
    background: #fff3de;
    color: #b7791f;
}

.student-dashboard-page .sd-team-notifications .sd-notification-badge.accepted {
    background: #e6f8ef;
    color: #0e7d4d;
}

.student-dashboard-page .sd-team-notifications .sd-notification-badge.rejected {
    background: #fdeceb;
    color: #b8302a;
}

/* =========================================================
   ACTION AREA
   ========================================================= */

.student-dashboard-page .sd-team-notifications .sd-notification-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 11px;
}

.student-dashboard-page .sd-team-notifications .sd-notification-actions button {
    min-width: 82px;
    min-height: 34px;
    padding: 7px 13px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.student-dashboard-page .sd-team-notifications .sd-notification-accept {
    background: #14a463;
    color: #ffffff;
    box-shadow: 0 5px 12px rgba(20, 164, 99, 0.17);
}

.student-dashboard-page .sd-team-notifications .sd-notification-accept:hover {
    background: #0e7d4d;
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(20, 164, 99, 0.24);
}

.student-dashboard-page .sd-team-notifications .sd-notification-reject {
    background: #ffffff;
    color: #dc2626;
    border-color: #f1cccc;
}

.student-dashboard-page .sd-team-notifications .sd-notification-reject:hover {
    background: #fff1f1;
    transform: translateY(-1px);
}

/* =========================================================
   SENT INVITATIONS
   ---------------------------------------------------------
   Makes the "Sent Invitations" area look like notification
   activity rather than ordinary unstyled text/table content.
   ========================================================= */

.student-dashboard-page .sd-team-notifications .invite-section {
    width: 100%;
    margin: 0;
    padding: 0 11px 11px;
    background: #f8f9fc;
    border-top: 1px solid #e5e8f0;
}

/* Invitation section heading */
.student-dashboard-page .sd-team-notifications .invite-title {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 13px 10px 11px;
    background: transparent;
    color: #27345a;
    font-size: 12.5px;
    font-weight: 800;
    border-bottom: 1px solid #e5e8f0;
}

.student-dashboard-page .sd-team-notifications .invite-title::before {
    content: "";
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eaf1ff;
    box-shadow: inset 0 0 0 1px #d8e5ff;
}

/* =========================================================
   INVITATION TABLE / LIST
   ========================================================= */

.student-dashboard-page .sd-team-notifications .invite-table {
    width: 100%;
    overflow-x: auto;
    background: transparent;
}

/* Header and rows */
.student-dashboard-page .sd-team-notifications .invite-row {
    width: 100%;
    min-height: 54px;
    display: grid;
    grid-template-columns:
        minmax(150px, 1.15fr) minmax(105px, 0.8fr) minmax(190px, 1.45fr) minmax(95px, 0.7fr);
    align-items: center;
    column-gap: 15px;
    padding: 9px 12px;
    background: #ffffff;
    border-bottom: 1px solid #edf0f5;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.student-dashboard-page .sd-team-notifications .invite-row:not(.invite-header):hover {
    background: #fbfcff;
}

.student-dashboard-page .sd-team-notifications .invite-row:last-child {
    border-bottom: 0;
}

/* Table header */
.student-dashboard-page .sd-team-notifications .invite-row.invite-header {
    min-height: 39px;
    background: #f1f3f8;
    border-bottom: 1px solid #e2e6ee;
}

.student-dashboard-page .sd-team-notifications .invite-row.invite-header>div {
    color: #7b8497;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* Data */
.student-dashboard-page .sd-team-notifications .invite-row:not(.invite-header)>div {
    min-width: 0;
    color: #40465a;
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.student-dashboard-page .sd-team-notifications .invite-row:not(.invite-header)>div:first-child {
    color: #14181f;
    font-size: 12px;
    font-weight: 800;
}

.student-dashboard-page .sd-team-notifications .invite-row:not(.invite-header)>div:nth-child(2) {
    color: #596277;
    font-size: 10.5px;
    font-weight: 750;
}

.student-dashboard-page .sd-team-notifications .invite-row:not(.invite-header)>div:nth-child(3) {
    color: #64748b;
    font-size: 10.5px;
}

.student-dashboard-page .sd-team-notifications .invite-row:not(.invite-header)>div:last-child {
    display: flex;
    align-items: center;
}

/* =========================================================
   INVITATION STATUS
   ========================================================= */

.student-dashboard-page .sd-team-notifications .team-status {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 25px;
    padding: 5px 9px 5px 18px;
    border-radius: 999px;
    font-size: 9.5px;
    font-weight: 800;
    white-space: nowrap;
}

.student-dashboard-page .sd-team-notifications .team-status::before {
    content: "";
    position: absolute;
    left: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.student-dashboard-page .sd-team-notifications .pending-status {
    background: #fff3de;
    color: #a16207;
    border: 1px solid #f2d59a;
}

.student-dashboard-page .sd-team-notifications .pending-status::before {
    background: #f5a524;
    box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.10);
}

.student-dashboard-page .sd-team-notifications .accepted-status {
    background: #e6f8ef;
    color: #0e7d4d;
    border: 1px solid #b9e9cf;
}

.student-dashboard-page .sd-team-notifications .accepted-status::before {
    background: #14a463;
}

.student-dashboard-page .sd-team-notifications .rejected-status {
    background: #fdeceb;
    color: #b8302a;
    border: 1px solid #f3c5c2;
}

.student-dashboard-page .sd-team-notifications .rejected-status::before {
    background: #e0453e;
}

/* =========================================================
   STATUS CARD BACKGROUNDS
   ========================================================= */

.student-dashboard-page .sd-team-notifications .pending-card {
    background: #fffefa;
}

.student-dashboard-page .sd-team-notifications .accepted-card {
    background: #fbfffd;
}

.student-dashboard-page .sd-team-notifications .rejected-card {
    background: #fffdfd;
}

/* =========================================================
   LOADING
   ========================================================= */

.student-dashboard-page .sd-team-notifications.loading {
    min-height: 120px;
}

.student-dashboard-page .sd-team-notifications .sd-notification-loading {
    padding: 24px 27px;
    color: #6b7386;
    font-size: 11.5px;
    font-weight: 600;
    background: #f8f9fc;
}

/* =========================================================
   EMPTY / SMALL STATES
   ========================================================= */

.student-dashboard-page .sd-team-notifications .invite-empty-row {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    background: #ffffff;
}

.student-dashboard-page .sd-team-notifications .invite-empty-message {
    color: #98a1b3;
    font-size: 11px;
    font-weight: 650;
    text-align: center;
}

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

@media (max-width: 700px) {

    .student-dashboard-page .sd-team-notifications {
        margin: 20px 0;
        border-radius: 16px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-header {
        min-height: 82px;
        padding: 15px 16px 15px 21px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-header::after {
        display: none;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-bell {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 12px;
        font-size: 17px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-heading {
        gap: 10px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-heading h3 {
        font-size: 15px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-heading p {
        font-size: 10.5px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-count {
        min-width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-card {
        width: calc(100% - 14px);
        margin: 7px 7px 0;
        padding: 14px;
        gap: 11px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-card:last-child {
        margin-bottom: 7px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-card-icon {
        width: 37px;
        height: 37px;
        min-width: 37px;
        border-radius: 10px;
        font-size: 15px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-card-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-card-content h4 {
        font-size: 13.5px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-card-content p {
        font-size: 10.8px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-actions {
        width: 100%;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-actions button {
        min-width: 78px;
        min-height: 33px;
        padding: 7px 11px;
    }

    .student-dashboard-page .sd-team-notifications .invite-section {
        padding: 0 7px 7px;
    }

    .student-dashboard-page .sd-team-notifications .invite-row {
        min-width: 600px;
    }

    .student-dashboard-page .sd-team-notifications .invite-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 420px) {

    .student-dashboard-page .sd-team-notifications .sd-notification-header {
        padding-left: 18px;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-heading p {
        display: none;
    }

    .student-dashboard-page .sd-team-notifications .sd-notification-card {
        padding: 13px;
    }
}


/* ========================================================================
   FINAL TEAM DASHBOARD LAYOUT
   Notifications â†’ Admin Message â†’ Team Information â†’ Members â†’ Problem
   Existing JavaScript IDs are intentionally preserved.
   ======================================================================== */

.student-dashboard-page .dashboard-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.student-dashboard-page .dashboard-section-card {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid var(--sd-border);
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(20, 24, 31, 0.06);
    overflow: hidden;
}

/* ---------- Common section header ---------- */

.student-dashboard-page .dashboard-section-card>.section-card-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 21px 23px;
    background: #ffffff;
    border-bottom: 1px solid #edf0f5;
}

.student-dashboard-page .section-card-heading {
    min-width: 0;
    flex: 1;
}

.student-dashboard-page .section-card-heading h3 {
    margin: 0;
    color: #171a24;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.student-dashboard-page .section-card-heading p {
    margin: 5px 0 0;
    color: #70788a;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.55;
}

.student-dashboard-page .section-card-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 18px;
    line-height: 1;
}

.student-dashboard-page .admin-icon {
    background: #fff4df;
    color: #b56f00;
}

.student-dashboard-page .team-info-icon {
    background: #eeecfb;
    color: #4338ca;
}

.student-dashboard-page .members-icon {
    background: #e7f8ef;
    color: #0e8a55;
}

.student-dashboard-page .problem-icon {
    background: #eaf2ff;
    color: #2563eb;
}

/* ---------- 01. Notifications ---------- */

.student-dashboard-page .team-notifications-section {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.student-dashboard-page .team-notifications-section>.sd-team-notifications {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid var(--sd-border);
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(20, 24, 31, 0.06);
    overflow: hidden;
}

.student-dashboard-page .team-notifications-section .sd-notification-header {
    min-height: 76px;
    padding: 17px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #fafaff, #f5f7ff);
    border-bottom: 1px solid #e9ecf4;
}

.student-dashboard-page .team-notifications-section .sd-notification-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-dashboard-page .team-notifications-section .sd-notification-bell {
    width: 43px;
    height: 43px;
    min-width: 43px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #eeecfb;
    color: #4338ca;
    font-size: 19px;
}

.student-dashboard-page .team-notifications-section .sd-notification-heading h3 {
    margin: 0;
    color: #171a24;
    font-size: 17px;
    font-weight: 800;
}

.student-dashboard-page .team-notifications-section .sd-notification-heading p {
    margin: 4px 0 0;
    color: #70788a;
    font-size: 11.5px;
}

.student-dashboard-page .team-notifications-section .sd-notification-count {
    min-width: 34px;
    min-height: 30px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #4338ca;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.student-dashboard-page .team-notifications-section .sd-notification-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    background: #f8f9fc;
}

.student-dashboard-page .team-notifications-section .sd-notification-card {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 16px 17px 16px 19px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: #ffffff;
    border: 1px solid #e4e8f0;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(20, 24, 31, 0.035);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.student-dashboard-page .team-notifications-section .sd-notification-card:hover {
    transform: translateY(-1px);
    border-color: #d5d9e7;
    box-shadow: 0 8px 20px rgba(20, 24, 31, 0.08);
}

.student-dashboard-page .team-notifications-section .sd-notification-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: #4338ca;
}

.student-dashboard-page .team-notifications-section .invitation-card::before {
    background: #2563eb;
}

.student-dashboard-page .team-notifications-section .join-request-card::before {
    background: #f5a524;
}

.student-dashboard-page .team-notifications-section .request-status-card::before {
    background: #14a463;
}

.student-dashboard-page .team-notifications-section .sd-notification-card-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 17px;
}

.student-dashboard-page .team-notifications-section .sd-notification-card-content {
    min-width: 0;
    flex: 1;
}

.student-dashboard-page .team-notifications-section .sd-notification-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.student-dashboard-page .team-notifications-section .sd-notification-card-top strong {
    color: #1a1e29;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.student-dashboard-page .team-notifications-section .sd-notification-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f0f1f5;
    color: #646c7c;
    font-size: 9.5px;
    font-weight: 800;
    white-space: nowrap;
}

.student-dashboard-page .team-notifications-section .sd-notification-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.student-dashboard-page .team-notifications-section .sd-notification-accept,
.student-dashboard-page .team-notifications-section .sd-notification-reject {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 9px;
    border: 1px solid transparent;
    font-size: 10.5px;
    font-weight: 800;
    cursor: pointer;
}

.student-dashboard-page .team-notifications-section .sd-notification-accept {
    background: #14a463;
    color: #ffffff;
}

.student-dashboard-page .team-notifications-section .sd-notification-reject {
    background: #fff1f0;
    color: #b8302a;
    border-color: #f1c8c5;
}

.student-dashboard-page .team-notifications-section .pending-card {
    border-left-color: #f5a524;
}

.student-dashboard-page .team-notifications-section .accepted-card {
    border-left-color: #14a463;
}

.student-dashboard-page .team-notifications-section .rejected-card {
    border-left-color: #e0453e;
}

/* ---------- 02. Admin message ---------- */

.student-dashboard-page .admin-message-section>#adminMessageBox {
    width: 100%;
    margin: 0;
    padding: 18px 22px 22px;
}

.student-dashboard-page .admin-message-empty {
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    background: #f8f9fc;
    border: 1px dashed #dce1eb;
    border-radius: 13px;
}

.student-dashboard-page .admin-empty-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eef2f8;
    color: #687286;
    font-size: 15px;
    font-weight: 800;
}

.student-dashboard-page .admin-message-empty strong {
    display: block;
    color: #343a49;
    font-size: 12.5px;
    font-weight: 800;
}

.student-dashboard-page .admin-message-empty p {
    margin: 4px 0 0;
    color: #7a8292;
    font-size: 11px;
    line-height: 1.5;
}

.student-dashboard-page .admin-message-section .admin-msg-box {
    width: 100%;
    margin: 0;
    border: 1px solid #f0d69f;
    border-radius: 13px;
    background: #fff8e9;
    overflow: hidden;
}

.student-dashboard-page .admin-message-section .admin-msg-box .msg-header {
    padding: 11px 14px;
    color: #7b4d00;
    background: #fff1d1;
    border-bottom: 1px solid #f1dfb7;
    font-size: 11.5px;
    font-weight: 800;
}

.student-dashboard-page .admin-message-section .admin-msg-box .msg-content {
    padding: 13px 14px;
    color: #4f4a40;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.student-dashboard-page .admin-message-section .admin-msg-box.no-msg {
    display: none;
}

/* ---------- 03. Team information ---------- */

.student-dashboard-page .team-information-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 20px 22px 0;
}

.student-dashboard-page .team-information-item {
    min-width: 0;
    padding: 17px 18px;
    background: #f8f9fc;
    border: 1px solid #e5e8ef;
    border-radius: 14px;
}

.student-dashboard-page .team-information-label {
    display: block;
    margin-bottom: 7px;
    color: #8a92a3;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .55px;
}

.student-dashboard-page .team-information-value-wrap {
    min-width: 0;
    min-height: 27px;
    display: flex;
    align-items: center;
}

.student-dashboard-page .team-information-value {
    display: block;
    min-width: 0;
    color: #202532;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.student-dashboard-page .team-information-grid #status {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef0f5;
    border: 1px solid #dde1ea;
    color: #626a7d;
    font-size: 10.5px;
    font-weight: 800;
    white-space: nowrap;
}

.student-dashboard-page .team-information-grid #status.badge.approved {
    background: #e6f8ef;
    border-color: #b9e9cf;
    color: #0e7d4d;
}

.student-dashboard-page .team-information-grid #status.badge.pending {
    background: #fff3de;
    border-color: #f2d9a6;
    color: #b9790a;
}

.student-dashboard-page .team-information-grid #status.badge.rejected {
    background: #fdeceb;
    border-color: #f3c5c2;
    color: #b8302a;
}

.student-dashboard-page .team-information-section>#teamActionBox {
    width: 100%;
    margin: 16px 0 0;
    padding: 0 22px 22px;
}

.student-dashboard-page .team-information-section>#teamActionBox:empty {
    display: none;
}

/* ---------- 04. Team members ---------- */

.student-dashboard-page .team-members-section {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.student-dashboard-page .team-members-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    margin: 0;
    border-bottom: 1px solid #edf0f5;
    background: #ffffff;
}

.student-dashboard-page .team-members-header .team-members-heading {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.student-dashboard-page .team-member-count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 11px;
    border: 1px solid #d9d7f7;
    border-radius: 999px;
    background: #f1f0ff;
    color: #4338ca;
    font-size: 10.5px;
    font-weight: 800;
    white-space: nowrap;
}

.student-dashboard-page .team-members-section>#memberList {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 14px;
    list-style: none;
    background: #f8f9fc;
}

.student-dashboard-page .team-members-section>#memberList>li {
    margin: 0;
    padding: 0;
}

.student-dashboard-page .team-members-section .member-loading {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px;
    border: 1px dashed #d6dbe6;
    border-radius: 13px;
    background: #ffffff;
    color: #7e8798;
    font-size: 11.5px;
    font-weight: 600;
}

.student-dashboard-page .member-loading-icon {
    font-size: 13px;
}

/* ---------- 05. Problem statement ---------- */

.student-dashboard-page .problem-statement-section>#problemBox {
    width: 100%;
    margin: 0;
    padding: 20px 22px 22px;
}

.student-dashboard-page .problem-statement-section .problem-card {
    width: 100%;
    margin: 0;
    padding: 19px;
    border: 1px solid #d9ddf8;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8f7ff, #eef0ff);
    box-shadow: none;
}

.student-dashboard-page .problem-statement-section .problem-title {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #e6e4fb;
    color: #4b43a5;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.student-dashboard-page .problem-statement-section .problem-name {
    margin-top: 11px;
    color: #202532;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
}

.student-dashboard-page .problem-statement-section .problem-desc {
    margin-top: 8px;
    color: #5e6677;
    font-size: 12px;
    line-height: 1.7;
}

.student-dashboard-page .problem-statement-section .problem-action-btn {
    margin-top: 14px;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #d3d0f2;
    border-radius: 9px;
    background: #ffffff;
    color: #4338ca;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.student-dashboard-page .problem-statement-section .problem-action-btn:hover {
    background: #4338ca;
    border-color: #4338ca;
    color: #ffffff;
    transform: translateY(-1px);
}

.student-dashboard-page .problem-statement-section .no-problem {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8f9fc;
    border: 1px dashed #d7dce7;
}

.student-dashboard-page .problem-statement-section .problem-empty-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 18px;
}

.student-dashboard-page .problem-statement-section .problem-empty-content {
    min-width: 0;
}

.student-dashboard-page .problem-statement-section .problem-empty-content strong {
    display: block;
    color: #343a49;
    font-size: 12.5px;
    font-weight: 800;
}

.student-dashboard-page .problem-statement-section .problem-empty-content span {
    display: block;
    margin-top: 4px;
    color: #7a8292;
    font-size: 11px;
    line-height: 1.55;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .student-dashboard-page .team-information-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .student-dashboard-page .dashboard-grid {
        gap: 16px;
    }

    .student-dashboard-page .dashboard-section-card>.section-card-header {
        padding: 17px;
    }

    .student-dashboard-page .section-card-icon {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
        border-radius: 11px;
        font-size: 16px;
    }

    .student-dashboard-page .section-card-heading h3 {
        font-size: 15px;
    }

    .student-dashboard-page .section-card-heading p {
        font-size: 10.5px;
    }

    .student-dashboard-page .team-notifications-section .sd-notification-header {
        padding: 15px 16px;
    }

    .student-dashboard-page .team-notifications-section .sd-notification-list {
        padding: 9px;
    }

    .student-dashboard-page .team-notifications-section .sd-notification-card {
        padding: 14px 14px 14px 16px;
    }

    .student-dashboard-page .team-information-grid {
        padding: 14px 16px 0;
    }

    .student-dashboard-page .team-information-section>#teamActionBox {
        padding: 0 16px 16px;
    }

    .student-dashboard-page .admin-message-section>#adminMessageBox {
        padding: 14px 16px 17px;
    }

    .student-dashboard-page .team-members-header {
        padding: 16px;
    }

    .student-dashboard-page .team-members-section>#memberList {
        padding: 10px;
    }

    .student-dashboard-page .problem-statement-section>#problemBox {
        padding: 14px 16px 17px;
    }
}

@media (max-width: 480px) {
    .student-dashboard-page .dashboard-grid {
        gap: 13px;
    }

    .student-dashboard-page .team-notifications-section .sd-notification-header {
        align-items: flex-start;
    }

    .student-dashboard-page .team-notifications-section .sd-notification-heading {
        align-items: flex-start;
    }

    .student-dashboard-page .team-notifications-section .sd-notification-card-top {
        flex-direction: column;
        gap: 5px;
    }

    .student-dashboard-page .team-notifications-section .sd-notification-actions {
        width: 100%;
    }

    .student-dashboard-page .team-notifications-section .sd-notification-accept,
    .student-dashboard-page .team-notifications-section .sd-notification-reject {
        flex: 1 1 auto;
    }

    .student-dashboard-page .team-members-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .student-dashboard-page .team-member-count {
        align-self: flex-start;
    }

    .student-dashboard-page .problem-statement-section .no-problem {
        align-items: flex-start;
    }
}

@media (max-width: 360px) {
    .student-dashboard-page .dashboard-section-card>.section-card-header {
        padding: 15px;
    }

    .student-dashboard-page .team-information-grid {
        padding-left: 14px;
        padding-right: 14px;
    }

    .student-dashboard-page .team-information-section>#teamActionBox,
    .student-dashboard-page .admin-message-section>#adminMessageBox,
    .student-dashboard-page .problem-statement-section>#problemBox {
        padding-left: 14px;
        padding-right: 14px;
    }
}

.student-dashboard-page .dashboard-section-card button {
    -webkit-tap-highlight-color: transparent;
}

.student-dashboard-page .dashboard-section-card button:focus-visible {
    outline: 3px solid rgba(67, 56, 202, .22);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    .student-dashboard-page .dashboard-section-card *,
    .student-dashboard-page .dashboard-section-card *::before,
    .student-dashboard-page .dashboard-section-card *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   SENT INVITATIONS TABLE
   ========================================================= */

.student-dashboard-page .invite-table {
    width: 100%;
    overflow-x: auto;
}


/* =========================================================
   INVITATION ROW
   ========================================================= */

.student-dashboard-page .invite-row {
    width: 100%;
    min-height: 58px;

    display: grid;

    grid-template-columns:
        minmax(150px, 1.15fr) minmax(110px, 0.85fr) minmax(190px, 1.45fr) minmax(105px, 0.70fr) minmax(85px, 0.55fr);

    align-items: center;

    column-gap: 16px;

    padding: 10px 20px;

    border-bottom: 1px solid #edf0f5;

    background: #ffffff;

    transition:
        background 0.2s ease;
}


/* =========================================================
   TABLE HEADER
   ========================================================= */

.student-dashboard-page .invite-row.invite-header {
    min-height: 45px;

    background: #f7f8fc;

    border-bottom: 1px solid #e4e8f1;
}


.student-dashboard-page .invite-row.invite-header>div {
    min-width: 0;

    color: #6b7386;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


/* =========================================================
   DATA CELLS
   ========================================================= */

.student-dashboard-page .invite-row:not(.invite-header)>div {
    min-width: 0;

    color: #273047;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.45;

    overflow-wrap: anywhere;
}


/* =========================================================
   NAME
   ========================================================= */

.student-dashboard-page .invite-row:not(.invite-header)>div:first-child {
    color: #172033;

    font-size: 12.5px;
    font-weight: 800;
}


/* =========================================================
   STUDENT ID
   ========================================================= */

.student-dashboard-page .invite-row:not(.invite-header)>div:nth-child(2) {
    color: #596277;

    font-size: 11.5px;
    font-weight: 700;
}


/* =========================================================
   EMAIL
   ========================================================= */

.student-dashboard-page .invite-row:not(.invite-header)>div:nth-child(3) {
    color: #64748b;

    font-size: 11.5px;

    overflow-wrap: anywhere;
}


/* =========================================================
   STATUS COLUMN
   ========================================================= */

.student-dashboard-page .invite-row:not(.invite-header)>div:nth-child(4) {
    display: flex;

    align-items: center;

    justify-content: flex-start;

    min-width: 0;
}


/* =========================================================
   ACTION COLUMN
   ========================================================= */

.student-dashboard-page .invite-action-cell {
    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 85px;
}


/* =========================================================
   TEAM STATUS
   ========================================================= */

.student-dashboard-page .team-status {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 76px;

    min-height: 27px;

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 10px;

    font-weight: 800;

    line-height: 1;

    white-space: nowrap;
}


/* =========================================================
   ACCEPTED
   ========================================================= */

.student-dashboard-page .team-status.accepted-status {
    background: #eaf8f0;

    color: #15803d;

    border: 1px solid #bde7cd;
}


/* =========================================================
   REJECTED
   ========================================================= */

.student-dashboard-page .team-status.rejected-status {
    background: #fff0f0;

    color: #dc2626;

    border: 1px solid #f2c7c7;
}


/* =========================================================
   PENDING
   ========================================================= */

.student-dashboard-page .team-status.pending-status {
    background: #fff6df;

    color: #a16207;

    border: 1px solid #f2d59a;
}


/* =========================================================
   CLEAR NOTIFICATION BUTTON
   ========================================================= */

.student-dashboard-page .clear-notification-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 64px;

    height: 32px;

    padding: 0 12px;

    border: 1px solid #d9dfeb;

    border-radius: 8px;

    background: #ffffff;

    color: #64748b;

    font-family: inherit;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* HOVER */

.student-dashboard-page .clear-notification-btn:hover {
    background: #fff7ed;

    color: #ea580c;

    border-color: #fdba74;

    transform: translateY(-1px);

    box-shadow:
        0 5px 12px rgba(234, 88, 12, 0.12);
}


/* CLICK */

.student-dashboard-page .clear-notification-btn:active {
    transform: translateY(0);
}


/* FOCUS */

.student-dashboard-page .clear-notification-btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.15);

    outline-offset: 2px;
}


/* NO ACTION */

.student-dashboard-page .notification-action-empty {
    color: #a5adba;

    font-size: 13px;
}


/* =========================================================
   HOVER ROW
   ========================================================= */

.student-dashboard-page .invite-row:not(.invite-header):hover {
    background: #fafbff;
}


/* =========================================================
   ACCEPTED ROW
   ========================================================= */

.student-dashboard-page .invite-row:has(.accepted-status) {
    background: #fbfffd;
}


/* =========================================================
   REJECTED ROW
   ========================================================= */

.student-dashboard-page .invite-row:has(.rejected-status) {
    background: #fffafa;
}


/* =========================================================
   EMPTY ROW
   ========================================================= */

.student-dashboard-page .invite-row.invite-empty-row {
    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 90px;

    padding: 20px;

    background: #fbfcfe;
}


.student-dashboard-page .invite-empty-message {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #8a93a6;

    font-size: 12px;

    font-weight: 650;

    text-align: center;
}


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

@media (max-width: 900px) {

    .student-dashboard-page .invite-row {
        grid-template-columns:
            130px 100px 170px 105px 80px;

        column-gap: 10px;
    }

}


@media (max-width: 650px) {

    .student-dashboard-page .invite-table {
        overflow-x: auto;

        width: 100%;

        -webkit-overflow-scrolling: touch;
    }


    .student-dashboard-page .invite-row {
        min-width: 680px;

        grid-template-columns:
            145px 105px 190px 105px 80px;
    }

}

/* =========================================================
   FINAL FIX â€” SENT INVITATIONS 5 COLUMN LAYOUT
   ========================================================= */

.student-dashboard-page .sd-team-notifications .invite-table .invite-row {

    width: 100% !important;

    display: grid !important;

    grid-template-columns:
        minmax(150px, 1.15fr) minmax(110px, 0.85fr) minmax(190px, 1.45fr) minmax(105px, 0.70fr) minmax(85px, 0.55fr) !important;

    align-items: center !important;

    column-gap: 16px !important;

    padding: 10px 20px !important;

    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.student-dashboard-page .sd-team-notifications .invite-table .invite-row.invite-header {

    min-height: 45px !important;

    background: #f1f3f8 !important;
}


/* =========================================================
   ACTION COLUMN
   ========================================================= */

.student-dashboard-page .sd-team-notifications .invite-table .invite-row .invite-action-cell {

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 100% !important;

    min-width: 85px !important;

    min-height: 40px !important;

    grid-column: 5 !important;

    grid-row: 1 !important;
}


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

.student-dashboard-page .sd-team-notifications .clear-notification-btn {

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: auto !important;

    min-width: 64px !important;

    height: 32px !important;

    padding: 0 12px !important;

    border: 1px solid #d9dfeb !important;

    border-radius: 8px !important;

    background: #ffffff !important;

    color: #64748b !important;

    font-family: inherit !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    cursor: pointer !important;

    white-space: nowrap !important;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease !important;
}


.student-dashboard-page .sd-team-notifications .clear-notification-btn:hover {

    background: #fff7ed !important;

    color: #ea580c !important;

    border-color: #fdba74 !important;

    transform: translateY(-1px) !important;

    box-shadow:
        0 5px 12px rgba(234, 88, 12, .12) !important;
}


/* =========================================================
   EMPTY ACTION
   ========================================================= */

.student-dashboard-page .sd-team-notifications .notification-action-empty {

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 100% !important;

    color: #a5adba !important;

    font-size: 13px !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .student-dashboard-page .sd-team-notifications .invite-table .invite-row {

        grid-template-columns:
            minmax(130px, 1fr) minmax(100px, .8fr) minmax(170px, 1.3fr) minmax(100px, .7fr) minmax(75px, .5fr) !important;

        column-gap: 10px !important;
    }

}


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

@media (max-width: 650px) {

    .student-dashboard-page .sd-team-notifications .invite-table {

        overflow-x: auto !important;

        width: 100% !important;

        -webkit-overflow-scrolling: touch;
    }


    .student-dashboard-page .sd-team-notifications .invite-table .invite-row {

        min-width: 680px !important;

        grid-template-columns:
            145px 105px 190px 105px 80px !important;
    }

}

/* =========================================================
   PROBLEM STATEMENT â€” FINAL PREMIUM DESIGN
   Add this block at the VERY END of student-dashboard.css
========================================================= */


/* =========================================================
   PROBLEM BOX
========================================================= */

.student-dashboard-page #problemBox {
    width: 100%;
    margin-top: 18px;
}


/* =========================================================
   BASE PROBLEM CARD
========================================================= */

.student-dashboard-page #problemBox .problem-card {
    position: relative;
    width: 100%;
    min-width: 0;

    padding: 24px 26px;

    border-radius: 16px;
    border: 1px solid var(--sd-border);

    background: var(--sd-white);

    box-shadow:
        0 3px 12px rgba(20, 24, 31, 0.04);

    overflow: hidden;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   SELECTED PROBLEM
========================================================= */

.student-dashboard-page #problemBox .selected-problem {
    position: relative;

    padding: 24px 26px;

    border: 1px solid #d8d6f8;

    border-radius: 16px;

    background:
        linear-gradient(135deg,
            #f7f7ff 0%,
            #eef0ff 100%);

    box-shadow:
        0 8px 24px rgba(67, 56, 202, 0.08);
}


/* Left accent line */

.student-dashboard-page #problemBox .selected-problem::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    background: var(--sd-indigo);

    border-radius: 16px 0 0 16px;
}


/* Hover */

.student-dashboard-page #problemBox .selected-problem:hover {
    border-color: #c9c6f2;

    box-shadow:
        0 12px 30px rgba(67, 56, 202, 0.11);

    transform: translateY(-1px);
}


/* =========================================================
   CURRENT TEAM PROBLEM LABEL
========================================================= */

.student-dashboard-page #problemBox .problem-selected-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 30px;

    margin-bottom: 10px;
    padding: 6px 11px;

    border-radius: 999px;

    background: #e5e4fb;

    border: 1px solid #d0cef3;

    color: var(--sd-indigo-dark);

    font-size: 11px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: 0.1px;
}


/* Green check */

.student-dashboard-page #problemBox .problem-selected-label::first-letter {
    color: var(--sd-green);
}


/* =========================================================
   PROBLEM TITLE
========================================================= */

.student-dashboard-page #problemBox .problem-name {
    margin: 0;

    color: #171a24;

    font-size: 18px;
    font-weight: 800;

    line-height: 1.4;

    letter-spacing: -0.25px;

    overflow-wrap: anywhere;
}


/* =========================================================
   PROBLEM DESCRIPTION
========================================================= */

.student-dashboard-page #problemBox .problem-desc {
    max-width: 900px;

    margin: 9px 0 0;

    color: #596176;

    font-size: 13px;
    font-weight: 500;

    line-height: 1.7;

    overflow-wrap: anywhere;
    word-break: break-word;
}


/* =========================================================
   PROBLEM ACTIONS
========================================================= */

.student-dashboard-page #problemBox .problem-card-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 17px;
}


/* =========================================================
   VIEW PROBLEM BUTTON
========================================================= */

.student-dashboard-page #problemBox .problem-action-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 38px;

    padding: 8px 15px;

    border: 1px solid #cfcdf1;

    border-radius: 10px;

    background: #ffffff;

    color: var(--sd-indigo-dark);

    font-family: inherit;

    font-size: 11.5px;
    font-weight: 750;

    text-decoration: none;

    cursor: pointer;

    box-shadow:
        0 2px 6px rgba(67, 56, 202, 0.05);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.student-dashboard-page #problemBox .problem-action-btn:hover {
    background: var(--sd-indigo);

    border-color: var(--sd-indigo);

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 7px 16px rgba(67, 56, 202, 0.20);
}


/* =========================================================
   SELECT PROBLEM BUTTON â€” LEADER
========================================================= */

.student-dashboard-page #problemBox .problem-action-btn.primary {
    margin-top: 14px;

    background: #ffffff;

    border: 1px solid #cfcdf1;

    color: var(--sd-indigo-dark);
}


.student-dashboard-page #problemBox .problem-action-btn.primary:hover {
    background: var(--sd-indigo);

    border-color: var(--sd-indigo);

    color: #ffffff;
}


/* =========================================================
   NO PROBLEM CARD
========================================================= */

.student-dashboard-page #problemBox .no-problem {
    display: grid;

    grid-template-columns: 48px minmax(0, 1fr);

    align-items: start;

    gap: 15px;

    padding: 20px;

    border: 1px dashed #cfd4e1;

    border-radius: 15px;

    background: #f8f9fc;

    box-shadow: none;
}


/* =========================================================
   LEADER EMPTY STATE
========================================================= */

.student-dashboard-page #problemBox .leader-no-problem {
    border-color: #cfcdf1;

    background:
        linear-gradient(135deg,
            #fafaff 0%,
            #f4f3ff 100%);
}


/* =========================================================
   MEMBER EMPTY STATE
========================================================= */

.student-dashboard-page #problemBox .member-no-problem {
    border-color: #d5dae5;

    background:
        linear-gradient(135deg,
            #fafbfc 0%,
            #f5f7fa 100%);
}


/* =========================================================
   EMPTY STATE ICON
========================================================= */

.student-dashboard-page #problemBox .problem-empty-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    flex: 0 0 48px;

    border-radius: 13px;

    background: #eef0ff;

    border: 1px solid #dfe1f8;

    color: var(--sd-indigo);

    font-size: 20px;

    box-shadow:
        0 3px 8px rgba(67, 56, 202, 0.06);
}


/* Leader icon */

.student-dashboard-page #problemBox .leader-no-problem .problem-empty-icon {
    background: #eeeefe;

    border-color: #dcdaf8;
}


/* Member icon */

.student-dashboard-page #problemBox .member-no-problem .problem-empty-icon {
    background: #eef2f7;

    border-color: #dfe3eb;
}


/* =========================================================
   EMPTY CONTENT
========================================================= */

.student-dashboard-page #problemBox .problem-empty-content {
    min-width: 0;
}


/* Empty title */

.student-dashboard-page #problemBox .problem-empty-content strong {
    display: block;

    margin: 1px 0 0;

    color: #252a38;

    font-size: 13.5px;
    font-weight: 800;

    line-height: 1.5;
}


/* Empty description */

.student-dashboard-page #problemBox .problem-empty-content span {
    display: block;

    margin-top: 5px;

    color: #70798d;

    font-size: 11.5px;
    font-weight: 500;

    line-height: 1.6;
}


/* =========================================================
   ENROLL SECTION
========================================================= */

.student-dashboard-page #problemEnrollSection {
    width: 100%;

    margin-top: 15px;
}


/* =========================================================
   ENROLL MESSAGE BASE
========================================================= */

.student-dashboard-page #problemEnrollSection .enroll-msg,
.student-dashboard-page .enrollMessageBox .enroll-msg {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    width: 100%;

    margin-top: 0;

    padding: 12px 14px;

    border-radius: 10px;

    font-size: 11.5px;

    font-weight: 650;

    line-height: 1.55;

    box-sizing: border-box;
}


/* =========================================================
   CURRENT TEAM PROBLEM MESSAGE
========================================================= */

.student-dashboard-page #problemEnrollSection .enroll-msg.success {
    background: #eefaf4;

    border: 1px solid #c7ead8;

    color: #18764d;
}


/* Add check icon */

.student-dashboard-page #problemEnrollSection .enroll-msg.success::before {
    content: "âœ“";

    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    display: grid;
    place-items: center;

    margin-top: 1px;

    border-radius: 50%;

    background: #d8f3e5;

    color: #148353;

    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   MEMBER â€” OTHER PROBLEM SELECTED
========================================================= */

.student-dashboard-page #problemEnrollSection .enroll-msg:not(.success):not(.error) {
    background: #f5f6fa;

    border: 1px solid #dfe2ea;

    color: #596176;
}


/* Information icon */

.student-dashboard-page #problemEnrollSection .enroll-msg:not(.success):not(.error)::before {
    content: "i";

    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    display: grid;
    place-items: center;

    margin-top: 1px;

    border-radius: 50%;

    background: #e7eaf1;

    color: #596176;

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   ERROR MESSAGE
========================================================= */

.student-dashboard-page #problemEnrollSection .enroll-msg.error {
    background: #fff3f2;

    border: 1px solid #f1cecb;

    color: #b23b35;
}


.student-dashboard-page #problemEnrollSection .enroll-msg.error::before {
    content: "!";

    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    display: grid;
    place-items: center;

    margin-top: 1px;

    border-radius: 50%;

    background: #fde3e1;

    color: #b23b35;

    font-size: 11px;
    font-weight: 900;
}


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

.student-dashboard-page #problemEnrollSection .enroll-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 40px;

    margin-top: 12px;

    padding: 9px 16px;

    border: 1px solid #e2c17e;

    border-radius: 10px;

    background: var(--sd-amber);

    color: #33230a;

    font-family: inherit;

    font-size: 11.5px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.student-dashboard-page #problemEnrollSection .enroll-btn:hover:not(:disabled) {
    background: var(--sd-amber-dark);

    border-color: var(--sd-amber-dark);

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 7px 16px rgba(201, 130, 15, 0.20);
}


.student-dashboard-page #problemEnrollSection .enroll-btn:disabled {
    opacity: 0.55;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


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

@media (max-width: 700px) {

    .student-dashboard-page #problemBox .problem-card {
        padding: 18px;
    }


    .student-dashboard-page #problemBox .selected-problem {
        padding: 19px;
    }


    .student-dashboard-page #problemBox .problem-name {
        font-size: 16px;
    }


    .student-dashboard-page #problemBox .problem-desc {
        font-size: 12px;
    }


    .student-dashboard-page #problemBox .no-problem {
        grid-template-columns: 42px minmax(0, 1fr);

        gap: 12px;

        padding: 16px;
    }


    .student-dashboard-page #problemBox .problem-empty-icon {
        width: 42px;
        height: 42px;

        flex-basis: 42px;

        font-size: 18px;
    }


    .student-dashboard-page #problemBox .problem-empty-content strong {
        font-size: 12.5px;
    }


    .student-dashboard-page #problemBox .problem-empty-content span {
        font-size: 11px;
    }
}


@media (max-width: 480px) {

    .student-dashboard-page #problemBox .selected-problem {
        padding: 16px;
    }


    .student-dashboard-page #problemBox .problem-card-actions {
        width: 100%;
    }


    .student-dashboard-page #problemBox .problem-action-btn {
        width: 100%;
    }


    .student-dashboard-page #problemBox .problem-selected-label {
        font-size: 10px;
    }


    .student-dashboard-page #problemEnrollSection .enroll-msg {
        font-size: 11px;
    }

}

/* =========================================================
   STUDENT DASHBOARD
   FINAL TEAM APPROVAL
========================================================= */

.student-dashboard-page #teamActionBox {
    width: 100%;
    margin-top: 18px;
}


/* Main wrapper */

.student-dashboard-page .student-final-approval-wrapper {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 16px 18px;

    border: 1px solid #e3e6ef;

    border-radius: 14px;

    background: #fafbfe;

    box-sizing: border-box;
}


/* Information */

.student-dashboard-page .student-final-approval-info {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.student-dashboard-page .student-final-approval-info strong {
    color: #242938;

    font-size: 13px;

    font-weight: 800;

    line-height: 1.4;
}


.student-dashboard-page .student-final-approval-info span {
    color: #70788a;

    font-size: 11px;

    font-weight: 500;

    line-height: 1.55;
}


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

.student-dashboard-page .student-final-approval-btn {
    flex: 0 0 auto;

    min-height: 42px;

    padding: 10px 18px;

    border: 1px solid #4f46a5;

    border-radius: 10px;

    background: #5146a5;

    color: #ffffff;

    font-family: inherit;

    font-size: 11.5px;

    font-weight: 800;

    white-space: nowrap;

    cursor: pointer;

    box-shadow:
        0 5px 14px rgba(79, 70, 165, 0.18);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.student-dashboard-page .student-final-approval-btn:hover:not(:disabled) {
    background: #40378e;

    border-color: #40378e;

    transform: translateY(-1px);

    box-shadow:
        0 8px 18px rgba(79, 70, 165, 0.24);
}


/* =========================================================
   PENDING
========================================================= */

.student-dashboard-page .student-final-approval-btn.pending {
    background: #fff7e8;

    border-color: #f2c66d;

    color: #a86600;

    box-shadow: none;

    cursor: not-allowed;
}


/* =========================================================
   APPROVED
========================================================= */

.student-dashboard-page .student-final-approval-btn.approved {
    background: #eaf8f0;

    border-color: #bce3cc;

    color: #167447;

    box-shadow: none;

    cursor: not-allowed;
}


/* =========================================================
   REJECTED / RESEND
========================================================= */

.student-dashboard-page .student-final-approval-btn.rejected {
    background: #fff5f4;

    border-color: #e5aaa5;

    color: #b33d35;
}


.student-dashboard-page .student-final-approval-btn.rejected:hover:not(:disabled) {
    background: #b33d35;

    border-color: #b33d35;

    color: #ffffff;
}


/* =========================================================
   PROCESSING
========================================================= */

.student-dashboard-page .student-final-approval-btn.processing {
    opacity: 0.7;

    cursor: wait;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   DISABLED
========================================================= */

.student-dashboard-page .student-final-approval-btn:disabled {
    opacity: 0.9;

    transform: none;
}


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

@media (max-width: 700px) {

    .student-dashboard-page .student-final-approval-wrapper {
        flex-direction: column;

        align-items: stretch;

        gap: 13px;

        padding: 15px;
    }


    .student-dashboard-page .student-final-approval-btn {
        width: 100%;

        white-space: normal;
    }

}

/* =========================================================
   CHANGE PROBLEM
========================================================= */

.student-dashboard-page .change-problem-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    min-height: 38px;

    margin-top: 12px;

    padding: 8px 15px;

    border: 1px solid #cfcdf1;

    border-radius: 10px;

    background: #ffffff;

    color: var(--sd-indigo-dark);

    font-family: inherit;

    font-size: 11.5px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.student-dashboard-page .change-problem-btn:hover {

    background: var(--sd-indigo);

    border-color: var(--sd-indigo);

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 7px 16px rgba(67, 56, 202, 0.18);
}


/* Current problem message */

.student-dashboard-page .current-problem-message {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 11px;

    border-radius: 9px;

    background: #eaf8f0;

    border: 1px solid #c7e8d5;

    color: #18764d;

    font-size: 11.5px;

    font-weight: 750;
}


/* Change selection button */

.student-dashboard-page .change-selection-btn {

    background: #ffffff;

    border-color: #cfcdf1;

    color: var(--sd-indigo-dark);
}


/* Popup */

.change-problem-popup-overlay {

    position: fixed;

    inset: 0;

    z-index: 100000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        rgba(15, 18, 30, 0.52);

    backdrop-filter: blur(5px);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.18s ease,
        visibility 0.18s ease;
}


.change-problem-popup-overlay.show {

    opacity: 1;

    visibility: visible;
}


.change-problem-popup-overlay.closing {

    opacity: 0;

    visibility: hidden;
}


.change-problem-popup {

    width: 100%;

    max-width: 430px;

    padding: 28px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid #e4e6ef;

    box-shadow:
        0 25px 70px rgba(20, 25, 40, 0.22);

    text-align: center;

    transform:
        translateY(15px) scale(0.97);

    transition:
        transform 0.2s ease;
}


.change-problem-popup-overlay.show .change-problem-popup {

    transform:
        translateY(0) scale(1);
}


.change-problem-popup-icon {

    width: 58px;

    height: 58px;

    margin: 0 auto 15px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #eef0ff;

    border: 1px solid #d9daf7;

    font-size: 24px;
}


.change-problem-popup-content h3 {

    margin: 0;

    color: #202433;

    font-size: 20px;

    font-weight: 800;
}


.change-problem-popup-content p {

    margin: 9px 0 5px;

    color: #454b5d;

    font-size: 13px;

    font-weight: 650;

    line-height: 1.55;
}


.change-problem-popup-content span {

    display: block;

    color: #777f90;

    font-size: 11.5px;

    line-height: 1.65;
}


.change-problem-popup-actions {

    display: flex;

    justify-content: center;

    gap: 10px;

    margin-top: 23px;
}


.change-problem-popup-actions button {

    min-width: 120px;

    min-height: 40px;

    padding: 9px 15px;

    border-radius: 10px;

    font-family: inherit;

    font-size: 11.5px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.change-problem-cancel-btn {

    border: 1px solid #dce0e8;

    background: #f7f8fa;

    color: #50576a;
}


.change-problem-cancel-btn:hover {

    background: #eceef3;

    transform: translateY(-1px);
}


.change-problem-confirm-btn {

    border: 1px solid var(--sd-indigo);

    background: var(--sd-indigo);

    color: #ffffff;

    box-shadow:
        0 6px 15px rgba(67, 56, 202, 0.18);
}


.change-problem-confirm-btn:hover {

    background: var(--sd-indigo-dark);

    border-color: var(--sd-indigo-dark);

    transform: translateY(-1px);
}


@media (max-width: 500px) {

    .change-problem-popup {

        padding: 24px 20px;

    }


    .change-problem-popup-actions {

        flex-direction: column-reverse;

    }


    .change-problem-popup-actions button {

        width: 100%;

    }

}

/* =========================================================
   CHANGE TO THIS PROBLEM BUTTON
========================================================= */

.change-list-problem-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 150px;
    height: 32px;

    padding: 6px 11px;

    border: 1px solid #cfd3f5;
    border-radius: 6px;

    background: #ffffff;
    color: #3730a3;

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    line-height: 1;
    white-space: nowrap;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* Hover */

.change-list-problem-btn:hover {
    background: #f3f2ff;

    border-color: #9d9ae8;

    color: #29227f;

    box-shadow:
        0 3px 8px rgba(79, 70, 229, 0.12);

    transform: translateY(-1px);
}


/* Click */

.change-list-problem-btn:active {
    transform: translateY(0);

    box-shadow: none;
}


/* Focus */

.change-list-problem-btn:focus {
    outline: none;

    border-color: #6366f1;

    box-shadow:
        0 0 0 3px rgba(99, 102, 241, 0.12);
}


/* Disabled */

.change-list-problem-btn:disabled {
    opacity: 0.55;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}

/* =========================================================
   CURRENT PROBLEM LABEL
========================================================= */

.problem-list-current {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 120px;
    height: 32px;

    padding: 6px 11px;

    border: 1px solid #d8d9f4;
    border-radius: 6px;

    background: #f7f7ff;
    color: #555b70;

    font-family: inherit;
    font-size: 11px;
    font-weight: 600;

    line-height: 1;
    white-space: nowrap;

    box-sizing: border-box;
}

/* =========================================================
   CLEAR ADMIN NOTIFICATION
========================================================= */

.admin-message-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 14px 16px;
    border-top: 1px solid #eee2c8;
    background: #fffaf0;
}


.clear-admin-notification-btn {
    border: 1px solid #d97706;
    background: #ffffff;
    color: #b45309;

    padding: 9px 16px;

    border-radius: 8px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.clear-admin-notification-btn:hover {

    background: #d97706;

    color: #ffffff;

    border-color: #d97706;

    transform: translateY(-1px);
}


.clear-admin-notification-btn:disabled {

    opacity: 0.6;

    cursor: not-allowed;

    transform: none;
}

/* =========================================================
   IDEA PRESENTATION STATUS
   ========================================================= */

.student-dashboard-page .idea-presentation-status-box {
    width: 100%;
    margin-top: 18px;
}

.student-dashboard-page .idea-submission-status {
    width: 100%;
    min-height: 76px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 14px 16px;

    border-radius: 14px;

    border: 1px solid #e5e7eb;

    background: #ffffff;

    box-shadow: 0 4px 14px rgba(20, 24, 31, 0.06);

    box-sizing: border-box;

    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   APPROVED
   ========================================================= */

.student-dashboard-page .idea-submission-status.approved {
    background: #f0fdf4;

    border-color: #bbf7d0;

    box-shadow:
        0 5px 18px rgba(22, 163, 74, 0.08);
}


/* =========================================================
   PENDING
   ========================================================= */

.student-dashboard-page .idea-submission-status.pending {
    background: #fffbeb;

    border-color: #fde68a;

    box-shadow:
        0 5px 18px rgba(245, 158, 11, 0.08);
}


/* =========================================================
   REJECTED
   ========================================================= */

.student-dashboard-page .idea-submission-status.rejected {
    background: #fef2f2;

    border-color: #fecaca;

    box-shadow:
        0 5px 18px rgba(220, 38, 38, 0.08);
}


/* =========================================================
   STATUS ICON
   ========================================================= */

.student-dashboard-page .idea-status-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 19px;
    font-weight: 800;

    line-height: 1;
}


/* APPROVED ICON */

.student-dashboard-page .idea-submission-status.approved .idea-status-icon {
    background: #dcfce7;

    color: #15803d;

    border: 1px solid #bbf7d0;
}


/* PENDING ICON */

.student-dashboard-page .idea-submission-status.pending .idea-status-icon {
    background: #fef3c7;

    color: #b45309;

    border: 1px solid #fde68a;
}


/* REJECTED ICON */

.student-dashboard-page .idea-submission-status.rejected .idea-status-icon {
    background: #fee2e2;

    color: #b91c1c;

    border: 1px solid #fecaca;
}


/* =========================================================
   STATUS CONTENT
   ========================================================= */

.student-dashboard-page .idea-status-content {
    flex: 1;

    min-width: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;

    gap: 4px;
}


.student-dashboard-page .idea-status-content strong {
    display: block;

    margin: 0;

    color: #172033;

    font-size: 14px;

    font-weight: 800;

    line-height: 1.35;
}


.student-dashboard-page .idea-status-content span {
    display: block;

    margin: 0;

    color: #667085;

    font-size: 12px;

    font-weight: 500;

    line-height: 1.55;

    overflow-wrap: anywhere;
}


/* =========================================================
   STATUS BADGE
   ========================================================= */

.student-dashboard-page .idea-status-badge {
    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 30px;

    padding: 6px 12px;

    border-radius: 999px;

    font-size: 11px;

    font-weight: 800;

    line-height: 1;

    white-space: nowrap;
}


/* APPROVED BADGE */

.student-dashboard-page .idea-submission-status.approved .idea-status-badge {
    background: #dcfce7;

    color: #15803d;

    border: 1px solid #bbf7d0;
}


/* PENDING BADGE */

.student-dashboard-page .idea-submission-status.pending .idea-status-badge {
    background: #fef3c7;

    color: #92400e;

    border: 1px solid #fde68a;
}


/* REJECTED BADGE */

.student-dashboard-page .idea-submission-status.rejected .idea-status-badge {
    background: #fee2e2;

    color: #b91c1c;

    border: 1px solid #fecaca;
}


/* =========================================================
   HOVER
   ========================================================= */

.student-dashboard-page .idea-submission-status:hover {
    transform: translateY(-1px);

    box-shadow: 0 8px 22px rgba(20, 24, 31, 0.09);
}


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

@media (max-width: 600px) {

    .student-dashboard-page .idea-submission-status {
        align-items: flex-start;

        gap: 11px;

        padding: 13px;

        min-height: auto;
    }

    .student-dashboard-page .idea-status-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;

        font-size: 17px;
    }

    .student-dashboard-page .idea-status-content strong {
        font-size: 13px;
    }

    .student-dashboard-page .idea-status-content span {
        font-size: 11.5px;
    }

    .student-dashboard-page .idea-status-badge {
        align-self: center;

        min-height: 27px;

        padding: 5px 9px;

        font-size: 10px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .student-dashboard-page .idea-submission-status {
        flex-wrap: wrap;
    }

    .student-dashboard-page .idea-status-content {
        flex: 1 1 calc(100% - 55px);
    }

    .student-dashboard-page .idea-status-badge {
        margin-left: 53px;
    }
}

/* Formatted problem description */

.formatted-problem-description {

    font-family: "Poppins", sans-serif;

    font-size: 14px;

    line-height: 1.85;

    color: #243b60;

    text-align: left;

    overflow-wrap: anywhere;

}


.formatted-problem-description p {

    margin: 0 0 15px;

}


.formatted-problem-description h1,

.formatted-problem-description h2,

.formatted-problem-description h3,

.formatted-problem-description h4,

.formatted-problem-description h5,

.formatted-problem-description h6 {

    color: #142b50;

    font-weight: 700;

    line-height: 1.5;

    margin: 24px 0 10px;

}


.formatted-problem-description h3 {

    font-size: 16px;

}


.formatted-problem-description ul,

.formatted-problem-description ol {

    margin: 10px 0 20px;

    padding-left: 27px;

}


.formatted-problem-description li {

    margin-bottom: 6px;

    padding-left: 3px;

}


.formatted-problem-description li::marker {

    color: #f97316;

}


.formatted-problem-description ul ul,

.formatted-problem-description ol ol {

    margin: 5px 0 10px;

    padding-left: 24px;

}


.formatted-problem-description strong,

.formatted-problem-description b {

    color: #142b50;

    font-weight: 700;

}


.formatted-problem-description hr {

    border: 0;

    border-top: 1px solid #e2e8f0;

    margin: 20px 0;

}


.formatted-problem-description img {

    max-width: 100%;

    height: auto;

}


@media (max-width: 768px) {

    .formatted-problem-description {

        font-size: 13px;

        line-height: 1.8;

    }


    .formatted-problem-description ul,

    .formatted-problem-description ol {

        padding-left: 22px;

    }

}


/* =====================================================*

*Â   STUDENT DASHBOARD â€” PROBLEM DESCRIPTION FORMATTING*

*Â   Add at the VERY END of student-dashboard.css*

*===================================================== */


/* Full problem modal */

.student-dashboard-page #viewProblemDescription.formatted-problem-description {

    display: block !important;

    width: 100%;

    max-width: 100%;

    padding: 20px 0 !important;

    margin: 0;

    color: #243b60 !important;

    font-family: "Poppins", "Segoe UI", Arial, sans-serif !important;

    font-size: 14px !important;

    font-weight: 400 !important;

    line-height: 1.85 !important;

    text-align: left;

    white-space: normal !important;

    overflow-wrap: anywhere;

    word-break: normal;

}


/* Paragraphs */

.student-dashboard-page #viewProblemDescription.formatted-problem-description p {

    display: block !important;

    margin: 0 0 15px !important;

    padding: 0 !important;

    line-height: 1.85 !important;

}


/* Headings */

.student-dashboard-page #viewProblemDescription.formatted-problem-description h1,

.student-dashboard-page #viewProblemDescription.formatted-problem-description h2,

.student-dashboard-page #viewProblemDescription.formatted-problem-description h3,

.student-dashboard-page #viewProblemDescription.formatted-problem-description h4,

.student-dashboard-page #viewProblemDescription.formatted-problem-description h5,

.student-dashboard-page #viewProblemDescription.formatted-problem-description h6 {

    display: block !important;

    margin: 24px 0 12px !important;

    padding: 0 !important;

    color: #142b50 !important;

    font-family: inherit !important;

    font-weight: 700 !important;

    line-height: 1.5 !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description h1 {

    font-size: 25px !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description h2 {

    font-size: 21px !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description h3 {

    font-size: 17px !important;

}


/* Bulleted and numbered lists */

.student-dashboard-page #viewProblemDescription.formatted-problem-description ul,

.student-dashboard-page #viewProblemDescription.formatted-problem-description ol {

    display: block !important;

    margin: 12px 0 20px !important;

    padding-left: 30px !important;

    list-style-position: outside !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description ul {

    list-style-type: disc !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description ol {

    list-style-type: decimal !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description ul ul {

    list-style-type: circle !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description ul ul ul {

    list-style-type: square !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description li {

    display: list-item !important;

    margin: 0 0 7px !important;

    padding: 0 0 0 3px !important;

    color: #243b60 !important;

    line-height: 1.8 !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description li::marker {

    color: #f97316 !important;

}


/* Bold and italic */

.student-dashboard-page #viewProblemDescription.formatted-problem-description strong,

.student-dashboard-page #viewProblemDescription.formatted-problem-description b {

    color: #142b50 !important;

    font-weight: 700 !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description em,

.student-dashboard-page #viewProblemDescription.formatted-problem-description i {

    font-style: italic !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description u {

    text-decoration: underline !important;

}


/* Tables */

.student-dashboard-page #viewProblemDescription.formatted-problem-description figure.table {

    display: block !important;

    width: 100%;

    max-width: 100%;

    margin: 18px 0 !important;

    overflow-x: auto;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description table {

    display: table !important;

    width: 100% !important;

    border-collapse: collapse !important;

    border-spacing: 0 !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description tr {

    display: table-row !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description th,

.student-dashboard-page #viewProblemDescription.formatted-problem-description td {

    display: table-cell !important;

    padding: 10px 12px !important;

    border: 1px solid #dbe3ef !important;

    text-align: left;

    vertical-align: top;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description th {

    background: #eef2ff !important;

    color: #142b50 !important;

    font-weight: 700 !important;

}


/* Images */

.student-dashboard-page #viewProblemDescription.formatted-problem-description figure.image {

    display: block;

    max-width: 100%;

    margin: 18px 0 !important;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description img {

    display: inline-block;

    max-width: 100% !important;

    height: auto !important;

    border-radius: 8px;

}


/* Blockquotes and separators */

.student-dashboard-page #viewProblemDescription.formatted-problem-description blockquote {

    margin: 18px 0 !important;

    padding: 12px 18px !important;

    border-left: 4px solid #4338ca;

    background: #f4f5ff;

}


.student-dashboard-page #viewProblemDescription.formatted-problem-description hr {

    margin: 22px 0 !important;

    border: 0;

    border-top: 1px solid #dbe3ef;

}


@media (max-width: 600px) {

    .student-dashboard-page #viewProblemDescription.formatted-problem-description {

        font-size: 13px !important;

        line-height: 1.8 !important;

    }


    .student-dashboard-page #viewProblemDescription.formatted-problem-description ul,

    .student-dashboard-page #viewProblemDescription.formatted-problem-description ol {

        padding-left: 23px !important;

    }

}


/* =====================================================*

*Â   PREMIUM COMPLETE PROBLEM MODAL*

*===================================================== */


.student-dashboard-page .problem-view-modal {

    width: min(1050px, calc(100vw - 40px)) !important;

    max-height: calc(100vh - 40px) !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #a5aec5 #f1f3f9;

    border: 1px solid #e0e4f5 !important;

    border-radius: 24px !important;

    background: #ffffff !important;

    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.20) !important;

}


/* Modal header */

.student-dashboard-page .problem-header.premium-problem-header {

    position: relative !important;

    isolation: isolate;

    overflow: hidden !important;

    margin: 0 0 22px !important;

    padding: 28px 26px 25px !important;

    border: 1px solid #e0e2f8 !important;

    border-top: 4px solid #ff9f1c !important;

    border-radius: 17px !important;

    background: linear-gradient(135deg,

            #f9f8ff 0%,

            #f1f0ff 55%,

            #ecebff 100%) !important;

}


/* Decorative circle */

.student-dashboard-page .problem-header.premium-problem-header::after {

    content: "";

    position: absolute;

    z-index: -1;

    top: -72px;

    right: -35px;

    width: 155px;

    height: 155px;

    border: 18px solid rgba(99, 102, 241, 0.08);

    border-radius: 50%;

    pointer-events: none;

}


/* Header content */

.student-dashboard-page .problem-hero-content {

    position: relative;

    z-index: 1;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 0;

    max-width: 900px;

}


/* Small labels */

.student-dashboard-page .problem-eyebrow,

.student-dashboard-page .problem-title-label {

    display: block;

    color: #69748e !important;

    font-family: "Poppins", sans-serif !important;

    font-size: 10px !important;

    font-weight: 800 !important;

    line-height: 1.5 !important;

    letter-spacing: 1.3px !important;

}


/* Hackathon badge */

.student-dashboard-page .problem-hackathon-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 33px;

    margin: 6px 0 20px;

    padding: 7px 16px;

    border: 1px solid #5146d8;

    border-radius: 999px;

    background: linear-gradient(135deg, #5146df, #4338ca);

    color: #ffffff !important;

    font-family: "Poppins", sans-serif !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    line-height: 1.4 !important;

    box-shadow: 0 5px 12px rgba(67, 56, 202, 0.16);

}


/* Problem title label */

.student-dashboard-page .problem-title-label {

    margin-bottom: 7px;

}


/* Large title */

.student-dashboard-page .problem-hero-title {

    max-width: 850px;

    margin: 0 !important;

    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;

    color: #192238 !important;

    font-family: "Poppins", sans-serif !important;

    font-size: clamp(23px, 3vw, 32px) !important;

    font-weight: 750 !important;

    line-height: 1.35 !important;

    letter-spacing: -0.7px !important;

    overflow-wrap: anywhere;

}


/* Orange-purple underline */

.student-dashboard-page .problem-title-accent {

    display: block;

    width: 62px;

    height: 4px;

    margin-top: 13px;

    border-radius: 999px;

    background: linear-gradient(90deg, #5146df, #ff9f1c);

}


/* Description body */

.student-dashboard-page .problem-body {

    padding: 0 26px 22px !important;

    color: #334155 !important;

    font-family: "Poppins", sans-serif !important;

    font-size: 14px !important;

    line-height: 1.85 !important;

}


/* Description heading */

.student-dashboard-page .problem-body>h3,

.student-dashboard-page .problem-body>h4 {

    margin: 0 0 14px !important;

    color: #192238 !important;

    font-size: 16px !important;

    font-weight: 750 !important;

}


/* PDF and enrollment actions */

.student-dashboard-page .problem-footer {

    padding: 0 26px 25px !important;

    gap: 12px !important;

}


/* Responsive */

@media (max-width: 600px) {

    .student-dashboard-page .problem-view-modal {

        width: calc(100vw - 20px) !important;

        max-height: calc(100vh - 20px) !important;

        border-radius: 17px !important;

    }


    .student-dashboard-page .problem-header.premium-problem-header {

        padding: 23px 17px 20px !important;

        margin-bottom: 18px !important;

    }


    .student-dashboard-page .problem-hero-title {

        font-size: 23px !important;

        letter-spacing: -0.3px !important;

    }


    .student-dashboard-page .problem-body {

        padding: 0 17px 20px !important;

        font-size: 13px !important;

    }


    .student-dashboard-page .problem-footer {

        padding: 0 17px 20px !important;

    }

}

/* =========================================================
   COMPLETE PROBLEM MODAL â€” SCROLLING FIX
   Keep the existing HTML and JavaScript logic unchanged.
========================================================= */

.student-dashboard-page #viewProblemModal {
    align-items: center;
    justify-content: center;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.student-dashboard-page #viewProblemModal .problem-view-modal {
    flex: 0 0 auto;
    max-height: calc(100vh - 40px) !important;
    max-height: calc(100dvh - 40px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #a5aec5 #f1f3f9;
}

.student-dashboard-page #viewProblemModal .problem-view-modal::-webkit-scrollbar {
    width: 8px;
}

.student-dashboard-page #viewProblemModal .problem-view-modal::-webkit-scrollbar-track {
    background: #f1f3f9;
    border-radius: 10px;
}

.student-dashboard-page #viewProblemModal .problem-view-modal::-webkit-scrollbar-thumb {
    background: #a5aec5;
    border-radius: 10px;
}

.student-dashboard-page #viewProblemModal .problem-view-modal::-webkit-scrollbar-thumb:hover {
    background: #66759a;
}

.student-dashboard-page #viewProblemModal #viewProblemDescription {
    min-height: 0;
    overflow: visible !important;
}

@media (max-width: 600px) {
    .student-dashboard-page #viewProblemModal {
        padding: 10px;
        align-items: flex-start;
    }

    .student-dashboard-page #viewProblemModal .problem-view-modal {
        width: calc(100vw - 20px) !important;
        max-height: calc(100vh - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
        border-radius: 17px !important;
    }
}

/* ==========================================
   SELECTED PROBLEM CARD
========================================== */

.selected-problem {
    box-sizing: border-box;
    width: 100%;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #dce2f2;
    border-left: 4px solid #4f46e5;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff, #f7f8ff);
    box-shadow: 0 8px 24px rgba(31, 41, 95, 0.07);
}

.selected-problem .problem-selected-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    padding: 7px 12px;
    border: 1px solid #d9d5ff;
    border-radius: 30px;
    background: #eeedff;
    color: #3730a3;
    font-size: 12px;
    font-weight: 700;
}

.selected-problem .problem-name {
    margin: 0 0 16px;
    color: #172554;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* ==========================================
   FORMATTED PROBLEM DESCRIPTION
========================================== */

.formatted-problem-description {
    color: #475569;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
    word-break: normal;
}

.formatted-problem-description p {
    margin: 0 0 14px;
}

.formatted-problem-description h1,
.formatted-problem-description h2,
.formatted-problem-description h3,
.formatted-problem-description h4,
.formatted-problem-description h5,
.formatted-problem-description h6 {
    margin: 22px 0 10px;
    color: #172554;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.formatted-problem-description h1:first-child,
.formatted-problem-description h2:first-child,
.formatted-problem-description h3:first-child,
.formatted-problem-description h4:first-child {
    margin-top: 0;
}

.formatted-problem-description strong,
.formatted-problem-description b {
    color: #1e293b;
    font-weight: 700;
}

.formatted-problem-description ul,
.formatted-problem-description ol {
    margin: 10px 0 18px;
    padding-left: 25px;
}

.formatted-problem-description li {
    margin-bottom: 8px;
    padding-left: 3px;
}

.formatted-problem-description ul li::marker {
    color: #4f46e5;
}

.formatted-problem-description ol li::marker {
    color: #4338ca;
    font-weight: 700;
}

.formatted-problem-description table {
    display: block;
    width: 100%;
    margin: 16px 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.formatted-problem-description th,
.formatted-problem-description td {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.formatted-problem-description th {
    background: #eef2ff;
    color: #1e3a8a;
    font-weight: 700;
}

.formatted-problem-description blockquote {
    margin: 16px 0;
    padding: 12px 16px;
    border-left: 3px solid #6366f1;
    border-radius: 0 8px 8px 0;
    background: #f1f5ff;
}

.formatted-problem-description hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
}

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

.selected-problem .problem-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.selected-problem .problem-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 10px 16px;
    border: 1px solid #c7d2fe;
    border-radius: 9px;
    background: #ffffff;
    color: #3730a3;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.selected-problem .problem-action-btn:hover {
    background: #eef2ff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}

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

@media (max-width: 600px) {
    .selected-problem {
        padding: 16px;
    }

    .selected-problem .problem-name {
        font-size: 18px;
    }

    .formatted-problem-description {
        font-size: 13px;
        line-height: 1.8;
    }

    .formatted-problem-description h1,
    .formatted-problem-description h2,
    .formatted-problem-description h3,
    .formatted-problem-description h4 {
        font-size: 15px;
    }
}

/* ==========================================
   PROBLEM DESCRIPTION PREVIEW
========================================== */

.problem-description-wrapper {
    width: 100%;
    margin-top: 12px;
}

.problem-description-preview {
    position: relative;
    max-height: 190px;
    overflow: hidden;
    transition: max-height 0.45s ease-in-out;
}

/* Fade at the bottom while the description is collapsed */
.problem-description-preview:not(.expanded)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(247, 248, 255, 0),
        rgba(247, 248, 255, 1)
    );
}

.problem-description-preview.expanded {
    max-height: 10000px;
}

.problem-description-preview.expanded::after {
    display: none;
}

/* Preserve existing description formatting */
.problem-description-content {
    width: 100%;
    color: #475569;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.problem-description-content p {
    margin: 0 0 14px;
}

.problem-description-content h1,
.problem-description-content h2,
.problem-description-content h3,
.problem-description-content h4,
.problem-description-content h5,
.problem-description-content h6 {
    margin: 18px 0 10px;
    color: #172554;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.problem-description-content ul,
.problem-description-content ol {
    margin: 10px 0 16px;
    padding-left: 28px;
}

.problem-description-content li {
    margin-bottom: 8px;
}

.problem-description-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.problem-description-content th,
.problem-description-content td {
    padding: 9px 12px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

/* ==========================================
   READ MORE / READ LESS BUTTON
========================================== */

.problem-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 0;
    border: none;
    background: transparent;
    color: #4338ca;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease;
}

.problem-readmore-btn:hover {
    color: #1e1b4b;
    text-decoration: underline;
}

.problem-readmore-btn[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .problem-description-content {
        font-size: 13px;
        line-height: 1.8;
    }

    .problem-description-content h1,
    .problem-description-content h2,
    .problem-description-content h3,
    .problem-description-content h4 {
        font-size: 15px;
    }
}


#completeProfileModal .field-error {
    display: block;
    min-height: 0;
    margin: 4px 0 10px;
    color: #dc2626;
    font-size: 13px;
    line-height: 1.4;
}

#completeProfileModal .field-error:empty {
    display: none;
}

#completeProfileModal .input-invalid {
    border: 1px solid #dc2626 !important;
    outline-color: #dc2626;
}

#completeProfileModal input:focus,
#completeProfileModal textarea:focus,
#completeProfileModal select:focus {
    outline-offset: 1px;
}

#completeProfileModal .modal-actions button.primary:disabled {
    /* opacity: 0.55; */
    /* cursor: not-allowed; */
}


/* Error message - Red */
#completeProfileModal #profileFormMessage.form-error-message {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 10px 12px;
    border-radius: 6px;
}

/* Success message - Green */
#completeProfileModal #profileFormMessage.success-message {
    color: #15803d !important;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 600;
}