/* =========================================================
   PRIMEPAL - COMMON ADMIN CSS
   Brand: Teal + Medical Blue
   ========================================================= */

:root {
    --pp-primary: #028E8B;
    --pp-primary-dark: #006F70;
    --pp-secondary: #0653AA;
    --pp-secondary-dark: #043B82;

    --pp-primary-soft: #E8F7F6;
    --pp-secondary-soft: #EAF2FC;

    --pp-text: #17232B;
    --pp-text-soft: #526168;
    --pp-muted: #68777D;

    --pp-border: #E0E8E8;
    --pp-bg: #F5F9FA;
    --pp-white: #FFFFFF;

    --pp-danger: #B42318;
    --pp-danger-bg: #FFF2F2;
    --pp-danger-border: #F1CCCC;

    --pp-success: #087443;
    --pp-success-bg: #ECFDF3;
    --pp-success-border: #B7E4CA;

    --pp-radius-sm: 9px;
    --pp-radius-md: 12px;
    --pp-radius-lg: 18px;
    --pp-radius-xl: 24px;

    --pp-shadow-sm: 0 5px 18px rgba(6, 83, 170, .06);
    --pp-shadow-md: 0 18px 55px rgba(6, 83, 170, .10);

    --pp-transition: .2s ease;
}

/* =========================================================
   BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--pp-bg);
    color: var(--pp-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: var(--pp-primary-dark);
}

/* =========================================================
   AUTH SHELL
   ========================================================= */

.auth-shell {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;

    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(2, 142, 139, .13),
            transparent 34%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(6, 83, 170, .10),
            transparent 36%
        ),
        linear-gradient(
            180deg,
            #FFFFFF 0%,
            #F4F9FA 100%
        );
}

.login-page {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   LOGIN CARD
   ========================================================= */

.auth-card {
    width: 100%;
    max-width: 455px;
    position: relative;
    overflow: hidden;

    padding: 38px 40px 30px;

    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-xl);

    box-shadow:
        0 30px 80px rgba(6, 83, 170, .10),
        0 6px 22px rgba(2, 142, 139, .04);
}

.auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--pp-primary),
            var(--pp-secondary)
        );
}

/* =========================================================
   LOGO
   ========================================================= */

.login-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 23px;
}

.login-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.login-logo img {
    display: block;
    width: auto;
    max-width: 205px;
    max-height: 82px;
    object-fit: contain;
}

.primepal-logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.primepal-logo-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--pp-primary),
            var(--pp-secondary)
        );

    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.primepal-logo-text strong {
    display: block;
    color: var(--pp-text);
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
}

