@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
    --navy: #12355b;
    --navy-dark: #0b2744;
    --navy-deep: #081d33;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-light: #eff6ff;
    --orange: #f59e0b;
    --orange-dark: #d97706;
    --orange-light: #fff7e6;
    --white: #ffffff;
    --page: #f3f6fa;
    --text: #1e293b;
    --muted: #64748b;
    --border: #d9e1ea;
    --success: #15803d;
    --success-bg: #ecfdf3;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --shadow: 0 10px 30px rgba(18, 53, 91, 0.10);
    --radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--page);
    color: var(--text);
    min-height: 100vh;
}

body.modal-open {
    overflow: hidden;
}

button,
input {
    font-family: inherit;
}

button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
}

.portal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-header {
    height: 68px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.header-inner {
    width: min(1120px, calc(100% - 32px));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(18, 53, 91, 0.18);
}

.brand-info h1 {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 0.2px;
}

.brand-info h1 span {
    color: var(--blue);
}

.brand-info p {
    margin-top: 3px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.1px;
    color: var(--muted);
}

.help-info {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.help-info i {
    color: var(--blue);
    font-size: 14px;
}

.portal-strip {
    height: 34px;
    background: var(--navy);
    color: var(--white);
}

.strip-inner {
    width: min(1120px, calc(100% - 32px));
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 500;
}

.strip-inner i {
    font-size: 10px;
}

.strip-arrow {
    opacity: 0.55;
}

.strip-inner span:last-child {
    font-weight: 700;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 16px;
}

.login-box {
    width: min(780px, 100%);
    min-height: 425px;
    display: grid;
    grid-template-columns: 43% 57%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.login-info {
    position: relative;
    padding: 32px 28px;
    background: linear-gradient(
            145deg,
            var(--navy),
            #174b7a
    );
    color: var(--white);
    overflow: hidden;
}

.login-info::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -80px;
    bottom: -85px;
    border-radius: 50%;
    border: 25px solid rgba(255, 255, 255, 0.05);
}

.login-info::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: 20px;
    top: -45px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.10);
}

.info-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.info-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--orange);
    font-size: 18px;
}

.info-heading span {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.7;
}

.info-heading h2 {
    margin-top: 3px;
    font-family: "Manrope", sans-serif;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 800;
}

.info-line {
    width: 42px;
    height: 3px;
    margin: 19px 0;
    border-radius: 5px;
    background: var(--orange);
}

.info-description {
    position: relative;
    z-index: 2;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.service-list {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    position: relative;
    z-index: 2;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.90);
}

.service-item i {
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.18);
    color: var(--orange);
    font-size: 8px;
}

.info-notice {
    margin-top: 25px;
    padding: 11px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    position: relative;
    z-index: 2;
}

.info-notice > i {
    color: var(--orange);
    font-size: 14px;
    margin-top: 2px;
}

.info-notice strong {
    display: block;
    font-size: 10px;
    color: var(--orange);
}

.info-notice p {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.68);
}

.login-form-area {
    padding: 32px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-title {
    margin-bottom: 20px;
}

.form-title h2 {
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
}

.form-title p {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
}

.server-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 10px;
    margin-bottom: 14px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.4;
}

.server-message.error {
    color: var(--danger);
    background: var(--danger-bg);
    border: 1px solid #fecaca;
}

.server-message.success {
    color: var(--success);
    background: var(--success-bg);
    border: 1px solid #bbf7d0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
}

.input-group {
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group:focus-within {
    border-color: var(--border);
    box-shadow: none;
    outline: none;
}

.input-group > i {
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 12px;
}

.input-group input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none !important;
    background: transparent;
    color: var(--text);
    font-size: 12px;
    padding: 0 10px 0 0;
    box-shadow: none !important;
}

.input-group input:focus {
    border: none;
    outline: none !important;
    box-shadow: none !important;
}

.input-group input:focus-visible {
    border: none;
    outline: none !important;
    box-shadow: none !important;
}

.input-group input::placeholder {
    color: #a0acb9;
}

