@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
@font-face {
    font-family: "Mukta";
    src: url("../fonts/Mukta-Regular.ttf") format("truetype");
}
:root {
    --font-heading: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-body: 'Manrope', 'Segoe UI', sans-serif;
	--font-marathi: 'Mukta', 'Segoe UI', sans-serif;
    --bg: #f5f8ff;
    --bg-soft: #eef3ff;
    --surface: #ffffff;
    --surface-2: #f8faff;
    --text-primary: #12202f;
    --text-secondary: #3b4d63;
    --text-muted: #61738a;
    --color-primary: #0f766e;
    --color-primary-2: #14b8a6;
    --color-accent: #f97316;
    --color-ok: #16a34a;
    --color-danger: #dc2626;
    --border: #dbe5f1;
    --shadow-sm: 0 10px 20px rgba(24, 44, 76, 0.08);
    --shadow-md: 0 18px 40px rgba(20, 41, 71, 0.14);
    --shadow-lg: 0 28px 64px rgba(16, 33, 58, 0.2);
    --ring: 0 0 0 3px rgba(20, 184, 166, 0.25);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --header-bg: rgba(245, 248, 255, 0.84);
    --header-stroke: rgba(18, 32, 47, 0.08);
    --modal-footer-border: #dee2e6;
}

[data-theme='dark'] {
    --bg: #070c17;
    --bg-soft: #0c1526;
    --surface: #101b2f;
    --surface-2: #16243d;
    --text-primary: #e5edf8;
    --text-secondary: #b5c3d7;
    --text-muted: #91a3bd;
    --color-primary: #20b7aa;
    --color-primary-2: #52e5d7;
    --color-accent: #ff8b3d;
    --color-ok: #4ade80;
    --color-danger: #fb7185;
    --border: #233650;
    --shadow-sm: 0 10px 22px rgba(2, 6, 23, 0.4);
    --shadow-md: 0 20px 48px rgba(1, 5, 17, 0.55);
    --shadow-lg: 0 30px 72px rgba(0, 0, 0, 0.65);
    --ring: 0 0 0 3px rgba(82, 229, 215, 0.25);
    --header-bg: rgba(7, 12, 23, 0.84);
    --header-stroke: rgba(229, 237, 248, 0.1);
    --modal-footer-border: #41464b;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

html,
body {
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    background: radial-gradient(900px 420px at -8% -12%, rgba(15, 118, 110, 0.16), transparent 62%), radial-gradient(700px 360px at 108% -10%, rgba(249, 115, 22, 0.14), transparent 66%), linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
    overflow-x: hidden;
}

[data-theme='dark'] body {
    background: radial-gradient(860px 420px at -10% -16%, rgba(20, 184, 166, 0.26), transparent 64%), radial-gradient(720px 340px at 108% -16%, rgba(249, 115, 22, 0.19), transparent 66%), linear-gradient(180deg, #060b15 0%, #0a1425 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.25s ease;
}

    a:hover {
        color: var(--color-accent);
    }
.mar{
	font-family:var(--font-marathi) !important;
	font-size:16px !important;
}
img {
    max-width: 100%;
}

input,
button,
textarea,
select {
    font-family: var(--font-body);
}

.form-control:focus,
.form-check-input:focus,
.btn:focus {
    box-shadow: none !important;
    border-color: var(--color-primary-2);
}

.page-section {
    padding: 28px 0 18px;
}

.bg-bottom,
.bg-top,
.bg-bottom-center,
.bg-whiteoff {
    background: transparent;
}

.pd-00 {
    padding: 0;
}

.pt-20 {
    padding-top: 20px;
}

.w-full {
    width: 100%;
}

.fsp-13 {
    font-size: 13px;
}

.fsp-14 {
    font-size: 14px;
}

.red {
    color: var(--color-danger);
}

.text-gradient {
    background: linear-gradient(100deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading */
.loading-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: grid;
    place-items: center;
}

.loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .loading div {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: linear-gradient(145deg, var(--color-primary), var(--color-accent));
        animation: loading-bounce 0.8s infinite alternate;
    }

        .loading div:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loading div:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes loading-bounce {
    from {
        opacity: 0.4;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(-10px);
    }
}

/* Header */
.header-area {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--header-stroke);
    background: var(--bs-gray-800);
}

    .header-area.header-sticky {
        box-shadow: var(--shadow-sm);
    }

.main-nav {
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    margin-right: auto;
}

    .logo img {
        width: auto;
        height: 60px;
        object-fit: contain;
    }

.nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .nav li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 10px 14px;
        border-radius: 12px;
        color: var(--bs-gray-200);
        font-weight: 700;
        font-size: 14px;
    }

        .nav li a:hover,
        .nav li a.active,
        .nav-active {
            background: color-mix(in srgb, #ced4da 14%, transparent);
        }

.menu-trigger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    cursor: pointer;
}

    .menu-trigger span {
        font-size: 0;
        position: relative;
        width: 18px;
        height: 2px;
        background: var(--text-primary);
    }

        .menu-trigger span::before,
        .menu-trigger span::after {
            content: '';
            position: absolute;
            left: 0;
            width: 18px;
            height: 2px;
            background: var(--text-primary);
        }

        .menu-trigger span::before {
            top: -6px;
        }

        .menu-trigger span::after {
            top: 6px;
        }

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.toggle-switch {
    position: relative;
    width: 52px;
    height: 30px;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.toggle-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    cursor: pointer;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 80%, var(--color-primary) 20%);
    transition: all 0.2s ease;
}

    .toggle-slider::before {
        content: '';
        position: absolute;
        top: 3px;
        left: 3px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: linear-gradient(145deg, var(--surface), var(--surface-2));
        box-shadow: var(--shadow-sm);
        transition: transform 0.2s ease;
    }

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.toggle-switch input:checked + .toggle-slider {
    background: color-mix(in srgb, var(--color-primary) 70%, var(--surface) 30%);
}