.primepal-logo-text span {
    display: block;
    margin-top: 4px;
    color: var(--pp-primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* =========================================================
   HEADER
   ========================================================= */

.login-header {
    margin-bottom: 27px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;
    padding: 6px 13px;

    background: var(--pp-primary-soft);
    border: 1px solid #CDEBE9;
    border-radius: 50px;

    color: var(--pp-primary-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.login-header h1 {
    margin: 0 0 8px;

    color: var(--pp-text);
    font-size: 29px;
    line-height: 1.2;
    font-weight: 780;
    letter-spacing: -.55px;
}

.login-header p {
    margin: 0;

    color: var(--pp-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================================
   ALERTS
   ========================================================= */

.login-alert {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin-bottom: 20px;
    padding: 12px 13px;

    border-radius: 10px;

    font-size: 12px;
    line-height: 1.5;
}

.login-alert-danger {
    background: var(--pp-danger-bg);
    border: 1px solid var(--pp-danger-border);
    color: var(--pp-danger);
}

.login-alert-success {
    background: var(--pp-success-bg);
    border: 1px solid var(--pp-success-border);
    color: var(--pp-success);
}

.login-alert i {
    flex: 0 0 auto;
    margin-top: 1px;
    font-size: 15px;
}

/* =========================================================
   FORM
   ========================================================= */

.form-group {
    margin-bottom: 20px;
}

.form-group > label,
.password-label label {
    color: #26333A;
    font-size: 13px;
    font-weight: 650;
}

.form-group > label {
    display: block;
    margin-bottom: 8px;
}

.password-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
}

.password-label label {
    margin: 0;
}

.forgot-link {
    color: var(--pp-primary-dark);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.forgot-link:hover {
    color: var(--pp-secondary-dark);
    text-decoration: underline;
}

/* =========================================================
   INPUT
   ========================================================= */

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper .form-control {
    width: 100%;
    height: 51px;
    min-height: 51px;

    padding: 0 47px;

    background: #FBFDFD;
    border: 1px solid #DDE7E7;
    border-radius: var(--pp-radius-md);

    color: var(--pp-text);
    font-size: 14px;

    outline: none;
    box-shadow: none;

    transition:
        border-color var(--pp-transition),
        background var(--pp-transition),
        box-shadow var(--pp-transition);
}

.input-wrapper .form-control::placeholder {
    color: #99A7AB;
}

.input-wrapper .form-control:hover {
    background: #FFFFFF;
    border-color: #C8D7D8;
}

.input-wrapper .form-control:focus {
    background: #FFFFFF;
    border-color: var(--pp-primary);

    box-shadow:
        0 0 0 4px rgba(2, 142, 139, .09);
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    color: #7D8D92;
    pointer-events: none;
    z-index: 2;
}

.input-icon i {
    font-size: 16px;
}

.password-toggle {
    position: absolute;
    right: 9px;
    top: 50%;

    width: 33px;
    height: 33px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 0;
    border-radius: 8px;
    background: transparent;

    color: #78898E;
    cursor: pointer;

    transition: all var(--pp-transition);
}

.password-toggle:hover {
    background: var(--pp-primary-soft);
    color: var(--pp-primary-dark);
}

.password-toggle:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(2, 142, 139, .10);
}

/* =========================================================
   ERRORS
   ========================================================= */

.login-error {
    margin-top: 6px;
    color: var(--pp-danger);
    font-size: 12px;
    line-height: 1.4;
}

.form-control.is-invalid {
    border-color: #DC3545 !important;
}

.form-control.is-invalid:focus {
    border-color: #DC3545 !important;
    box-shadow:
        0 0 0 4px rgba(220, 53, 69, .08) !important;
}

/* =========================================================
   REMEMBER
   ========================================================= */

.login-options {
    display: flex;
    align-items: center;
    margin: 1px 0 22px;
}

.remember-me {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin: 0;

    color: var(--pp-muted);
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;
}

.remember-me input {
    width: 16px;
    height: 16px;
    margin: 0;

    accent-color: var(--pp-primary);
    cursor: pointer;
}

/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.login-btn {
    width: 100%;
    min-height: 51px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 0;
    border-radius: var(--pp-radius-md);

    background:
        linear-gradient(
            100deg,
            var(--pp-primary),
            var(--pp-secondary)
        );

    color: #FFFFFF;
    font-size: 14px;
    font-weight: 750;

    cursor: pointer;

    transition:
        transform var(--pp-transition),
        box-shadow var(--pp-transition),
        opacity var(--pp-transition);
}

.login-btn:hover {
    color: #FFFFFF;
    transform: translateY(-1px);

    box-shadow:
        0 10px 28px rgba(2, 142, 139, .18);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn i {
    font-size: 16px;
    transition: transform var(--pp-transition);
}

.login-btn:hover i {
    transform: translateX(3px);
}

.login-btn:disabled {
    opacity: .72;
    cursor: not-allowed;
    transform: none;
}

/* =========================================================
   FOOTER
   ========================================================= */

.auth-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;

    margin-top: 23px;
    padding-top: 21px;

    border-top: 1px solid #EDF1F1;

    color: var(--pp-muted);
    font-size: 13px;
    text-align: center;
}

.auth-footer a {
    color: var(--pp-primary-dark);
    font-weight: 750;
    text-decoration: none;
}

.auth-footer a:hover {
    color: var(--pp-secondary-dark);
    text-decoration: underline;
}

/* =========================================================
   SECURITY
   ========================================================= */

.login-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: 18px;

    color: #98A5A9;
    font-size: 11px;
    text-align: center;
}

.login-security i {
    color: var(--pp-primary);
    font-size: 13px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
    .auth-shell {
        padding: 24px 18px;
    }

    .auth-card {
        max-width: 430px;
        padding: 34px 30px 28px;
        border-radius: 21px;
    }
}

@media (max-width: 576px) {
    .auth-shell {
        min-height: 100svh;
        padding: 18px 14px;
    }

    .auth-card {
        max-width: 100%;
        padding: 30px 20px 24px;
        border-radius: 19px;
    }

    .login-logo {
        margin-bottom: 20px;
    }

    .login-logo img {
        max-width: 165px;
        max-height: 68px;
    }

    .login-header {
        margin-bottom: 24px;
    }

    .login-header h1 {
        font-size: 25px;
    }

    .login-header p {
        font-size: 13px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .input-wrapper .form-control {
        height: 49px;
        min-height: 49px;
    }

    .login-btn {
        min-height: 49px;
    }
}

@media (max-width: 380px) {
    .auth-shell {
        padding: 12px 10px;
    }

    .auth-card {
        padding: 27px 16px 22px;
        border-radius: 17px;
    }

    .login-logo img {
        max-width: 140px;
        max-height: 60px;
    }

    .login-header h1 {
        font-size: 23px;
    }

    .login-header p {
        font-size: 12.5px;
    }

    .password-label {
        align-items: flex-start;
    }

    .forgot-link {
        font-size: 11px;
    }
}

@media (max-width: 320px) {
    .auth-shell {
        padding: 8px;
    }

    .auth-card {
        padding: 24px 14px 20px;
    }

    .login-logo img {
        max-width: 125px;
    }

    .login-header h1 {
        font-size: 21px;
    }

    .password-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}


/* =========================================================
   PRIMEPAL - ADMIN OTP VERIFICATION
   ========================================================= */

.otp-page,
.otp-page * {
    box-sizing: border-box;
}

.otp-page {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;

    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(2, 142, 139, .12),
            transparent 34%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(6, 83, 170, .09),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5f9fa 100%
        );
}

.otp-card {
    position: relative;
    width: 100%;
    max-width: 450px;

    padding: 38px 40px 30px;

    background: #ffffff;
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-xl);

    box-shadow:
        0 30px 80px rgba(6, 83, 170, .10),
        0 8px 25px rgba(2, 142, 139, .04);

    overflow: hidden;
}

.otp-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--pp-primary),
            var(--pp-secondary)
        );
}