.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus,
.input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--white) inset !important;
    -webkit-text-fill-color: var(--text) !important;
    transition: background-color 9999s ease-in-out 0s;
}

.password-button {
    width: 38px;
    height: 100%;
    flex-shrink: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.2s ease;
}

.password-button:hover {
    color: var(--blue);
}

.password-button:focus,
.password-button:focus-visible {
    outline: none;
    box-shadow: none;
}

.captcha-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.captcha-display {
    height: 40px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px dashed #b8c5d4;
    background:
            repeating-linear-gradient(
                    -45deg,
                    #f7f9fc,
                    #f7f9fc 5px,
                    #eef2f7 5px,
                    #eef2f7 10px
            );
    color: var(--navy);
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 4px;
    user-select: none;
}

.captcha-refresh {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--blue);
    cursor: pointer;
    transition: 0.2s ease;
}

.captcha-refresh:hover {
    background: var(--blue-light);
    border-color: #bfdbfe;
}

.captcha-refresh:focus,
.captcha-refresh:focus-visible {
    outline: none;
    box-shadow: none;
}

.captcha-info {
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    color: var(--muted);
}

.captcha-info i {
    color: var(--blue);
    font-size: 9px;
}

.login-button {
    width: 100%;
    height: 42px;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: none;
    outline: none;
    border-radius: 6px;
    background: var(--blue);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.18);
    transition: 0.2s ease;
}

.login-button:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(37, 99, 235, 0.22);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:focus,
.login-button:focus-visible {
    outline: none;
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.18);
}

.login-button:disabled {
    cursor: not-allowed;
    opacity: 0.75;
    transform: none;
}

.login-button.loading i {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.login-message {
    min-height: 16px;
    margin-top: 5px;
    font-size: 10px;
    text-align: center;
}

.secure-note {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 9px;
    color: var(--muted);
}

.secure-note i {
    color: var(--success);
    font-size: 10px;
}

.otp-section {
    display: block;
}

.otp-success-box {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px;
    margin-bottom: 17px;
    border-radius: 7px;
    background: var(--success-bg);
    border: 1px solid #bbf7d0;
}

.otp-success-box > i {
    color: var(--success);
    font-size: 14px;
    margin-top: 2px;
}

.otp-success-box strong {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--success);
}

.otp-success-box span {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.45;
    color: #4b705b;
}

.otp-success-box span strong {
    display: inline;
    color: var(--success);
    font-size: 9px;
}

.otp-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    min-height: 20px;
    text-align: center;
    font-size: 9px;
    line-height: 1.4;
    color: var(--muted);
}

.back-login-button {
    width: 100%;
    height: 37px;
    margin-top: 9px;
    border: 1px solid var(--border);
    outline: none;
    border-radius: 6px;
    background: var(--white);
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.back-login-button:hover {
    background: var(--blue-light);
    border-color: #bfdbfe;
    color: var(--blue);
}

.back-login-button:focus,
.back-login-button:focus-visible {
    outline: none;
    box-shadow: none;
}

.back-login-button i {
    margin-right: 5px;
}

.portal-footer {
    min-height: 42px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: var(--white);
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 9px;
}

.portal-footer div:last-child {
    display: flex;
    align-items: center;
    gap: 7px;
}


/* =========================================================
   FORGOT PASSWORD
   ========================================================= */

.forgot-password-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.forgot-password-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.forgot-password-link i {
    font-size: 9px;
}

.forgot-password-link:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

.forgot-password-link:focus,
.forgot-password-link:focus-visible {
    outline: none;
    box-shadow: none;
}


/* =========================================================
   FORGOT PASSWORD MODAL
   ========================================================= */

.forgot-password-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.forgot-password-modal.show {
    display: flex;
}

.forgot-password-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 29, 51, 0.60);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.forgot-password-dialog {
    position: relative;
    z-index: 2;
    width: min(430px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 22px 55px rgba(8, 29, 51, 0.28);
    padding: 23px 24px 18px;
    animation: forgotPasswordOpen 0.22s ease-out;
}

.forgot-password-dialog::-webkit-scrollbar {
    width: 5px;
}

.forgot-password-dialog::-webkit-scrollbar-track {
    background: transparent;
}

.forgot-password-dialog::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.forgot-password-dialog::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@keyframes forgotPasswordOpen {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.forgot-password-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.forgot-password-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.forgot-password-icon {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--blue-light);
    border: 1px solid #bfdbfe;
    color: var(--blue);
    font-size: 15px;
}

.forgot-password-title span {
    display: block;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--muted);
}