.toggle-icon {
    font-size: 18px;
    color: var(--color-accent);
}

/* Profile menu */
.user-profile {
    position: relative;
}

.profile {
    position: relative;
}

    .profile .selected {
        width: 38px;
        height: 38px;
        border-radius: 999px;
        border: 1px solid var(--border);
        background: var(--surface);
        display: grid;
        place-items: center;
        cursor: pointer;
        padding: 0;
        position: relative;
        box-shadow: var(--shadow-sm);
        transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .profile .selected:hover {
            transform: translateY(-1px);
            border-color: color-mix(in srgb, var(--color-primary) 40%, var(--border));
        }

        .profile .selected:focus-visible {
            outline: none;
            box-shadow: var(--ring);
        }

    /*        .profile .selected::after {
            content: '';
            position: absolute;
            right: -6px;
            bottom: -1px;
            width: 0;
            height: 0;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 6px solid var(--text-secondary);
            transform-origin: 50% 35%;
            transition: transform 0.2s ease;
        }*/

    .profile.menu-open .selected::after {
        transform: rotate(180deg);
    }

    .profile .selected span {
        font-weight: 700;
        color: var(--text-muted);
    }

.img-avatar,
.img-rounded {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
}

.link-list.menu-ul {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    min-width: 220px;
    padding: 8px 12px;
    margin: 0;
    list-style: none;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
    display: none;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 1005;
}

.profile.menu-open .link-list.menu-ul {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.link-list.menu-ul li {
    margin: 3px 0;
}

    .link-list.menu-ul li a,
    .link-list.menu-ul li span {
        display: flex;
        align-items: center;
        gap: 9px;
        color: var(--text-secondary);
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
    }

        .link-list.menu-ul li a:hover {
            color: var(--text-primary);
        }

    .link-list.menu-ul li.title span {
        font-size: 14px;
        letter-spacing: 0.04em;
        color: var(--text-muted);
        font-weight: 700;
    }

.li-divider {
    border-top: 1px solid var(--border);
}

/* Content */
.block-explorer-wrapper {
    display: none;
}

.cotent_place_holder {
    min-height: calc(100vh - 260px);
}

.top-breadcrumb {
    margin: 28px 0 10px;
}

.breadcrumb {
    margin: 0;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.breadcrumb-item,
.breadcrumb-item a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-purple);
}

    .breadcrumb-item.active {
        color: var(--text-primary);
    }

    .breadcrumb-item + .breadcrumb-item::before {
        color: var(--text-muted);
    }

.content {
    background: transparent;
}

.item,
.main_card,
.features-bordered {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-2) 82%, transparent));
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .item:hover,
    .main_card:hover,
    .features-bordered:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

    .item .title,
    .main_card .title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 14px 14px 10px;
        border-bottom: 1px solid var(--border);
    }

        .item .title h5,
        .main_card .title h5 {
            margin: 0;
            font-size: 16px;
        }

        .item .title .icon {
            width: 10px;
            height: 10px;
            margin-right: 4px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
            box-shadow: 0 0 0 5px color-mix(in srgb, var(--color-primary) 18%, transparent);
        }

