/* =========================================================
   MyExamPath Identity
   Global CSS Foundation
   ========================================================= */


/* ---------------------------------------------------------
   1. GLOBAL VARIABLES
   --------------------------------------------------------- */

:root {
    --mep-primary: #2563eb;
    --mep-primary-hover: #1d4ed8;

    --mep-text: #111827;
    --mep-text-light: #6b7280;

    --mep-border: #e5e7eb;
    --mep-border-focus: #2563eb;

    --mep-background: #f8fafc;
    --mep-card: #ffffff;

    --mep-success: #15803d;
    --mep-success-bg: #f0fdf4;

    --mep-error: #b91c1c;
    --mep-error-bg: #fef2f2;

    --mep-warning: #a16207;
    --mep-warning-bg: #fefce8;

    --mep-radius: 10px;
    --mep-radius-small: 7px;

    --mep-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);

    --mep-font: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
}


/* ---------------------------------------------------------
   2. IDENTITY BASE
   --------------------------------------------------------- */

.mep-identity,
.mep-login,
.mep-registration,
.mep-profile,
.mep-2fa,
.mep-password-reset {
    box-sizing: border-box;
    font-family: var(--mep-font);
    color: var(--mep-text);
}

.mep-identity *,
.mep-login *,
.mep-registration *,
.mep-profile *,
.mep-2fa *,
.mep-password-reset * {
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   3. COMMON CONTAINER
   --------------------------------------------------------- */

.mep-identity-container {
    width: 100%;
    max-width: 520px;
    margin: 40px auto;
    padding: 0 20px;
}


/* ---------------------------------------------------------
   4. COMMON CARD
   --------------------------------------------------------- */

.mep-card {
    background: var(--mep-card);
    border: 1px solid var(--mep-border);
    border-radius: var(--mep-radius);
    box-shadow: var(--mep-shadow);
    padding: 28px;
}

.mep-card + .mep-card {
    margin-top: 20px;
}


/* ---------------------------------------------------------
   5. HEADINGS
   --------------------------------------------------------- */

.mep-title {
    margin: 0 0 8px;
    color: var(--mep-text);
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
}

.mep-subtitle {
    margin: 0 0 24px;
    color: var(--mep-text-light);
    font-size: 15px;
    line-height: 1.6;
}

.mep-section-title {
    margin: 0 0 14px;
    color: var(--mep-text);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 650;
}


/* ---------------------------------------------------------
   6. FORM GROUP
   --------------------------------------------------------- */

.mep-form-group {
    margin-bottom: 18px;
}

.mep-form-group:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   7. LABELS
   --------------------------------------------------------- */

.mep-label {
    display: block;
    margin-bottom: 7px;
    color: var(--mep-text);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}


/* ---------------------------------------------------------
   8. INPUTS
   --------------------------------------------------------- */

.mep-input,
.mep-select,
.mep-textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;

    border: 1px solid var(--mep-border);
    border-radius: var(--mep-radius-small);

    background: #ffffff;
    color: var(--mep-text);

    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.mep-textarea {
    min-height: 110px;
    resize: vertical;
}

.mep-input:focus,
.mep-select:focus,
.mep-textarea:focus {
    border-color: var(--mep-border-focus);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.mep-input::placeholder,
.mep-textarea::placeholder {
    color: #9ca3af;
}


/* ---------------------------------------------------------
   9. CHECKBOX / RADIO
   --------------------------------------------------------- */

.mep-checkbox-row,
.mep-radio-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mep-checkbox-row label,
.mep-radio-row label {
    margin: 0;
    color: var(--mep-text-light);
    font-size: 14px;
    cursor: pointer;
}


/* ---------------------------------------------------------
   10. BUTTONS
   --------------------------------------------------------- */

.mep-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 10px 18px;

    border: 1px solid transparent;
    border-radius: var(--mep-radius-small);

    background: var(--mep-primary);
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;

    text-decoration: none;
    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.1s ease,
        box-shadow 0.2s ease;
}

.mep-button:hover {
    background: var(--mep-primary-hover);
    color: #ffffff;
}

.mep-button:active {
    transform: translateY(1px);
}

.mep-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.mep-button-secondary {
    background: #ffffff;
    border-color: var(--mep-border);
    color: var(--mep-text);
}

.mep-button-secondary:hover {
    background: #f9fafb;
    color: var(--mep-text);
}

.mep-button-danger {
    background: #dc2626;
}

.mep-button-danger:hover {
    background: #b91c1c;
}

.mep-button-full {
    width: 100%;
}


/* ---------------------------------------------------------
   11. LINKS
   --------------------------------------------------------- */

.mep-link {
    color: var(--mep-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.mep-link:hover {
    color: var(--mep-primary-hover);
    text-decoration: underline;
}


/* ---------------------------------------------------------
   12. ALERTS / MESSAGES
   --------------------------------------------------------- */

.mep-message {
    margin: 0 0 18px;
    padding: 12px 14px;

    border: 1px solid transparent;
    border-radius: var(--mep-radius-small);

    font-size: 14px;
    line-height: 1.5;
}

.mep-message-success {
    background: var(--mep-success-bg);
    border-color: #bbf7d0;
    color: var(--mep-success);
}

.mep-message-error {
    background: var(--mep-error-bg);
    border-color: #fecaca;
    color: var(--mep-error);
}

.mep-message-warning {
    background: var(--mep-warning-bg);
    border-color: #fde68a;
    color: var(--mep-warning);
}


/* ---------------------------------------------------------
   13. HELPER TEXT
   --------------------------------------------------------- */

.mep-help-text {
    margin-top: 6px;
    color: var(--mep-text-light);
    font-size: 13px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   14. DIVIDER
   --------------------------------------------------------- */

.mep-divider {
    height: 1px;
    margin: 24px 0;
    background: var(--mep-border);
}


/* ---------------------------------------------------------
   15. LOADING STATE
   --------------------------------------------------------- */

.mep-loading {
    opacity: 0.65;
    pointer-events: none;
}


/* ---------------------------------------------------------
   16. EMPTY STATE
   --------------------------------------------------------- */

.mep-empty {
    padding: 24px;
    border: 1px dashed var(--mep-border);
    border-radius: var(--mep-radius);
    background: #ffffff;
    color: var(--mep-text-light);
    text-align: center;
    font-size: 14px;
}


/* ---------------------------------------------------------
   17. MOBILE RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .mep-identity-container {
        margin: 24px auto;
        padding: 0 14px;
    }

    .mep-card {
        padding: 20px;
        border-radius: 8px;
    }

    .mep-title {
        font-size: 24px;
    }

    .mep-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .mep-section-title {
        font-size: 18px;
    }

    .mep-button {
        width: 100%;
    }

}

/* =========================================================
   MyExamPath Identity
   PROFILE PAGE
   ========================================================= */


/* ---------------------------------------------------------
   PROFILE MAIN WRAPPER
   --------------------------------------------------------- */

.mep-profile-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;

    font-family: var(--mep-font);
    color: var(--mep-text);
}


/* ---------------------------------------------------------
   PROFILE HEADER
   --------------------------------------------------------- */

.mep-profile-header {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 24px;
    padding: 26px 28px;

    background: #ffffff;

    border: 1px solid var(--mep-border);
    border-radius: 14px;

    box-shadow: var(--mep-shadow);
}


.mep-profile-avatar {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #fff0e4;
    color: #f56b19;

    font-size: 28px;
}


.mep-profile-header-info {
    min-width: 0;
}


.mep-profile-header-info h2 {
    margin: 0 0 5px;

    color: #13233f;

    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
}


.mep-profile-header-info p {
    margin: 0;

    color: #68778a;

    font-size: 14px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   PROFILE SECTION
   --------------------------------------------------------- */

.mep-profile-section {
    margin-bottom: 20px;
    padding: 26px 28px;

    background: #ffffff;

    border: 1px solid #e6eaf0;
    border-radius: 14px;

    box-shadow: 0 8px 24px rgba(19, 35, 63, 0.06);
}


.mep-profile-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0 0 20px;

    color: #13233f;

    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
}


.mep-profile-section > p {
    margin: 0 0 20px;

    color: #68778a;

    font-size: 14px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   ACCOUNT INFORMATION ROW
   --------------------------------------------------------- */

.mep-profile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 15px 0;

    border-top: 1px solid #eef1f4;
}


.mep-profile-row:first-of-type {
    border-top: 0;
}


.mep-profile-label {
    color: #68778a;

    font-size: 14px;
    font-weight: 600;
}


.mep-profile-value {
    color: #13233f;

    font-size: 14px;
    font-weight: 600;

    text-align: right;
    word-break: break-word;
}


/* ---------------------------------------------------------
   SECURITY CARD
   --------------------------------------------------------- */

.mep-profile-security-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding: 20px;

    margin-top: 14px;

    background: #fafbfd;

    border: 1px solid #e6eaf0;
    border-radius: 10px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.mep-profile-security-card:hover {
    border-color: #d9dfe7;

    box-shadow: 0 8px 20px rgba(19, 35, 63, 0.05);

    transform: translateY(-1px);
}


.mep-profile-security-card > div {
    min-width: 0;
}


.mep-profile-security-card strong {
    display: block;

    margin-bottom: 5px;

    color: #13233f;

    font-size: 15px;
    line-height: 1.4;
}


.mep-profile-security-card p {
    margin: 0;

    color: #68778a;

    font-size: 13px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   SECURITY BUTTON
   --------------------------------------------------------- */

.mep-profile-security-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    min-height: 40px;

    padding: 9px 16px;

    border: 1px solid #f56b19;
    border-radius: 7px;

    background: #f56b19;
    color: #ffffff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    line-height: 1.3;
    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.1s ease;
}


.mep-profile-security-button:hover {
    background: #dd5810;
    border-color: #dd5810;

    color: #ffffff;
}


.mep-profile-security-button:active {
    transform: translateY(1px);
}


/* ---------------------------------------------------------
   ACTIVE SESSIONS
   --------------------------------------------------------- */

.mep-active-sessions {
    margin-top: 14px;
    padding: 20px;

    background: #f8fafc;

    border: 1px solid #e6eaf0;
    border-radius: 10px;
}


.mep-active-sessions-list {
    margin-bottom: 16px;
}


/* ---------------------------------------------------------
   MOBILE PROFILE
   --------------------------------------------------------- */

@media (max-width: 650px) {

    .mep-profile-wrapper {
        margin: 24px auto;
        padding: 0 14px;
    }


    .mep-profile-header {
        gap: 14px;

        margin-bottom: 16px;
        padding: 20px;

        border-radius: 12px;
    }


    .mep-profile-avatar {
        width: 48px;
        height: 48px;

        border-radius: 11px;

        font-size: 23px;
    }


    .mep-profile-header-info h2 {
        font-size: 23px;
    }


    .mep-profile-header-info p {
        font-size: 13px;
    }


    .mep-profile-section {
        margin-bottom: 16px;
        padding: 20px;

        border-radius: 12px;
    }


    .mep-profile-section h3 {
        margin-bottom: 16px;

        font-size: 18px;
    }


    .mep-profile-row {
        align-items: flex-start;
        flex-direction: column;

        gap: 5px;

        padding: 13px 0;
    }


    .mep-profile-value {
        text-align: left;
    }


    .mep-profile-security-card {
        align-items: flex-start;
        flex-direction: column;

        gap: 15px;

        padding: 17px;
    }


    .mep-profile-security-button {
        width: 100%;
    }


    .mep-active-sessions {
        padding: 16px;
    }

}

/* =========================================================
   MyExamPath Identity
   TWO-FACTOR AUTHENTICATION PAGE
   ========================================================= */


/* ---------------------------------------------------------
   2FA MAIN WRAPPER
   --------------------------------------------------------- */

.mep-2fa-wrapper {
    width: 100%;
    max-width: 900px;

    margin: 40px auto;
    padding: 0 20px;

    font-family: var(--mep-font);
    color: var(--mep-text);
}


/* ---------------------------------------------------------
   2FA HEADER
   --------------------------------------------------------- */

.mep-2fa-header {
    margin-bottom: 24px;
    padding: 28px 30px;

    background: #ffffff;

    border: 1px solid #e6eaf0;
    border-radius: 14px;

    box-shadow: 0 8px 24px rgba(19, 35, 63, 0.06);
}


.mep-2fa-header h2 {
    margin: 0 0 8px;

    color: #13233f;

    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
}


.mep-2fa-header p {
    margin: 0;

    color: #68778a;

    font-size: 14px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   2FA STATUS
   --------------------------------------------------------- */

.mep-2fa-status {
    margin-bottom: 16px;
    padding: 18px 22px;

    background: #f8fafc;

    border: 1px solid #e6eaf0;
    border-radius: 10px;
}


.mep-2fa-status p {
    margin: 0;

    color: #68778a;

    font-size: 14px;
    line-height: 1.5;
}


.mep-2fa-status strong {
    color: #13233f;
}


/* ---------------------------------------------------------
   ENABLED STATE
   --------------------------------------------------------- */

.mep-2fa-status-text {
    font-weight: 700;
}


.mep-2fa-enabled-message {
    margin: 0 0 16px;
    padding: 15px 18px;

    background: #f0fdf4;

    border: 1px solid #bbf7d0;
    border-radius: 9px;

    color: #15803d;

    font-size: 14px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   2FA SETUP AREA
   --------------------------------------------------------- */

.mep-2fa-setup {
    padding: 26px 30px;

    background: #ffffff;

    border: 1px solid #e6eaf0;
    border-radius: 14px;

    box-shadow: 0 8px 24px rgba(19, 35, 63, 0.06);
}


/* ---------------------------------------------------------
   2FA BUTTONS
   --------------------------------------------------------- */

.mep-2fa-start-button,
.mep-2fa-verify-button,
.mep-2fa-disable-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 10px 20px;

    border: 1px solid transparent;
    border-radius: 7px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    line-height: 1.3;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.1s ease;
}


/* Enable */

.mep-2fa-start-button,
.mep-2fa-verify-button {
    background: #f56b19;
    border-color: #f56b19;
    color: #ffffff;
}


.mep-2fa-start-button:hover,
.mep-2fa-verify-button:hover {
    background: #dd5810;
    border-color: #dd5810;
    color: #ffffff;
}


/* Disable */

.mep-2fa-disable-button {
    background: #ffffff;
    border-color: #dc2626;
    color: #dc2626;
}


.mep-2fa-disable-button:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}


.mep-2fa-start-button:active,
.mep-2fa-verify-button:active,
.mep-2fa-disable-button:active {
    transform: translateY(1px);
}


/* ---------------------------------------------------------
   SETUP CONTENT
   --------------------------------------------------------- */

.mep-2fa-setup-content {
    margin-top: 24px;
}


.mep-2fa-step {
    margin-bottom: 20px;
    padding: 22px;

    background: #f8fafc;

    border: 1px solid #e6eaf0;
    border-radius: 10px;
}


.mep-2fa-step:last-child {
    margin-bottom: 0;
}


.mep-2fa-step h3 {
    margin: 0 0 8px;

    color: #13233f;

    font-size: 17px;
    line-height: 1.4;
    font-weight: 800;
}


.mep-2fa-step p {
    margin: 0 0 16px;

    color: #68778a;

    font-size: 13px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   QR CODE
   --------------------------------------------------------- */

.mep-2fa-qr {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 220px;

    margin-top: 15px;
    padding: 20px;

    background: #ffffff;

    border: 1px solid #e6eaf0;
    border-radius: 10px;
}


.mep-2fa-qr svg,
.mep-2fa-qr img {
    display: block;

    max-width: 100%;
    height: auto;
}


/* ---------------------------------------------------------
   VERIFICATION CODE
   --------------------------------------------------------- */

.mep-2fa-code {
    display: block;

    width: 180px;
    max-width: 100%;

    min-height: 48px;

    margin-bottom: 14px;
    padding: 10px 14px;

    border: 1px solid #dfe4ea;
    border-radius: 7px;

    background: #ffffff;
    color: #13233f;

    font-family: inherit;
    font-size: 20px;
    font-weight: 700;

    letter-spacing: 4px;
    text-align: center;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.mep-2fa-code:focus {
    border-color: #f56b19;

    box-shadow:
        0 0 0 3px rgba(245, 107, 25, 0.12);
}


/* ---------------------------------------------------------
   2FA MESSAGE
   --------------------------------------------------------- */

.mep-2fa-message {
    margin-top: 18px;
    padding: 12px 14px;

    border-radius: 8px;

    font-size: 14px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 650px) {

    .mep-2fa-wrapper {
        margin: 24px auto;
        padding: 0 14px;
    }


    .mep-2fa-header {
        margin-bottom: 16px;
        padding: 22px 20px;

        border-radius: 12px;
    }


    .mep-2fa-header h2 {
        font-size: 23px;
    }


    .mep-2fa-header p {
        font-size: 13px;
    }


    .mep-2fa-status {
        padding: 16px 18px;
    }


    .mep-2fa-setup {
        padding: 20px;

        border-radius: 12px;
    }


    .mep-2fa-start-button,
    .mep-2fa-verify-button,
    .mep-2fa-disable-button {
        width: 100%;
    }


    .mep-2fa-step {
        padding: 18px;
    }


    .mep-2fa-code {
        width: 100%;
        max-width: 220px;
    }


    .mep-2fa-qr {
        min-height: 180px;
        padding: 15px;
    }

}

/* =========================================================
   MyExamPath Identity
   LOGIN FORM
   ========================================================= */


/* ---------------------------------------------------------
   LOGIN FORM WRAPPER
   --------------------------------------------------------- */

.mep-login-form-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;

    font-family: var(--mep-font);
}


/* ---------------------------------------------------------
   LOGIN FORM
   --------------------------------------------------------- */

.mep-login-form {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* ---------------------------------------------------------
   LOGIN FIELD
   --------------------------------------------------------- */

.mep-login-field {
    margin-bottom: 12px;
}


.mep-login-field label {
    display: block;

    margin-bottom: 5px;

    color: #344154;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}


.mep-login-field input[type="email"],
.mep-login-field input[type="password"] {
    display: block;

    width: 100%;
    height: 40px;

    margin: 0;
    padding: 0 12px;

    border: 1px solid #dfe4ea;
    border-radius: 6px;

    background: #ffffff;
    color: #13233f;

    font-family: inherit;
    font-size: 13px;

    outline: none;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.mep-login-field input[type="email"]:focus,
.mep-login-field input[type="password"]:focus {
    border-color: #f56b19;

    box-shadow:
        0 0 0 2px rgba(245, 107, 25, 0.10);
}


.mep-login-field input::placeholder {
    color: #9aa5b4;
}


/* ---------------------------------------------------------
   REMEMBER ME
   --------------------------------------------------------- */

.mep-login-options {
    margin: 2px 0 8px;
}


.mep-login-remember {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin: 0;

    color: #68778a;

    font-size: 11px;
    line-height: 1.4;

    cursor: pointer;
}


.mep-login-remember input[type="checkbox"] {
    width: 13px;
    height: 13px;

    margin: 0;

    accent-color: #f56b19;

    cursor: pointer;
}


/* ---------------------------------------------------------
   LOGIN MESSAGE
   --------------------------------------------------------- */

.mep-login-message {
    display: none;

    margin: 10px 0;

    padding: 12px 14px;

    border: 1px solid #fecaca;
    border-radius: 8px;

    background: #fef2f2;
    color: #b91c1c;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.mep-login-message:not(:empty) {
    display: block;
}


/* ---------------------------------------------------------
   LOGIN BUTTON
   --------------------------------------------------------- */

.mep-login-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 40px;

    margin: 6px 0 0;
    padding: 0 15px;

    border: 0;
    border-radius: 6px;

    background: #f56b19;
    color: #ffffff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}


.mep-login-button:hover {
    background: #dd5810;
    color: #ffffff;
}


.mep-login-button:active {
    transform: translateY(1px);
}


.mep-login-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}


/* ---------------------------------------------------------
   FORGOT PASSWORD
   --------------------------------------------------------- */

.mep-login-forgot {
    margin-top: 6px;

    text-align: right;
}


.mep-forgot-password {
    color: #f56b19;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;
}


.mep-forgot-password:hover {
    color: #dd5810;
    text-decoration: underline;
}


/* ---------------------------------------------------------
   REGISTER
   --------------------------------------------------------- */

.mep-login-register {
    margin-top: 8px;

    color: #68778a;

    font-size: 11px;
    line-height: 1.5;
}


.mep-login-register a {
    color: #f56b19;

    font-weight: 600;

    text-decoration: none;
}


.mep-login-register a:hover {
    color: #dd5810;
    text-decoration: underline;
}


/* ---------------------------------------------------------
   MOBILE LOGIN
   --------------------------------------------------------- */

@media (max-width: 650px) {

    .mep-login-field {
        margin-bottom: 12px;
    }


    .mep-login-field input[type="email"],
    .mep-login-field input[type="password"] {
        height: 42px;

        font-size: 14px;
    }


    .mep-login-button {
        height: 42px;

        font-size: 14px;
    }


    .mep-login-forgot {
        margin-top: 7px;
    }


    .mep-login-register {
        margin-top: 9px;
    }

}

/* =========================================================
   MyExamPath Identity
   LOGGED-IN HOMEPAGE ACCOUNT PANEL
   ========================================================= */


/* ---------------------------------------------------------
   MAIN PANEL
   --------------------------------------------------------- */

.mep-logged-in-panel {
    width: 100%;
    margin: 0;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #e3e8ef;
    border-radius: 14px;

    box-shadow: 0 10px 28px rgba(19, 35, 63, 0.08);

    font-family: var(--mep-font);
    color: #13233f;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   ACCOUNT WELCOME
   --------------------------------------------------------- */

.mep-account-welcome {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 18px;
}


.mep-account-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: #fff0e4;
    color: #f56b19;

    font-size: 21px;
}


.mep-account-info {
    min-width: 0;
}


.mep-account-label {
    margin-bottom: 3px;

    color: #68778a;

    font-size: 11px;
    line-height: 1.4;
}


.mep-account-name {
    color: #13233f;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;

    word-break: break-word;
}


/* ---------------------------------------------------------
   ACCOUNT ACTIONS
   --------------------------------------------------------- */

.mep-account-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    padding-top: 16px;

    border-top: 1px solid #eef1f4;
}


/* ---------------------------------------------------------
   ACCOUNT BUTTON
   --------------------------------------------------------- */

.mep-account-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 8px 12px;

    border: 1px solid #e1e6ec;
    border-radius: 7px;

    background: #ffffff;
    color: #13233f;

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    line-height: 1.3;

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


.mep-account-button:hover {
    background: #fff0e4;

    border-color: #f56b19;

    color: #f56b19;

    text-decoration: none;
}


/* ---------------------------------------------------------
   LOGOUT BUTTON
   --------------------------------------------------------- */

.mep-account-button.mep-logout-button {
    border-color: #e5e7eb;

    background: #ffffff;
    color: #b42318;
}


.mep-account-button.mep-logout-button:hover {
    background: #fef2f2;

    border-color: #fca5a5;

    color: #b42318;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 650px) {

    .mep-logged-in-panel {
        padding: 18px;

        border-radius: 12px;
    }


    .mep-account-welcome {
        margin-bottom: 16px;
    }


    .mep-account-actions {
        flex-direction: column;

        gap: 8px;
    }


    .mep-account-button {
        width: 100%;
        min-height: 40px;
    }

}

/* =========================================================
   MyExamPath Identity
   REGISTRATION PAGE
   ========================================================= */


/* ---------------------------------------------------------
   REGISTRATION WRAPPER
   --------------------------------------------------------- */

.mep-registration-wrapper {
    width: 100%;
    max-width: 760px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: var(--mep-font);
    color: #13233f;
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   REGISTRATION CARD
   --------------------------------------------------------- */

body .mep-registration-wrapper {
    display: block;
    width: 100% !important;
    max-width: 760px !important;
    margin: 50px auto !important;
    padding: 0 20px;
    font-family: var(--mep-font);
    color: #13233f;
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   REGISTRATION HEADER
   --------------------------------------------------------- */

.mep-registration-header {
    margin-bottom: 26px;

    text-align: center;
}


.mep-registration-header h2 {
    margin: 0 0 8px;

    color: #13233f;

    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
}


.mep-registration-header p {
    margin: 0;

    color: #68778a;

    font-size: 14px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   FORM
   --------------------------------------------------------- */

.mep-registration-form {
    width: 100%;
}


/* ---------------------------------------------------------
   FORM FIELD
   --------------------------------------------------------- */

.mep-form-field {
    margin-bottom: 17px;
}


.mep-form-field label {
    display: block;

    margin-bottom: 6px;

    color: #344154;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}


.mep-form-field input[type="text"],
.mep-form-field input[type="email"],
.mep-form-field input[type="tel"],
.mep-form-field input[type="password"],
.mep-form-field select {
    display: block;

    width: 100%;
    min-height: 44px;

    margin: 0;
    padding: 10px 12px;

    border: 1px solid #dfe4ea;
    border-radius: 7px;

    background: #ffffff;
    color: #13233f;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.mep-form-field input:focus,
.mep-form-field select:focus {
    border-color: #f56b19;

    box-shadow:
        0 0 0 3px rgba(245, 107, 25, 0.10);
}


.mep-form-field input::placeholder {
    color: #9aa5b4;
}


/* ---------------------------------------------------------
   FIELD HELP TEXT
   --------------------------------------------------------- */

.mep-form-field small {
    display: block;

    margin-top: 5px;

    color: #7b8797;

    font-size: 11px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   TERMS
   --------------------------------------------------------- */

.mep-terms-field {
    margin-top: 4px;
}


.mep-terms-field label {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    margin: 0;

    color: #68778a;

    font-size: 12px;
    line-height: 1.5;

    font-weight: 500;

    cursor: pointer;
}


.mep-terms-field input[type="checkbox"] {
    width: 14px;
    height: 14px;

    flex-shrink: 0;

    margin: 2px 0 0;

    accent-color: #f56b19;

    cursor: pointer;
}


/* ---------------------------------------------------------
   REGISTRATION MESSAGE
   --------------------------------------------------------- */

.mep-registration-message {
    display: none;

    margin: 14px 0;

    padding: 11px 13px;

    border-radius: 7px;

    font-size: 13px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   SUBMIT BUTTON
   --------------------------------------------------------- */

.mep-registration-submit {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 46px;

    margin-top: 20px;
    padding: 10px 18px;

    border: 0;
    border-radius: 7px;

    background: #f56b19;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}


.mep-registration-submit:hover {
    background: #dd5810;
    color: #ffffff;
}


.mep-registration-submit:active {
    transform: translateY(1px);
}


.mep-registration-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}


/* ---------------------------------------------------------
   EMAIL VERIFICATION RESULT
   --------------------------------------------------------- */

.mep-verification-result {
    padding: 24px;

    border-radius: 10px;

    background: #f8fafc;

    border: 1px solid #e6eaf0;

    text-align: center;
}


.mep-verification-result h2 {
    margin: 0 0 12px;

    color: #13233f;

    font-size: 22px;
    line-height: 1.35;
    font-weight: 800;
}


.mep-verification-result p {
    margin: 0 0 12px;

    color: #68778a;

    font-size: 14px;
    line-height: 1.6;
}


.mep-verification-result p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   MOBILE REGISTRATION
   --------------------------------------------------------- */

@media (max-width: 650px) {

    .mep-registration-wrapper {
        margin: 24px auto;
        padding: 0 14px;
    }


    .mep-registration-card {
        padding: 22px 18px;

        border-radius: 12px;
    }


    .mep-registration-header {
        margin-bottom: 22px;
    }


    .mep-registration-header h2 {
        font-size: 23px;
    }


    .mep-registration-header p {
        font-size: 13px;
    }


    .mep-form-field {
        margin-bottom: 15px;
    }


    .mep-form-field input[type="text"],
    .mep-form-field input[type="email"],
    .mep-form-field input[type="tel"],
    .mep-form-field input[type="password"],
    .mep-form-field select {
        min-height: 46px;

        font-size: 14px;
    }


    .mep-registration-submit {
        min-height: 46px;
    }


    .mep-verification-result {
        padding: 20px 16px;
    }

}

/* =========================================================
   MyExamPath Identity
   FORGOT PASSWORD PAGE
   ========================================================= */

.mep-password-reset-wrapper {
    width: 100%;
    max-width: 560px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: var(--mep-font);
    color: #13233f;
    box-sizing: border-box;
}

.mep-password-reset-card {
    width: 100%;
    padding: 34px;
    background: #ffffff;
    border: 1px solid #e1e6ed;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(19, 35, 63, 0.08);
    box-sizing: border-box;
}

.mep-password-reset-header {
    margin-bottom: 26px;
    text-align: center;
}

.mep-password-reset-header h2 {
    margin: 0 0 8px;
    color: #13233f;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
}

.mep-password-reset-header p {
    margin: 0;
    color: #68778a;
    font-size: 14px;
    line-height: 1.6;
}

.mep-password-reset-form {
    width: 100%;
}

.mep-password-reset-field {
    margin-bottom: 18px;
}

.mep-password-reset-field label {
    display: block;
    margin-bottom: 6px;
    color: #344154;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.mep-password-reset-field input[type="email"] {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #dfe4ea;
    border-radius: 7px;
    background: #ffffff;
    color: #13233f;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mep-password-reset-field input[type="email"]:focus {
    border-color: #f56b19;
    box-shadow: 0 0 0 3px rgba(245, 107, 25, 0.10);
}

.mep-password-reset-field input[type="email"]::placeholder {
    color: #9aa5b4;
}

.mep-password-reset-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 20px;
    padding: 10px 18px;
    border: 0;
    border-radius: 7px;
    background: #f56b19;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.mep-password-reset-submit:hover {
    background: #dd5810;
    color: #ffffff;
}

.mep-password-reset-submit:active {
    transform: translateY(1px);
}

.mep-password-reset-message {
    margin: 14px 0;
    padding: 11px 13px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.5;
}

.mep-password-reset-back {
    margin-top: 18px;
    text-align: center;
}

.mep-password-reset-back a {
    color: #f56b19;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.mep-password-reset-back a:hover {
    color: #dd5810;
    text-decoration: underline;
}

@media (max-width: 650px) {

    .mep-password-reset-wrapper {
        margin: 24px auto;
        padding: 0 14px;
    }

    .mep-password-reset-card {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .mep-password-reset-header {
        margin-bottom: 22px;
    }

    .mep-password-reset-header h2 {
        font-size: 23px;
    }

    .mep-password-reset-header p {
        font-size: 13px;
    }

    .mep-password-reset-field input[type="email"] {
        min-height: 46px;
        font-size: 14px;
    }

    .mep-password-reset-submit {
        min-height: 46px;
    }
}

/* =========================================================
   PASSWORD RESET — INVALID LINK STATE
   ========================================================= */

.mep-reset-password-wrapper {
    width: 100%;
    max-width: 720px;
    margin: 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: var(--mep-font);
    color: #13233f;
}

.mep-reset-password-box {
    width: 100%;
    padding: 34px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(19, 35, 63, 0.07);
}

.mep-reset-password-box h2 {
    margin: 0 0 12px;
    color: #13233f;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
}

.mep-reset-password-box p {
    margin: 0 0 16px;
    color: #68778a;
    font-size: 14px;
    line-height: 1.6;
}

.mep-reset-password-box p:last-child {
    margin-bottom: 0;
}

.mep-reset-password-box a {
    color: #f56b19;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mep-reset-password-box a:hover {
    color: #dd5810;
    text-decoration: underline;
}


/* =========================================================
   PASSWORD RESET — MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .mep-reset-password-wrapper {
        margin: 30px auto;
        padding: 0 15px;
    }

    .mep-reset-password-box {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .mep-reset-password-box h2 {
        font-size: 23px;
    }

    .mep-reset-password-box p {
        font-size: 13px;
    }

    .mep-reset-password-box a {
        font-size: 13px;
    }
}