.forgot-password-title h2 {
    margin-top: 2px;
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--navy);
}

.forgot-password-close {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    outline: none;
    border-radius: 6px;
    background: var(--white);
    color: var(--muted);
    cursor: pointer;
    transition: 0.2s ease;
}

.forgot-password-close:hover {
    background: var(--danger-bg);
    border-color: #fecaca;
    color: var(--danger);
}

.forgot-password-close:focus,
.forgot-password-close:focus-visible {
    outline: none;
    box-shadow: none;
}

.forgot-password-line {
    width: 40px;
    height: 3px;
    margin: 16px 0 13px;
    border-radius: 5px;
    background: var(--orange);
}

.forgot-password-description {
    margin-bottom: 18px;
    font-size: 10px;
    line-height: 1.55;
    color: var(--muted);
}

.modal-input-group {
    height: 40px;
}

.modal-input-group:focus-within {
    border-color: var(--border);
    box-shadow: none;
}

.modal-input-group input {
    border: none;
    outline: none !important;
    box-shadow: none !important;
}

.modal-input-group input:focus,
.modal-input-group input:focus-visible {
    border: none;
    outline: none !important;
    box-shadow: none !important;
}

.modal-password-button {
    width: 38px;
    height: 100%;
    flex-shrink: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.2s ease;
}

.modal-password-button:hover {
    color: var(--blue);
}

.modal-password-button:focus,
.modal-password-button:focus-visible {
    outline: none;
    box-shadow: none;
}

.forgot-password-message {
    display: none;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 10px;
    margin-bottom: 14px;
    border-radius: 6px;
    font-size: 10px;
    line-height: 1.45;
}

.forgot-password-message.show {
    display: flex;
}

.forgot-password-message.error-message {
    color: var(--danger);
    background: var(--danger-bg);
    border: 1px solid #fecaca;
}

.forgot-password-message.success-message {
    color: var(--success);
    background: var(--success-bg);
    border: 1px solid #bbf7d0;
}

.forgot-password-message i {
    margin-top: 1px;
}

.forgot-password-actions {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 9px;
    margin-top: 4px;
}

.forgot-cancel-button,
.forgot-change-button {
    height: 40px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.forgot-cancel-button {
    border: 1px solid var(--border);
    outline: none;
    background: var(--white);
    color: var(--muted);
}

.forgot-cancel-button:hover {
    background: var(--blue-light);
    border-color: #bfdbfe;
    color: var(--blue);
}

.forgot-cancel-button:focus,
.forgot-cancel-button:focus-visible {
    outline: none;
    box-shadow: none;
}

.forgot-change-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    outline: none;
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.18);
}

.forgot-change-button:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(37, 99, 235, 0.22);
}

.forgot-change-button:focus,
.forgot-change-button:focus-visible {
    outline: none;
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.18);
}

.forgot-change-button:disabled {
    cursor: not-allowed;
    opacity: 0.75;
    transform: none;
}

.forgot-change-button.loading i {
    animation: spin 0.8s linear infinite;
}

.forgot-password-security {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: 8px;
    line-height: 1.4;
    color: var(--muted);
}