.cards-body,
.card_body,
.card-body.card_tool,
.card-body {
    padding: 14px;
}

.hi-300 {
    min-height: 292px;
}

.sub-footer,
.footer.p-2 {
    padding: 10px 14px 14px;
    border-top: 1px solid var(--border);
}

.more a,
.more-sub a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 14px;
}

.media {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .media a {
        color: inherit;
        display: flex;
        width: 100%;
        align-items: center;
        gap: 10px;
    }

.sub_icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: contain;
}

.media-title h5 {
    margin: 0;
    font-size: 15px;
    color: var(--text-secondary);
}
.media-title h5.mar{
	font-size: 17px !important;
}
/* Buttons */
.btn-default,
.input-button,
.hero-btn {
    border: none;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-default,
.input-button,
.hero-btn--primary,
.theme-button {
    color: #fff;
    background: linear-gradient(130deg, var(--color-primary), var(--color-primary-2));
    box-shadow: 0 14px 24px rgba(12, 130, 118, 0.28);
}

    .btn-default:hover,
    .input-button:hover,
    .hero-btn--primary:hover,
    .theme-button:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 18px 28px rgba(11, 107, 97, 0.33);
    }

.hero-btn--outline,
.btn-cancel {
    color: var(--text-primary);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

    .hero-btn--outline:hover,
    .btn-cancel:hover {
        color: var(--text-primary);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-info,
.btn-primary,
.btn-danger {
    border-color: transparent;
    border-radius: 11px;
    font-weight: 700;
}

/* Footer */
footer,
.landing-footer {
    margin-top: 34px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 70%, transparent), var(--surface));
}

.footer-top {
    padding: 28px 0;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 12px 0;
}

.section-title,
.footer-title {
    margin-bottom: 12px;
    font-size: 18px;
}

.contact .list,
.footer-links,
.social,
.footer-socials {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .contact .list li,
    .footer-links li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px 0;
        color: var(--text-secondary);
    }

.social,
.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

    .social a,
    .footer-socials a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        color: var(--text-primary);
        border: 1px solid var(--border);
        background: var(--surface);
    }

        .social a:hover,
        .footer-socials a:hover {
            color: #fff;
            border-color: transparent;
            background: linear-gradient(130deg, var(--color-primary), var(--color-accent));
        }

.copyright {
    margin: 0;
    color: var(--text-muted);
    text-align: center;
    font-size: 14px;
}

    .copyright i.bi-heart-fill {
        color: #dc3545;
        font-size: 13px;
    }
/* About / policy / FAQ */
.left-text,
.right-text,
.center-text,
.p_policy {
    color: var(--text-secondary);
}

.l-quote,
.r-quote {
    font-weight: 600;
    color: var(--text-primary);
}

.features-bordered {
    padding: 18px;
    height: 100%;
}

.hb-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    margin-bottom: 12px;
    background: linear-gradient(130deg, var(--bs-blue), var(--bs-purple));
}

.features-title {
    margin-bottom: 8px;
    font-size: 17px;
}

.accordion-item {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.accordion-button {
    font-weight: 700;
    color: var(--text-primary);
    background: var(--surface);
}

    .accordion-button .badge {
        margin-right: 8px;
        background: color-mix(in srgb, var(--color-primary) 24%, transparent);
        color: var(--text-primary);
    }

    .accordion-button:not(.collapsed) {
        color: var(--text-primary);
        background: color-mix(in srgb, var(--color-primary) 14%, var(--surface));
    }

.accordion-body {
    color: var(--text-secondary);
}

.p_policy h4,
.p_policy h5,
.p_policy h6 {
    margin-top: 14px;
    margin-bottom: 8px;
}

/* Exam */
.genesys-row {
    margin-top: 6px;
}

.main-title-gens {
    margin: 0;
}

.title-line,
.divider {
    width: 100%;
    height: 1px;
    background: var(--border);
}

.title-section {
    margin-bottom: 10px;
}

.exam-duration {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;
}

.show_time {
    min-width: 70px;
    text-align: center;
    font-weight: 800;
    color: var(--text-primary);
    border-radius: 10px;
    background: var(--surface-2);
    padding: 8px 6px;
    border: 1px solid var(--border);
    font-size: 14px;
}

.main-card-sec,
.eq-question-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    overflow: hidden;
}

