﻿/* ===================================================== */
/* ROYAL BLUE × MINT GLASS – COMPLETE THEME              */
/* ===================================================== */

/* ================= ROOT VARIABLES ==================== */
:root {
    /* Brand */
    --primary: #2563eb; /* Royal Blue */
    --secondary: #14b8a6; /* Mint */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    /* Light Mode */
    --bg-light: #f9fafb;
    --card-light: rgba(255, 255, 255, 0.72);
    --text-light: #0f172a;
    --muted-light: #64748b;
    /* Dark Mode */
    --bg-dark: #020617;
    --card-dark: rgba(255, 255, 255, 0.10);
    --text-dark: #e5e7eb;
    --muted-dark: #94a3b8;
    /* Effects */
    --glass-border: rgba(255, 255, 255, 0.25);
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* ================= RESET & BASE ====================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: var(--text-light);
    transition: background 0.4s, color 0.4s;
}

    body.dark {
        background: var(--bg-dark);
        color: var(--text-dark);
    }

a {
    text-decoration: none;
    color: inherit;
}

/* ================= GLASS EFFECT ====================== */
.glass {
    background: var(--card-light);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.dark .glass {
    background: var(--card-dark);
}

/* ================= APP LAYOUT ======================== */
.app-wrapper {
    display: flex;
    height: 100vh;
}

/* ================= SIDEBAR =========================== */
.sidebar {
    width: 260px;
    padding: 20px;
    background: linear-gradient( 180deg, rgba(37,99,235,0.22), rgba(20,184,166,0.18) );
    transition: 0.4s;
    z-index: 1000;
}

    .sidebar.collapsed {
        width: 80px;
    }

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Menu */
.menu a,
.menu-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    color: var(--text-light);
}

body.dark .menu a,
body.dark .menu-title {
    color: var(--text-dark);
}

.menu a:hover,
.menu-title:hover {
    background: linear-gradient( 135deg, var(--primary), var(--secondary) );
    color: #ffffff;
}

.menu a.active {
    background: rgba(37,99,235,0.25);
    font-weight: 600;
}

/* Submenu */
.menu-group .submenu {
    display: none;
    padding-left: 42px;
}

.menu-group.open .submenu {
    display: block;
}

/* Logout */
.logout {
    color: var(--danger);
}

/* ================= MAIN AREA ========================= */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ================= HEADER ============================ */
.header {
    height: 65px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1001;
    background: linear-gradient( 135deg, rgba(37,99,235,0.18), rgba(20,184,166,0.15) );
}

.left,
.right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Sidebar Toggle */
.toggle-btn {
    font-size: 26px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 10px;
    transition: 0.3s;
    display:none;
}

    .toggle-btn:hover {
        background: rgba(37,99,235,0.15);
    }

/* ================= DARK MODE TOGGLE ================== */
.theme-toggle {
    width: 58px;
    height: 30px;
    background: linear-gradient(145deg, #bfdbfe, #99f6e4);
    border-radius: 50px;
    padding: 3px;
    cursor: pointer;
    transition: 0.4s;
}

.toggle-circle {
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

body.dark .theme-toggle {
    background: linear-gradient(145deg, #1e293b, #020617);
}

body.dark .toggle-circle {
    transform: translateX(28px);
    background: #020617;
}

/* ================= PROFILE =========================== */
.profile-box {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
}

    .profile-box img {
        border-radius: 50%;
    }

.profile-dropdown {
    position: absolute;
    right: 0;
    top: 55px;
    width: 160px;
    border-radius: 12px;
    display: none;
}

    .profile-dropdown a {
        display: block;
        padding: 10px;
    }

        .profile-dropdown a:hover {
            background: linear-gradient( 135deg, var(--primary), var(--secondary) );
            color: #ffffff;
        }

    .profile-dropdown.show {
        display: block;
    }

/* ================= CONTENT =========================== */
.content {
    padding: 25px;
    animation: fadeUp 0.5s ease;
}

/* ================= DASHBOARD ========================= */
.dashboard-banner {
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    color: #ffffff;
    background: linear-gradient( 135deg, rgba(37,99,235,0.55), rgba(20,184,166,0.45) );
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.dash-card {
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    transition: 0.35s;
}

    .dash-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-soft);
    }

    .dash-card i {
        font-size: 34px;
        color: var(--primary);
    }

/* ================= MOCK / FINAL TEST ================= */
.mock-test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.mock-card {
    padding: 25px;
    border-radius: 18px;
    transition: 0.35s;
}

    .mock-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-soft);
    }