.otp-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px 0 25px;
}

.otp-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.otp-logo-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 78px;
    object-fit: contain;
}

.otp-header {
    width: 100%;
    text-align: center;
    margin-bottom: 28px;
}

.otp-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 6px 12px;
    margin-bottom: 13px;

    color: var(--pp-primary-dark);
    background: var(--pp-primary-soft);
    border: 1px solid #CDEBE9;
    border-radius: 50px;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.8px;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pp-primary);
}

.otp-header h1 {
    margin: 0 0 9px;
    color: var(--pp-text);
    font-size: 29px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -.5px;
}

.otp-description {
    margin: 0;
    color: var(--pp-muted);
    font-size: 14px;
    line-height: 1.65;
}

.otp-description strong {
    color: var(--pp-primary-dark);
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.otp-success,
.otp-error {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 20px;
    padding: 12px 13px;

    border-radius: 11px;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
}

.otp-success {
    border: 1px solid var(--pp-success-border);
    background: var(--pp-success-bg);
    color: var(--pp-success);
}

.otp-error {
    border: 1px solid var(--pp-danger-border);
    background: var(--pp-danger-bg);
    color: var(--pp-danger);
}

.otp-success-icon,
.otp-error-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-success-icon i,
.otp-error-icon i {
    font-size: 14px;
}

.otp-success-text,
.otp-error-text {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.otp-input-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 5px 0 25px;
}

.otp-input {
    display: block;
    width: 64px;
    height: 68px;
    flex: 0 0 64px;

    margin: 0;
    padding: 0;

    border: 1px solid #DDE7E7;
    border-radius: 13px;

    outline: none;
    background: #FBFDFD;
    color: var(--pp-primary-dark);

    font-size: 28px;
    font-weight: 750;
    line-height: 68px;
    text-align: center;
    caret-color: var(--pp-primary);

    appearance: none;
    -webkit-appearance: none;

    transition:
        border-color var(--pp-transition),
        background-color var(--pp-transition),
        box-shadow var(--pp-transition),
        transform .15s ease;
}

.otp-input:hover {
    border-color: #C8D7D8;
    background: #ffffff;
}

.otp-input:focus {
    border-color: var(--pp-primary);
    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(2, 142, 139, .09);

    transform: translateY(-1px);
}

.otp-input.filled {
    border-color: var(--pp-primary);
    background: var(--pp-primary-soft);
}

.otp-input.invalid {
    border-color: #DC3545;
    background: #FFF8F8;
    color: var(--pp-danger);
}

.otp-button {
    width: 100%;
    height: 52px;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border: 0;
    border-radius: var(--pp-radius-md);

    background:
        linear-gradient(
            100deg,
            var(--pp-primary),
            var(--pp-secondary)
        );

    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    transition:
        opacity var(--pp-transition),
        transform var(--pp-transition),
        box-shadow var(--pp-transition);
}

.otp-button:not(:disabled):hover {
    transform: translateY(-1px);

    box-shadow:
        0 10px 28px rgba(2, 142, 139, .18);
}

.otp-button:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.otp-button-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.otp-button-icon {
    font-size: 16px;
    transition: transform var(--pp-transition);
}

.otp-button:not(:disabled):hover .otp-button-icon {
    transform: translateX(3px);
}

.otp-button-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.otp-spinner {
    width: 16px;
    height: 16px;
    display: inline-block;

    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #ffffff;
    border-radius: 50%;

    animation: primepalOtpSpin .7s linear infinite;
}

@keyframes primepalOtpSpin {
    to {
        transform: rotate(360deg);
    }
}

.otp-timer-section {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 19px;
    padding: 11px 14px;

    border: 1px solid var(--pp-border);
    border-radius: 11px;
    background: #F8FAFA;
}

.otp-timer-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    background: var(--pp-primary-soft);
    color: var(--pp-primary-dark);
}