.que_card_header {
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface-2) 85%, transparent);
}

.question_data {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

    .question_data.row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        margin-left: 0;
        margin-right: 0;
    }

        .question_data.row > * {
            width: auto;
            max-width: none;
            padding-left: 0;
            padding-right: 0;
            margin-top: 0;
        }

.que_index {
    flex: 0 0 auto;
}

    .que_index .badge {
        min-width: 28px;
        min-height: 28px;
        display: inline-grid;
        place-items: center;
        border-radius: 8px;
    }

.question {
    color: var(--text-primary);
    line-height: 1.6;
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
}

.unattempted-question {
    color: var(--color-danger);
    margin-right: 8px;
}

.que_reff_img_sec,
.que_imgs,
.que_image {
    padding: 10px 14px;
}

    .que_img_reff,
    .que_image img,
    .img_corr_ans {
        border-radius: 12px;
        border: 1px solid var(--border);
        max-height: 240px;
        object-fit: contain;
        background: #fff;
    }

.answers-container {
    row-gap: 12px;
}

.form-tool {
    margin: 0;
}

.option {
    width: 100%;
}

.form-check-input.radio-custom,
.form-check-input.checkbox-custom,
.form-check-input.radio,
.form-check-input.checkbox {
    display: none;
}

.radio-custom-label,
.checkbox-custom-label,
.radio-custom-label.radio,
.checkbox-custom-label.checkbox,
.option label {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    padding: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.answer_sec {
    width: 100%;
    font-weight: 600;
}

.form-check-input:checked + label,
.option input:checked + label {
    border-color: color-mix(in srgb, var(--color-ok) 58%, var(--border));
    background: color-mix(in srgb, var(--color-ok) 18%, var(--surface));
    color: var(--text-primary);
    font-weight: normal;
}

.correct-checked.bs-checked-c label,
.correct-answer-label {
    font-weight: 600 !important;
    border-color: color-mix(in srgb, #0a7a46 58%, var(--border)) !important;
    background: color-mix(in srgb, #0a7a46 30%, var(--surface)) !important;
}

.attempted-inline-option.wrong-checked label {
    border-color: color-mix(in srgb, var(--color-danger) 58%, var(--border)) !important;
    background: color-mix(in srgb, var(--color-danger) 15%, var(--surface)) !important;
    font-weight: 600 !important;
}

.eq-progress-bar {
    margin: 16px 0;
    padding: 12px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.eq-progress-text {
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.eq-progress-track {
    width: 100%;
    height: 10px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--surface-2) 70%, transparent);
    overflow: hidden;
}

.eq-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: var(--bs-teal);
    transition: width 0.25s ease;
}

.eq-slide {
    display: none;
}

.eq-slide-active {
    display: block;
}

.eq-nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 12px;
}

.eq-nav-spacer {
    flex: 1;
}

.eq-btn {
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 10px 14px;
    font-weight: 700;
}

.eq-btn-prev,
.eq-btn-skip {
    color: var(--text-secondary);
    background: var(--surface);
    border-color: var(--border);
}

.eq-btn-next,
.eq-btn-submit {
    color: #fff;
    background: linear-gradient(130deg, var(--color-primary), var(--color-primary-2));
}

.eq-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.eq-grid-section {
    margin-top: 14px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.eq-grid-title {
    margin: 0 0 10px;
    font-size: 16px;
}

.eq-grid-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
}

.eq-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.eq-legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.eq-dot-current {
    background: var(--color-primary);
}

.eq-dot-answered {
    background: var(--color-ok);
}

.eq-dot-skipped {
    background: var(--color-accent);
}

.eq-dot-default {
    background: var(--surface);
    border: 1px solid var(--text-secondary);
}

.eq-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
    gap: 8px;
}