.mock-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

/* Status */
.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

    .status.available {
        background: rgba(34,197,94,0.18);
        color: var(--success);
    }

    .status.locked {
        background: rgba(245,158,11,0.18);
        color: var(--warning);
    }

    .status.completed {
        background: rgba(37,99,235,0.18);
        color: var(--primary);
    }

/* ================= BUTTONS =========================== */
.btn-primary,
.btn-start {
    display: inline-block;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    background: linear-gradient( 135deg, var(--primary), var(--secondary) );
    color: #ffffff;
    transition: 0.3s;
}

    .btn-primary:hover,
    .btn-start:hover {
        opacity: 0.92;
    }

.btn-outline {
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

/* ================= ANIMATION ========================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVE ======================== */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -260px;
        height: 100%;
    }

        .sidebar.show {
            left: 0;
        }
}
@media (max-width: 750px) {
    .toggle-btn {
        display: block;
    }
}
/* =============================== */
/* FINAL TEST LIST PAGE            */
/* =============================== */

.page-title {
    margin-bottom: 20px;
}

    .page-title p {
        opacity: 0.8;
    }

/* Grid */
.final-test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

/* Card */
.final-card {
    padding: 25px;
    border-radius: 18px;
    transition: 0.35s;
}

    .final-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-soft);
    }

/* Header */
.final-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* Info */
.final-info {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

    .final-info li {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
        opacity: 0.9;
    }

/* Disabled Button */
.btn-disabled {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: none;
    background: rgba(148,163,184,0.4);
    cursor: not-allowed;
}

/* Dark mode tweak */
body.dark .final-card {
    background: var(--card-dark);
}
/* =============================== */
/* COIN / KYC PAGE                 */
/* =============================== */

.coin-top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.coin-card {
    padding: 25px;
    border-radius: 18px;
}

/* KYC */
.kyc-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 15px;
    border-radius: 14px;
}

    .kyc-status i {
        font-size: 26px;
    }

    .kyc-status.verified {
        background: rgba(34,197,94,0.15);
        color: var(--success);
    }

    .kyc-status.pending {
        background: rgba(245,158,11,0.15);
        color: var(--warning);
    }

/* Coin Balance */
.coin-balance {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

    .coin-balance i {
        font-size: 36px;
        color: var(--primary);
    }

/* Usage */
.coin-usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.usage-card {
    padding: 22px;
    border-radius: 18px;
    text-align: center;
    transition: 0.35s;
}

    .usage-card i {
        font-size: 32px;
        color: var(--secondary);
        margin-bottom: 10px;
    }

    .usage-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-soft);
    }

/* History */
.coin-history-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

    .coin-history-item:last-child {
        border-bottom: none;
    }

    .coin-history-item .credit {
        color: var(--success);
    }

    .coin-history-item .debit {
        color: var(--danger);
    }
/* =============================== */
/* BANK SECTION (COIN PAGE)        */
/* =============================== */

.bank-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 14px;
    margin-top: 15px;
}

    .bank-status i {
        font-size: 26px;
    }

    /* Not Added */
    .bank-status.not-added {
        background: rgba(245,158,11,0.15);
        color: var(--warning);
    }

    /* Added */
    .bank-status.added {
        background: rgba(34,197,94,0.15);
        color: var(--success);
    }

/* Bank Details */
.bank-details {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
}
/* =============================== */
/* PROFILE DETAILS PAGE            */
/* =============================== */

.profile-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.verified-box {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(34,197,94,0.15);
    color: var(--success);
    font-size: 13px;
}

/* Details grid */
.profile-details-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.detail-item {
    padding: 15px;
    border-radius: 14px;
    background: rgba(255,255,255,0.4);
}

body.dark .detail-item {
    background: rgba(255,255,255,0.08);
}

.detail-item span {
    display: block;
    font-size: 13px;
    opacity: 0.7;
}

.detail-item strong {
    font-size: 15px;
}

/* Badge */
.badge-success {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(34,197,94,0.18);
    color: var(--success);
    font-size: 14px;
}
/* =============================== */
/* CHANGE PASSWORD PAGE            */
/* =============================== */