.otp-timer-icon i {
    font-size: 14px;
}

.otp-timer-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

.otp-timer-label {
    color: var(--pp-muted);
    font-size: 12px;
}

.otp-timer {
    color: var(--pp-primary-dark);
    font-size: 14px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.otp-timer.expired {
    color: var(--pp-danger);
}

.resend-section {
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;

    margin-top: 15px;
    text-align: center;
}

.resend-text {
    color: var(--pp-muted);
    font-size: 12px;
}

.resend-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.resend-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 105px;
    min-height: 32px;
    padding: 5px 8px;

    border: 0;
    border-radius: 7px;
    background: transparent;

    color: var(--pp-primary-dark);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color var(--pp-transition),
        color var(--pp-transition),
        opacity var(--pp-transition);
}

.resend-button:not(:disabled):hover {
    background: var(--pp-primary-soft);
    color: var(--pp-secondary-dark);
}

.resend-button:disabled {
    color: #A4AFB2;
    cursor: not-allowed;
    opacity: .75;
}

.resend-button i {
    margin-right: 5px;
    font-size: 13px;
}

.resend-button-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resend-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.small-spinner {
    width: 12px;
    height: 12px;
    display: inline-block;

    border: 2px solid rgba(2,142,139,.20);
    border-top-color: var(--pp-primary);
    border-radius: 50%;

    animation: primepalResendSpin .7s linear infinite;
}

@keyframes primepalResendSpin {
    to {
        transform: rotate(360deg);
    }
}

.otp-footer {
    width: 100%;
    margin-top: 20px;
    padding-top: 19px;

    border-top: 1px solid #EDF1F1;
    text-align: center;
}