.eq-grid-block {
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .eq-grid-block:hover {
        transform: translateY(-1px);
    }

.eq-block-current {
    color: #fff;
    background: var(--color-primary);
}

.eq-block-answered {
    color: #fff;
    background: var(--color-ok);
}

.eq-block-skipped {
    color: #fff;
    background: var(--color-accent);
}

.eq-block-default {
    color: var(--text-secondary);
    background: var(--surface);
}

.custom-counter {
    margin: 0;
    padding-left: 18px;
    color: var(--text-secondary);
    line-height: 1.65;
}

    .custom-counter li {
        font-size: 15px;
    }

.opp-modal-msg {
    text-align: center;
}

.modal-msgs-danger {
    color: var(--color-danger);
}

.modal-msgs-okay {
    color: var(--color-ok);
}

#ex-confirm-modal .attempted-ques-modal-dialog {
    max-width: 362px;
    width: calc(100% - 1rem);
    margin: 1rem auto;
}

#ex-confirm-modal .unchecked_body {
    padding: 14px 16px 8px;
    text-align: center;
}

    #ex-confirm-modal .unchecked_body p {
        margin-bottom: 8px;
    }

        #ex-confirm-modal .unchecked_body p:last-child {
            margin-bottom: 0;
        }

#ex-confirm-modal .unchecked-footer {
    margin: 0;
    padding: 10px 12px 12px;
    justify-content: center;
    gap: 8px;
}

/* Modal and result cards */
.modal.d-show,
.modal.show.d-show {
    display: block;
    background: rgba(3, 8, 20, 0.56);
}

.modal-frame,
.warn-modal-content,
.result-modal-body,
.timeout-modal-content,
.avatar-modal-content {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.warn-modal-header,
.result-modal-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface-2) 88%, transparent);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.result-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .result-modal-header img {
        height: 42px;
    }

.result-modal-body {
    padding: 14px 16px;
}

#exam-details .modal-dialog {
    max-width: 560px;
    margin: 1rem auto;
}

#exam-details .modal-content {
    position: relative;
    overflow: hidden;
}

#details-container {
    margin: 0;
    padding: 0;
}

.custom-counter li p {
    margin: 0 !important;
}

.exam-details-body {
    margin: 0;
    padding: 12px;
    background: var(--bg-soft);
}

.exam-details-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 18px;
    background: var(--header-bg);
}

.exam-details-stats {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 8px;
}

    .exam-details-stats .stat-row {
        margin: 0;
        padding: 9px 10px;
        border-radius: 12px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    /*        .exam-details-stats .stat-row:hover {

        }*/

    .exam-details-stats .stat-icon {
        width: 30px;
        height: 30px;
        display: inline-grid;
        place-items: center;
        border-radius: 9px;
        background: color-mix(in srgb, var(--surface-2) 82%, transparent);
        color: var(--color-primary);
    }

    .exam-details-stats .stat-value {
        min-width: 36px;
        text-align: center;
        padding: 2px 8px;
        border-radius: 999px;
        background: color-mix(in srgb, var(--color-primary) 15%, transparent);
    }

.exam-details-footer {
    margin: 0;
    padding: 8px 12px;
    border-top: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface-2) 76%, transparent);
    gap: 8px;
    justify-content: flex-end;
}

    .exam-details-footer .btn {
        margin: 0;
        min-width: 92px;
    }

#instruct-modal .warn-modal-body {
    padding: 12px 14px;
}

    #instruct-modal .warn-modal-body hr {
        margin: 10px 0;
        background: var(--bs-gray-500);
    }

#instruct-modal .check-bx {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

    #instruct-modal .check-bx .confirm_btn {
        appearance: none;
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        margin: 0;
        border: 1.5px solid color-mix(in srgb, var(--color-primary) 35%, var(--border));
        border-radius: 5px;
        background: var(--surface);
        position: relative;
        cursor: pointer;
        transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
        flex: 0 0 18px;
    }

        #instruct-modal .check-bx .confirm_btn::after {
            content: '';
            position: absolute;
            left: 6px;
            top: 2px;
            width: 4px;
            height: 9px;
            border: solid #fff;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        #instruct-modal .check-bx .confirm_btn:checked {
            border-color: var(--color-primary);
            background: var(--color-primary);
        }

            #instruct-modal .check-bx .confirm_btn:checked::after {
                opacity: 1;
            }

        #instruct-modal .check-bx .confirm_btn:focus-visible {
            outline: none;
            box-shadow: var(--ring);
        }

    #instruct-modal .check-bx label {
        margin: 0;
        color: var(--text-secondary);
        cursor: pointer;
        line-height: 1.4;
    }

    #instruct-modal .check-bx .confirm_btn:checked + label {
        color: var(--text-primary);
    }