.change-password-wrapper {
    max-width: 600px;
    margin: auto;
}

    /* Headings */
    .change-password-wrapper h2 {
        margin-bottom: 6px;
    }

    .change-password-wrapper p {
        opacity: 0.8;
    }

    /* Form */
    .change-password-wrapper .form-group {
        margin-bottom: 18px;
    }

    /* Inputs */
    .change-password-wrapper .form-control {
        padding: 12px 14px;
        border-radius: 12px;
        border: 1px solid rgba(0,0,0,0.15);
        font-size: 14px;
        transition: 0.3s;
    }

        .change-password-wrapper .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
        }

/* Password tips box */
.password-tips {
    margin-top: 15px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(37,99,235,0.08);
    font-size: 13px;
}

    .password-tips ul {
        margin: 6px 0 0 18px;
    }

/* Error text */
.text-danger {
    font-size: 12px;
    color:red;
}

/* Buttons */
.change-password-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

/* Dark mode */
body.dark .change-password-wrapper .form-control {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    color: var(--text-dark);
}

body.dark .password-tips {
    background: rgba(20,184,166,0.12);
}
/* ===================================================== */
/* CHAT WITH US – SUPPORT PAGE                           */
/* ===================================================== */

.support-wrapper {
    max-width: 900px;
    margin: auto;
    padding: 25px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
}

/* Header */
.support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .support-header p {
        opacity: 0.7;
    }

/* Status */
.support-status {
    font-size: 13px;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 6px;
}

    .support-status i {
        font-size: 10px;
    }

/* Chat Body */
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    border-radius: 16px;
    background: rgba(255,255,255,0.35);
}

body.dark .chat-body {
    background: rgba(255,255,255,0.08);
}

/* Messages */
.chat-message {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
    max-width: 70%;
}

    .chat-message .bubble {
        padding: 12px 14px;
        border-radius: 16px;
        font-size: 14px;
        line-height: 1.5;
    }

    /* Support */
    .chat-message.support {
        align-items: flex-start;
    }

        .chat-message.support .bubble {
            background: rgba(37,99,235,0.15);
            border-top-left-radius: 4px;
        }

    /* User */
    .chat-message.user {
        align-items: flex-end;
        margin-left: auto;
    }

        .chat-message.user .bubble {
            background: linear-gradient( 135deg, var(--primary), var(--secondary) );
            color: #fff;
            border-top-right-radius: 4px;
        }

    /* Time */
    .chat-message small {
        margin-top: 4px;
        font-size: 11px;
        opacity: 0.6;
    }

