/* =========================================================
   SMART EXAM ENGINE
   STUDENT DASHBOARD
   PREMIUM FRONTEND UI
========================================================= */

.see-student-dashboard {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 50px 24px 80px;
    box-sizing: border-box;
    color: #0f172a;
    font-family: inherit;
}


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

.see-student-header {
    margin-bottom: 34px;
}

.see-student-label {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    margin-bottom: 14px;

    border: 1px solid #dbeafe;
    border-radius: 999px;

    background: #eff6ff;
    color: #2563eb;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1;
}

.see-student-header h1 {
    margin: 0;
    color: #0f172a;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.see-student-header p {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   STATS GRID
========================================================= */

.see-student-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}


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

.see-stat-card {
    position: relative;

    min-height: 145px;
    padding: 24px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(15, 23, 42, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

    overflow: hidden;
}

.see-stat-card::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background: linear-gradient(
        90deg,
        #2563eb,
        #60a5fa
    );
}

.see-stat-card:hover {
    transform: translateY(-4px);

    border-color: #bfdbfe;

    box-shadow:
        0 18px 40px rgba(37, 99, 235, 0.10);
}

.see-stat-card > span {
    display: block;

    margin-bottom: 12px;

    color: #64748b;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.see-stat-card > strong {
    display: block;

    color: #0f172a;

    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;
}

.see-stat-card > small {
    display: block;

    margin-top: 9px;

    color: #94a3b8;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.see-dashboard-section {
    margin-top: 28px;
    padding: 28px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 22px;

    box-shadow:
        0 8px 35px rgba(15, 23, 42, 0.045);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.see-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}

.see-section-heading > div > span {
    display: block;

    margin-bottom: 7px;

    color: #2563eb;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.see-section-heading h2 {
    margin: 0;

    color: #0f172a;

    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
}

.see-section-heading > a {
    display: inline-flex;
    align-items: center;

    padding: 10px 15px;

    border: 1px solid #dbeafe;
    border-radius: 10px;

    background: #eff6ff;
    color: #2563eb;

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

    text-decoration: none;

    transition: 0.2s ease;
}

.see-section-heading > a:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}


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

.see-membership-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 26px 28px;

    border: 1px solid #dbeafe;
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #eff6ff 100%
        );
}

.see-membership-card small {
    display: block;

    margin-bottom: 8px;

    color: #64748b;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.see-membership-card h3 {
    margin: 0;

    color: #0f172a;

    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
}

.see-membership-card p {
    margin: 10px 0 0;

    color: #64748b;

    font-size: 13px;
}

.see-membership-card p strong {
    color: #16a34a;
}


/* =========================================================
   MEMBERSHIP ATTEMPTS
========================================================= */

.see-membership-attempts {
    min-width: 150px;

    padding: 18px 24px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #dbeafe;
    border-radius: 16px;

    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.04);
}

.see-membership-attempts small {
    margin-bottom: 5px;
}

.see-membership-attempts strong {
    display: block;

    color: #2563eb;

    font-size: 34px;
    line-height: 1;
    font-weight: 800;
}

.see-membership-attempts span {
    display: block;

    margin-top: 6px;

    color: #64748b;

    font-size: 12px;
}


/* =========================================================
   RECENT ATTEMPTS
========================================================= */

.see-recent-attempts {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.see-attempt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 20px;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    background: #ffffff;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.see-attempt-row:hover {
    background: #f8fbff;
    border-color: #bfdbfe;

    transform: translateX(3px);
}


/* =========================================================
   ATTEMPT INFO
========================================================= */

.see-attempt-info {
    min-width: 0;
}