.otp-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    color: var(--pp-primary-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.otp-back-link:hover {
    color: var(--pp-secondary-dark);
    text-decoration: underline;
}

.back-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.back-arrow i {
    font-size: 14px;
}

.otp-security {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: 16px;

    color: #98A5A9;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

.security-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.security-icon i {
    color: var(--pp-primary);
    font-size: 13px;
}

@media (max-width: 768px) {
    .otp-page {
        padding: 25px 18px;
    }

    .otp-card {
        max-width: 440px;
    }
}

@media (max-width: 576px) {
    .otp-page {
        padding: 20px 14px;
    }

    .otp-card {
        max-width: 430px;
        padding: 31px 20px 25px;
        border-radius: 20px;
    }

    .otp-logo {
        margin-bottom: 21px;
    }

    .otp-logo-image {
        max-width: 165px;
        max-height: 65px;
    }

    .otp-header {
        margin-bottom: 25px;
    }

    .otp-header h1 {
        font-size: 25px;
    }

    .otp-description {
        font-size: 13px;
    }

    .otp-input-container {
        gap: 9px;
        margin-bottom: 23px;
    }

    .otp-input {
        width: 58px;
        height: 62px;
        flex-basis: 58px;
        font-size: 24px;
        line-height: 62px;
        border-radius: 12px;
    }

    .otp-button {
        height: 50px;
        min-height: 50px;
    }
}

@media (max-width: 400px) {
    .otp-page {
        padding: 15px 10px;
    }

    .otp-card {
        padding: 28px 16px 23px;
        border-radius: 18px;
    }

    .otp-logo-image {
        max-width: 145px;
        max-height: 58px;
    }

    .otp-header h1 {
        font-size: 23px;
    }

    .otp-description {
        font-size: 12.5px;
    }

    .otp-input-container {
        gap: 7px;
    }

    .otp-input {
        width: 53px;
        height: 59px;
        flex-basis: 53px;
        font-size: 22px;
        line-height: 59px;
        border-radius: 11px;
    }
}

@media (max-width: 350px) {
    .otp-page {
        padding: 10px 7px;
    }

    .otp-card {
        padding-left: 12px;
        padding-right: 12px;
    }

    .otp-input-container {
        gap: 5px;
    }

    .otp-input {
        width: 49px;
        height: 55px;
        flex-basis: 49px;
        font-size: 20px;
        line-height: 55px;
        border-radius: 10px;
    }

    .otp-button {
        height: 48px;
        min-height: 48px;
        font-size: 13px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .otp-page {
        align-items: flex-start;
        padding-top: 15px;
        padding-bottom: 15px;
        overflow-y: auto;
    }

    .otp-card {
        margin: 0 auto;
    }

    .otp-logo {
        margin-bottom: 14px;
    }

    .otp-logo-image {
        max-height: 48px;
    }

    .otp-header {
        margin-bottom: 16px;
    }

    .otp-input-container {
        margin-bottom: 16px;
    }

    .otp-input {
        height: 52px;
        line-height: 52px;
    }
}

/* =========================================================
   PRIMEPAL PASSWORD RECOVERY / RESET
========================================================= */
.forgot-card,.reset-card{max-width:460px}
.forgot-page,.reset-page{width:100%;display:flex;align-items:center;justify-content:center}
.forgot-alert,.reset-alert{display:flex;align-items:flex-start;gap:10px;margin-bottom:18px;padding:12px 13px;border-radius:12px;font-size:13px;line-height:1.5}
.forgot-alert-success{border:1px solid #bfe5cf;background:#eaf8f0;color:#11683e}
.forgot-alert-error,.reset-alert{border:1px solid #f0c7c7;background:#fff0f0;color:#9d2020}
.reset-alert ul{margin:5px 0 0;padding-left:18px}
.reset-form-group{margin-bottom:20px}
.reset-form-group>label{display:block;margin-bottom:8px;color:#26353b;font-size:13px;font-weight:650}
.reset-input-wrapper{position:relative;width:100%}
.reset-input-wrapper .form-control{width:100%;min-height:50px;height:50px;padding:10px 45px 10px 46px;border:1px solid var(--primary-border,#e1e8e8);border-radius:12px;background:#fbfcfc;color:#17232b;outline:none;box-shadow:none;transition:.2s ease}
.reset-input-wrapper .form-control:focus{border-color:var(--primary,#028e8b);background:#fff;box-shadow:0 0 0 4px rgba(2,142,139,.1)}
.reset-input-wrapper .form-control.is-invalid{border-color:#c62828}
.reset-input-icon{position:absolute;top:50%;left:16px;z-index:2;width:20px;height:20px;display:flex;align-items:center;justify-content:center;transform:translateY(-50%);color:#7b8a90;pointer-events:none}
.reset-password-toggle{position:absolute;top:50%;right:9px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:8px;background:transparent;color:#738188;transform:translateY(-50%);cursor:pointer}
.reset-password-toggle:hover{background:#e8f7f6;color:#006f70}
.reset-error{margin-top:6px;color:#c62828;font-size:12px;line-height:1.4}
.reset-confirm-error{display:none;margin-top:6px;color:#c62828;font-size:12px}.reset-confirm-error.show{display:block}
.password-hint{display:flex;align-items:flex-start;gap:9px;margin:-3px 0 20px;padding:11px 12px;border:1px solid #dce9ff;border-radius:12px;background:#eaf2fc;color:#5c6c75;font-size:12px;line-height:1.5}.password-hint i{color:#0653aa;margin-top:2px}