.result-stats,
.result-stats {
    display: grid;
    gap: 8px;
}

.stat-row {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 10px;
    color: var(--text-secondary);
}

    .stat-row.correct {
        border-color: color-mix(in srgb, var(--color-ok) 50%, var(--border));
    }

    .stat-row.wrong {
        border-color: color-mix(in srgb, var(--color-danger) 45%, var(--border));
    }

.stat-value {
    font-weight: 800;
    color: var(--text-primary);
}

.timeout-modal-icon {
    width: 68px;
    height: 68px;
    margin: 18px auto 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-accent) 45%, var(--border));
    background: color-mix(in srgb, var(--color-accent) 15%, var(--surface));
    display: grid;
    place-items: center;
    font-size: 30px;
    color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.time-out-modal-body {
    text-align: center;
    color: var(--text-secondary);
    padding: 0 20px 20px;
}

.timeout-modal-dialog {
    max-width: 420px;
}

.timeout-modal-content {
    position: relative;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--color-primary) 28%, var(--border));
    background: var(--surface);
}

    .timeout-modal-content::before,
    .timeout-modal-content::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        opacity: 0.35;
    }

    .timeout-modal-content::before {
        width: 170px;
        height: 170px;
        top: -100px;
        left: -95px;
        border: 26px solid color-mix(in srgb, var(--color-primary) 16%, transparent);
    }

    .timeout-modal-content::after {
        width: 130px;
        height: 130px;
        right: -80px;
        bottom: -72px;
        border: 22px solid color-mix(in srgb, var(--color-accent) 16%, transparent);
    }

.time-out-modal-body h5 {
    font-size: 23px;
    margin: 2px 0 6px;
}

.time-out-modal-body h6 {
    margin: 0 0 10px;
    font-size: 15px;
    color: var(--text-muted);
}

.time-out-modal-body p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.disabled {
    opacity: 0.65;
    pointer-events: none;
}

.enabled {
    opacity: 1;
}

/* User area */
.header-section {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
    background: var(--surface);
    display: flex;
    align-items: center;
    gap: 14px;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    border: 2px solid color-mix(in srgb, var(--color-primary) 42%, var(--border));
    background: color-mix(in srgb, var(--surface-2) 84%, var(--surface));
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .profile-pic:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
        border-color: color-mix(in srgb, var(--color-primary) 64%, var(--border));
    }

    .profile-pic .image-profile {
        border-radius: 15px;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.image-overlap {
    position: absolute;
    right: 0;
    left: -3px;
    bottom: 4px;
    width: 100%;
    height: 30px;
    border-radius: 0;
    border: 0;
    background: var(--color-primary);
    color: #fff;
    display: none;
    place-items: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 8px 18px rgba(11, 108, 99, 0.34);
    transform: translate(4px, 4px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.profile-pic:hover .image-overlap {
    display: block;
    transition: all 0.5s ease-in-out;
    transform: translate(4px, 4px) scale(1.06);
    background: var(--color-primary-2);
    box-shadow: 0 10px 22px rgba(10, 94, 88, 0.38);
}

.image-overlap:active {
    transform: translate(4px, 4px) scale(0.95);
}

.image-overlap:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 35%, transparent), 0 10px 22px rgba(10, 94, 88, 0.38);
}

.image-overlap i {
    font-size: 15px;
    line-height: 1;
}

.profile_name {
    margin: 0;
    font-size: 20px;
    font-family: var(--font-heading);
}

.user_name {
    margin: 2px 0 0;
    color: var(--text-muted);
}

.menu-section .nav {
    display: inline-flex;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    padding: 6px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.profile-tabs {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--text-secondary) !important;
    font-size: 18px !important;
}

    .selected-tab,
    .profile-tabs:hover {
        color: #fff !important;
        background: var(--color-primary-2) !important;
        font-weight: 600;
    }

.body-section {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    border-top-left-radius: 0;
}

.user-profile-info ul {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    list-style: none;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px;
}

    .user-profile-info ul:last-child {
        border-bottom: 0;
    }

.user-profile-info li:first-child {
    color: var(--text-muted);
    font-weight: 700;
}

.user-profile-info li:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.col-field,
.form-input input,
.input-group input {
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    min-height: 44px;
    width: 100%;
    padding: 10px 12px;
}

.validation-error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--color-danger);
}