.see-attempt-info strong {
    display: block;

    margin-bottom: 6px;

    color: #0f172a;

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

.see-attempt-info span {
    display: block;

    color: #94a3b8;

    font-size: 11px;
}


/* =========================================================
   ATTEMPT RESULT
========================================================= */

.see-attempt-result {
    min-width: 105px;

    text-align: right;
}

.see-attempt-result strong {
    display: block;

    color: #0f172a;

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

.see-attempt-result > span {
    display: block;

    margin-top: 4px;

    color: #64748b;

    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}


/* =========================================================
   IN PROGRESS
========================================================= */

.see-status-progress {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    padding: 7px 11px;

    border: 1px solid #fde68a;
    border-radius: 999px;

    background: #fffbeb;
    color: #b45309 !important;

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

    text-transform: none !important;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.see-empty-state {
    padding: 45px 25px;

    text-align: center;

    border: 1px dashed #cbd5e1;
    border-radius: 16px;

    background: #f8fafc;
}

.see-empty-state h3 {
    margin: 0 0 8px;

    color: #0f172a;

    font-size: 20px;
}

.see-empty-state p {
    margin: 0 0 18px;

    color: #64748b;

    font-size: 13px;
}

.see-empty-state a {
    display: inline-flex;

    padding: 11px 18px;

    border-radius: 10px;

    background: #2563eb;
    color: #ffffff;

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

    text-decoration: none;
}


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

.see-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}


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

.see-action-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 175px;
    padding: 24px;

    box-sizing: border-box;

    background: linear-gradient(
        145deg,
        #ffffff 0%,
        #f8fbff 100%
    );

    border: 1px solid #dbe4f0;
    border-radius: 18px;

    text-decoration: none;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


/* top accent */

.see-action-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background: linear-gradient(
        90deg,
        #2563eb,
        #60a5fa
    );
}


/* hover */

.see-action-card:hover {
    transform: translateY(-5px);

    border-color: #93c5fd;

    box-shadow:
        0 18px 40px rgba(
            37,
            99,
            235,
            .12
        );
}


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

.see-action-card::after {
    content: "→";

    position: absolute;

    right: 20px;
    bottom: 20px;

    width: 38px;
    height: 38px;

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

    border-radius: 50%;

    background: #eff6ff;
    color: #2563eb;

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

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.see-action-card:hover::after {
    background: #2563eb;
    color: #ffffff;

    transform: translateX(3px);
}


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

.see-action-card strong {
    display: block;

    margin-top: 25px;
    margin-bottom: 10px;

    color: #0f172a;

    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.see-action-card span {
    display: block;

    max-width: 230px;

    color: #64748b;

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   OLD ARROW HIDE
========================================================= */

.see-action-card b {
    display: none;
}


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

@media (max-width: 850px) {

    .see-quick-actions {
        grid-template-columns: 1fr;
    }

    .see-action-card {
        min-height: 145px;
    }

}


/* =========================================================
   LOGIN REQUIRED
========================================================= */

.see-student-login-required {
    max-width: 550px;

    margin: 70px auto;
    padding: 45px 30px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 20px;

    box-shadow:
        0 15px 45px rgba(15, 23, 42, 0.08);
}

.see-student-login-required h2 {
    margin: 0 0 10px;

    color: #0f172a;

    font-size: 26px;
}

.see-student-login-required p {
    margin: 0 0 22px;

    color: #64748b;

    font-size: 14px;
}

.see-student-login-required a {
    display: inline-flex;

    padding: 12px 22px;

    border-radius: 10px;

    background: #2563eb;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.see-student-login-required a:hover {
    background: #1d4ed8;
}


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

@media (max-width: 1000px) {

    .see-student-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .see-quick-actions {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


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

@media (max-width: 650px) {

    .see-student-dashboard {
        padding: 30px 15px 55px;
    }

    .see-student-header {
        margin-bottom: 25px;
    }

    .see-student-header h1 {
        font-size: 29px;
        letter-spacing: -0.5px;
    }

    .see-student-header p {
        font-size: 13px;
    }

    .see-student-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .see-stat-card {
        min-height: auto;
        padding: 20px;
    }

    .see-dashboard-section {
        margin-top: 18px;
        padding: 20px 16px;

        border-radius: 17px;
    }

    .see-section-heading {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 18px;
    }

    .see-section-heading h2 {
        font-size: 21px;
    }

    .see-section-heading > a {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .see-membership-card {
        align-items: stretch;
        flex-direction: column;

        padding: 20px;
        gap: 18px;
    }

    .see-membership-attempts {
        width: 100%;
        box-sizing: border-box;
    }

    .see-attempt-row {
        align-items: flex-start;
        flex-direction: column;

        gap: 14px;

        padding: 16px;
    }

    .see-attempt-result {
        width: 100%;
        min-width: 0;

        text-align: left;
    }

    .see-quick-actions {
        grid-template-columns: 1fr;
    }

    .see-action-card {
        min-height: 135px;
    }

}


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

@media (max-width: 380px) {

    .see-student-dashboard {
        padding-left: 12px;
        padding-right: 12px;
    }

    .see-student-header h1 {
        font-size: 26px;
    }

    .see-stat-card > strong {
        font-size: 23px;
    }

}