.forgot-password-security i {
    color: var(--success);
    font-size: 9px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 760px) {

    .main-content {
        padding: 25px 14px;
    }

    .login-box {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .login-info {
        padding: 26px 24px;
    }

    .login-form-area {
        padding: 28px 26px;
    }

    .service-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .info-notice {
        margin-top: 20px;
    }
}


@media (max-width: 520px) {

    .portal-header {
        height: auto;
        min-height: 62px;
        padding: 9px 0;
    }

    .header-inner {
        width: calc(100% - 24px);
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .brand-info h1 {
        font-size: 15px;
    }

    .brand-info p {
        font-size: 7px;
        letter-spacing: 0.8px;
    }

    .help-info {
        display: none;
    }

    .portal-strip {
        height: 32px;
    }

    .strip-inner {
        width: calc(100% - 24px);
        font-size: 10px;
    }

    .main-content {
        padding: 15px 10px;
        align-items: flex-start;
    }

    .login-box {
        width: 100%;
        border-radius: 9px;
    }

    .login-info {
        padding: 22px 18px;
    }

    .info-heading {
        gap: 10px;
    }

    .info-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .info-heading span {
        font-size: 8px;
    }

    .info-heading h2 {
        font-size: 20px;
    }

    .info-line {
        margin: 14px 0;
    }

    .info-description {
        font-size: 11px;
        line-height: 1.6;
    }

    .service-list {
        margin-top: 17px;
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .service-item {
        font-size: 10px;
    }

    .info-notice {
        margin-top: 17px;
        padding: 9px;
    }

    .info-notice p {
        font-size: 9px;
    }

    .login-form-area {
        padding: 23px 18px 20px;
    }

    .form-title {
        margin-bottom: 17px;
    }

    .form-title h2 {
        font-size: 20px;
    }

    .form-title p {
        font-size: 10px;
    }

    .form-group {
        margin-bottom: 13px;
    }

    .form-group label {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .input-group {
        height: 42px;
    }

    .input-group input {
        font-size: 12px;
    }

    .login-button {
        height: 43px;
        font-size: 10px;
    }

    .otp-success-box {
        padding: 10px;
    }

    .otp-actions {
        font-size: 8px;
    }

    .back-login-button {
        height: 36px;
        font-size: 9px;
    }

    .secure-note {
        margin-top: 13px;
        font-size: 8px;
    }

    .portal-footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 4px;
        padding: 9px 12px;
        font-size: 8px;
    }


    /* FORGOT PASSWORD MOBILE */

    .forgot-password-modal {
        padding: 12px;
    }

    .forgot-password-dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 19px 17px 15px;
        border-radius: 9px;
    }

    .forgot-password-title {
        gap: 9px;
    }

    .forgot-password-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .forgot-password-title span {
        font-size: 7px;
    }

    .forgot-password-title h2 {
        font-size: 17px;
    }

    .forgot-password-description {
        font-size: 9px;
        margin-bottom: 15px;
    }

    .forgot-password-actions {
        grid-template-columns: 90px 1fr;
    }

    .forgot-cancel-button,
    .forgot-change-button {
        height: 39px;
        font-size: 9px;
    }

    .forgot-password-security {
        font-size: 7.5px;
    }
}


@media (max-width: 360px) {

    .header-inner {
        width: calc(100% - 18px);
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .brand-info h1 {
        font-size: 14px;
    }

    .brand-info p {
        font-size: 6.5px;
    }

    .strip-inner {
        width: calc(100% - 18px);
    }

    .main-content {
        padding: 10px 7px;
    }

    .login-info {
        padding: 19px 15px;
    }

    .login-form-area {
        padding: 20px 15px 18px;
    }

    .info-heading h2 {
        font-size: 18px;
    }

    .captcha-display {
        font-size: 15px;
        letter-spacing: 3px;
    }

    .otp-success-box span {
        font-size: 8px;
    }


    /* FORGOT PASSWORD SMALL SCREEN */

    .forgot-password-dialog {
        padding: 17px 14px 14px;
    }

    .forgot-password-actions {
        grid-template-columns: 1fr;
    }

    .forgot-cancel-button,
    .forgot-change-button {
        width: 100%;
    }
}


/* =========================================================
   GLOBAL FOCUS RESET
   ========================================================= */

*:focus {
    outline: none !important;
}

*:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

input,
input:focus,
input:focus-visible,
textarea,
textarea:focus,
textarea:focus-visible,
select,
select:focus,
select:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.input-group,
.input-group:focus,
.input-group:focus-within,
.input-group:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

button,
button:focus,
button:focus-visible {
    outline: none !important;
}