.user-reports .table {
    color: var(--text-secondary);
}

    .user-reports .table thead th {
        border-bottom: 1px solid var(--border);
        color: var(--text-primary);
        white-space: nowrap;
    }

    .user-reports .table td,
    .user-reports .table th {
        border-color: var(--border);
        vertical-align: middle;
        color: var(--text-secondary);
    }

.btn-area i,
.delete-report {
    cursor: pointer;
}

.avatar-section {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    cursor: pointer;
    background: var(--surface);
}

    .avatar-section img {
        width: 100%;
        border-radius: 10px;
    }

.selected-img {
    border-color: color-mix(in srgb, var(--color-primary) 48%, var(--border));
    box-shadow: var(--ring);
}

.img-overlap {
    position: absolute;
    top: 6px;
    right: 10px;
    color: var(--color-ok);
    font-size: 18px;
}

/* Helper toast + confirm */
.cq-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    background: rgba(3, 8, 20, 0.56);
}

.cq-confirm-box {
    width: min(92vw, 360px);
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    padding: 18px;
    transform: scale(0.96);
    opacity: 0;
    transition: all 0.2s ease;
}

    .cq-confirm-box.show {
        transform: scale(1);
        opacity: 1;
    }

.cq-confirm-icon {
    color: var(--color-accent);
    font-size: 26px;
    margin-bottom: 6px;
}

.cq-confirm-title {
    margin: 0 0 6px;
}

.cq-confirm-message {
    margin: 0;
    color: var(--text-secondary);
}

.cq-confirm-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.cq-confirm-btn-yes,
.cq-confirm-btn-no {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-weight: 700;
}

.cq-confirm-btn-yes {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(130deg, var(--color-primary), var(--color-primary-2));
}

.cq-confirm-btn-no {
    color: var(--text-secondary);
    background: var(--surface-2);
}

.cq-toast-wrapper {
    position: fixed;
    right: 18px;
    top: 90px;
    z-index: 2100;
}

.cq-toast {
    width: min(92vw, 360px);
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.2s ease;
}

    .cq-toast.show {
        transform: translateY(0);
        opacity: 1;
    }

.cq-toast-accent {
    width: 4px;
    align-self: stretch;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
}

.cq-toast-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
}

.cq-toast-message {
    font-size: 13px;
    margin-top: 2px;
    color: var(--text-secondary);
}

.cq-toast-close {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    margin-left: auto;
}

/* Simple reveal animation utility for home page */
.scroll-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

    .scroll-reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.warn-modal-footer {
    padding: .50rem .75rem !important;
    border-top: 1px solid var(--modal-footer-border);
}

.detail-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.exam-lists a,
.subject-lists a {
    justify-content: center;
}

.bs-question p {
    margin-bottom: 0 !important;
}

.multiple-ans-lebel {
    font-size: 14px;
    color: var(--bs-blue);
}

.question_desc p {
    margin-bottom: 0;
}

.pl-0 {
    padding-left: 0 !important;
}

label.radio {
    cursor: pointer;
}

.action-btns {
    border: 2px solid var(--bs-gray);
    border-radius: 8px;
    text-align: center;
}

span.exam-overview {
    padding: 2px;
    margin-left: 6px;
    margin-right: 2px;
}

span.exam-details-modal {
    padding: 2px 5px;
    margin-left: 2px;
}

span.exam-overview a {
    padding: 0 0 0 3px;
}

.n-password {
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-block {
    padding-top: 5px;
    padding-bottom: 5px;
}

.mb-smx-1 {
    margin-bottom: 12px;
}

.no-item-avail-msg {
    border-radius: 0px;
    text-align: center;
}
.mobile-app-img{
    height:21px;
}
.exam-container {
    scroll-margin-top: 95px; /* same as header height */
}