/* Input */
.chat-input {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

    .chat-input input {
        flex: 1;
        padding: 12px 14px;
        border-radius: 12px;
        border: 1px solid rgba(0,0,0,0.15);
        font-size: 14px;
    }

    .chat-input button {
        width: 46px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* Footer Note */
.support-note {
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.7;
    text-align: center;
}
/* ===================================================== */
/* LOGIN PAGE – ROYAL BLUE × MINT GLASS                  */
/* ===================================================== */

.login-page {
    min-height: 100vh;
    background: linear-gradient( 135deg, #2563eb, #14b8a6 );
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

/* Wrapper */
.login-wrapper {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    padding: 20px;
}

    /* Glass */
    .login-wrapper .glass {
        background: rgba(255,255,255,0.25);
        backdrop-filter: blur(22px);
        border-radius: 22px;
        padding: 35px;
        border: 1px solid rgba(255,255,255,0.3);
    }

/* Brand */
.login-brand h1 {
    color: #fff;
    font-size: 34px;
}

.login-brand p {
    color: rgba(255,255,255,0.9);
    margin: 15px 0 25px;
}

.login-brand ul {
    list-style: none;
    padding: 0;
}

.login-brand li {
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Login Card */
.login-card {
    background: rgba(255,255,255,0.9);
    color: #0f172a;
}

    .login-card h2 {
        margin-bottom: 6px;
    }

.sub-text {
    opacity: 0.7;
    margin-bottom: 20px;
}

/* Form */
.login-card .form-group {
    margin-bottom: 18px;
}

.login-card label {
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.login-card input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.15);
    font-size: 14px;
}

/* Button */
.login-card .btn-primary {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient( 135deg, #2563eb, #14b8a6 );
    color: #fff;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

/* Footer */
.login-footer {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
}

    .login-footer a {
        color: #2563eb;
    }

/* Error */
#loginError {
    margin-bottom: 10px;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .login-brand {
        display: none;
    }
}
.btn-start.disabled {
    background: #999;
    pointer-events: none;
    opacity: 0.6;
}

.status.locked {
    background: #dc3545;
    color: #fff;
}

.status.available {
    background: #28a745;
    color:#fff;
}
/* ===================================================== */
/* START EXAM – DISCLAIMER PAGE                          */
/* ===================================================== */

.exam-start-wrapper {
    max-width: 900px;
    margin: auto;
    padding: 30px;
    border-radius: 22px;
}

    .exam-start-wrapper h2 {
        margin-bottom: 6px;
    }

    .exam-start-wrapper .sub-text {
        opacity: 0.8;
        margin-bottom: 20px;
    }

/* Disclaimer */
.disclaimer-box {
    padding: 20px;
    border-radius: 16px;
    background: rgba(37,99,235,0.08);
}

    .disclaimer-box ul {
        margin: 0;
        padding-left: 20px;
        line-height: 1.8;
    }

/* Confirm */
.confirm-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 14px;
    background: rgba(20,184,166,0.10);
}

    .confirm-box input {
        margin-right: 8px;
    }

/* Actions */
.exam-start-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

    /* Disabled button */
    .exam-start-actions button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* Dark Mode */
body.dark .disclaimer-box {
    background: rgba(255,255,255,0.08);
}

body.dark .confirm-box {
    background: rgba(20,184,166,0.18);
}
/* ===================================================== */
/* EXAM MODE – FULLSCREEN                                */
/* ===================================================== */

.exam-mode {
    background: linear-gradient(135deg, #2563eb, #14b8a6);
    min-height: 100vh;
    color: #0f172a;
}

/* Header */
.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.exam-sub {
    display: block;
    font-size: 12px;
    opacity: 0.7;
}

/* Timer */
.timer-box {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Body */
.exam-container {
    padding: 100px 25px 80px;
    max-width: 900px;
    margin: auto;
}

/* Question */
.question-box {
    padding: 25px;
    border-radius: 18px;
}

.option {
    display: block;
    margin-top: 15px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
}

    .option input {
        margin-right: 10px;
    }

/* Actions */
.exam-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Footer */
.exam-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* ===================================================== */
/* GLOBAL BUTTON SYSTEM – ROYAL BLUE × MINT GLASS        */
/* ===================================================== */

/* ---------- BASE BUTTON ---------- */
.btn,
.btn-primary,
.btn-outline,
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.25s ease;
}

/* ---------- PRIMARY BUTTON ---------- */
.btn-primary {
    background: linear-gradient( 135deg, #2563eb, #14b8a6 );
    color: #fff !important;
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(37,99,235,0.35);
    }

    .btn-primary:active {
        transform: scale(0.97);
    }

/* ---------- OUTLINE BUTTON ---------- */
.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(37,99,235,0.45);
    color: #2563eb;
}

    .btn-outline:hover {
        background: rgba(37,99,235,0.1);
        border-color: #2563eb;
    }

    .btn-outline:active {
        transform: scale(0.97);
    }

/* ---------- NORMAL BUTTON ---------- */
.btn {
    background: rgba(255,255,255,0.65);
    color: #0f172a;
    border: 1px solid rgba(0,0,0,0.1);
}

    .btn:hover {
        background: rgba(255,255,255,0.85);
    }

/* ---------- DANGER BUTTON ---------- */
.btn-danger {
    background: linear-gradient( 135deg, #ef4444, #dc2626 );
    color: #fff !important;
}

    .btn-danger:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(239,68,68,0.35);
    }

    .btn-danger:active {
        transform: scale(0.97);
    }

    /* ---------- DISABLED STATE ---------- */
    .btn:disabled,
    .btn-primary:disabled,
    .btn-outline:disabled,
    .btn-danger:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }

/* ===================================================== */
/* DARK MODE SUPPORT                                     */
/* ===================================================== */

body.dark .btn {
    background: rgba(255,255,255,0.08);
    color: #e5e7eb;
    border-color: rgba(255,255,255,0.2);
}

body.dark .btn-outline {
    border-color: rgba(20,184,166,0.6);
    color: #5eead4;
}

    body.dark .btn-outline:hover {
        background: rgba(20,184,166,0.15);
    }

body.dark .btn-primary {
    box-shadow: none;
}

body.dark .btn-danger {
    box-shadow: none;
}


/* ===================================================== */
/* SUBMIT EXAM PAGE                                      */
/* ===================================================== */

.submit-page-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.submit-card {
    max-width: 520px;
    width: 100%;
    padding: 35px 30px;
    border-radius: 24px;
    text-align: center;
}

/* Icon */
.submit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

    .submit-icon.success {
        background: rgba(34,197,94,0.15);
        color: #22c55e;
    }

/* Text */
.submit-msg {
    margin-top: 10px;
    opacity: 0.85;
    line-height: 1.6;
}

/* Info grid */
.submit-info {
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

    .submit-info div {
        background: rgba(255,255,255,0.45);
        padding: 12px;
        border-radius: 14px;
        font-size: 13px;
    }

    .submit-info span {
        display: block;
        opacity: 0.7;
        font-size: 12px;
    }

/* Actions */
.submit-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

/* Note */
.submit-note {
    margin-top: 18px;
    font-size: 13px;
    opacity: 0.7;
}

/* Dark Mode */
body.dark .submit-info div {
    background: rgba(255,255,255,0.08);
}

.submit-icon.warning {
    background: rgba(245,158,11,0.15);
    color: #f59e0b;
}
.kyc-status.not-added {
    background: rgba(245, 158, 11, 0.12); /* amber glass */
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #92400e;
}

    .kyc-status.not-added i {
        font-size: 26px;
        color: #f59e0b;
    }

    .kyc-status.not-added strong {
        display: block;
        font-weight: 600;
        color: #b45309;
    }

    .kyc-status.not-added p {
        margin: 2px 0 0;
        font-size: 13px;
        opacity: 0.9;
    }

/* =============================== */
/* VERIFIED (for reference match)  */
/* =============================== */

.kyc-status.verified {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #065f46;
}

    .kyc-status.verified i {
        font-size: 26px;
        color: #22c55e;
    }

/* =============================== */
/* DARK MODE SUPPORT               */
/* =============================== */

body.dark .kyc-status.not-added {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.5);
    color: #fde68a;
}

    body.dark .kyc-status.not-added strong {
        color: #fcd34d;
    }

.photo-upload-wrapper {
    display: flex;
    justify-content: center;
    padding: 30px;
}

.photo-card {
    max-width: 420px;
    width: 100%;
    padding: 30px;
    border-radius: 22px;
    text-align: center;
}

    .photo-card .sub-text {
        font-size: 13px;
        opacity: 0.75;
    }

.photo-preview {
    margin: 20px 0;
}

    .photo-preview img {
        width: 140px;
        height: 140px;
        object-fit: cover;
        border-radius: 50%;
        border: 3px solid rgba(37,99,235,0.3);
    }

.note-text {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 10px;
}

.mt-3{
    margin-top:3px;
}
/* =============================== */
/* CUSTOM FILE UPLOAD UI           */
/* =============================== */

.file-upload-box {
    display: block;
    border: 2px dashed rgba(37,99,235,0.35);
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.4);
    margin-top: 15px;
}

    /* Hide real input */
    .file-upload-box input[type="file"] {
        display: none;
    }

/* Content */
.file-upload-content i {
    font-size: 34px;
    color: #2563eb;
    margin-bottom: 8px;
}

.file-upload-content strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.file-upload-content span {
    font-size: 13px;
    opacity: 0.8;
}

.file-upload-content small {
    display: block;
    font-size: 12px;
    opacity: 0.6;
    margin-top: 4px;
}

/* Hover */
.file-upload-box:hover {
    background: rgba(37,99,235,0.08);
    border-color: #2563eb;
}

/* File name */
.file-name {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #2563eb;
    text-align: center;
}

/* Dark mode */
body.dark .file-upload-box {
    background: rgba(255,255,255,0.05);
    border-color: rgba(94,234,212,0.6);
}

body.dark .file-upload-content i {
    color: #5eead4;
}
.file-upload-box:active {
    transform: scale(0.98);
}
