
/* =============================================
   OSHAS — ACCOUNT RECOVERY
============================================= */

:root {
    --recovery-navy: #062b70;
    --recovery-blue: #075de4;
    --recovery-blue-dark: #064fbe;
    --recovery-text: #091c45;
    --recovery-muted: #74839e;
    --recovery-border: #e0e8f3;
    --recovery-background: #f5f8fd;
}

* {
    box-sizing: border-box;
}

body.recovery-body {
    margin: 0;
    background: var(--recovery-background);
    color: var(--recovery-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
    min-height: 100vh;
}

/* LAYOUT */

.recovery-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 8% 88%,
            rgba(7, 93, 228, 0.055),
            transparent 34%
        ),
        radial-gradient(
            circle at 94% 12%,
            rgba(7, 93, 228, 0.055),
            transparent 35%
        ),
        #f7f9fd;
}

/* HEADER */

.recovery-header {
    width: 100%;
    padding: 27px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.recovery-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

.recovery-brand img {
    width: 145px;
    max-height: 65px;
    object-fit: contain;
}

/* Logo artwork may need a dark-background
   treatment if the source image is white. */

.recovery-brand span {
    border-left: 1px solid #d7dfeb;
    padding-left: 18px;
    font-size: 14px;
    font-weight: 650;
    color: var(--recovery-navy);
    letter-spacing: 0.2px;
}

.recovery-website-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d1def4;
    border-radius: 9px;
    padding: 11px 19px;
    background: #fff;
    color: var(--recovery-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.recovery-website-link:hover {
    border-color: var(--recovery-blue);
    color: var(--recovery-blue-dark);
}

/* MAIN */

.recovery-main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 36px 20px 65px;
}

/* CARD */

.recovery-card {
    width: 100%;
    max-width: 475px;
    background: #fff;
    padding: 45px 43px 38px;
    border: 1px solid #e6ecf5;
    border-radius: 18px;
    box-shadow:
        0 20px 65px rgba(13, 44, 96, 0.045),
        0 4px 18px rgba(13, 44, 96, 0.025);
}

/* ICON */

.recovery-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #eaf2ff;
    color: var(--recovery-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.recovery-icon-success {
    background: #e8f7ef;
    color: #198754;
}

/* TEXT */

.recovery-step {
    color: var(--recovery-blue);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.6px;
    margin-bottom: 11px;
}

.recovery-title {
    color: var(--recovery-text);
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.8px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.recovery-description {
    color: var(--recovery-muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 31px;
}

/* FORM */

.recovery-form {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.recovery-form-group {
    width: 100%;
}

.recovery-label {
    display: block;
    color: #11244b;
    font-size: 13px;
    font-weight: 650;
    margin-bottom: 10px;
}

.recovery-input-wrap {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.recovery-input {
    width: 100%;
    height: 52px;
    border: 1px solid #dce5f1;
    border-radius: 9px;
    background: #fff;
    color: #10254c;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    padding: 0 15px 0 45px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.recovery-input::placeholder {
    color: #a4aec0;
}

.recovery-input:focus {
    border-color: var(--recovery-blue);
    box-shadow: 0 0 0 3px rgba(7, 93, 228, 0.09);
}

.recovery-input.is-invalid {
    border-color: #dc3545;
}

.recovery-input-plain {
    padding-left: 15px;
}

.recovery-input-toggle {
    padding-right: 65px;
}

.recovery-input-icon {
    position: absolute;
    left: 15px;
    color: #8798b5;
    pointer-events: none;
}

.recovery-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 7px;
}

/* PASSWORD TOGGLE */

.recovery-password-toggle {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--recovery-blue);
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    padding: 7px;
}

.recovery-password-toggle:hover {
    color: var(--recovery-blue-dark);
}

.recovery-password-hint {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 14px;
    border-radius: 9px;
    background: #f3f7fe;
    color: #697c9d;
    font-size: 12px;
    line-height: 1.6;
}

.recovery-password-hint svg {
    flex-shrink: 0;
    margin-top: 1px;
}

/* BUTTONS */

.recovery-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 13px 18px;
    background: var(--recovery-blue);
    color: #fff;
    border: 1px solid var(--recovery-blue);
    border-radius: 9px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.recovery-button:hover {
    background: var(--recovery-blue-dark);
    color: #fff;
    border-color: var(--recovery-blue-dark);
    box-shadow: 0 5px 15px rgba(7, 93, 228, 0.14);
}

.recovery-button span {
    font-size: 19px;
    line-height: 1;
}

.recovery-button-outline {
    background: #fff;
    color: var(--recovery-blue);
    border-color: #cdddf5;
}

.recovery-button-outline:hover {
    background: #f1f6ff;
    color: var(--recovery-blue);
    border-color: var(--recovery-blue);
    box-shadow: none;
}

/* BACK LINK */

.recovery-back {
    text-align: center;
    margin-top: 27px;
}

.recovery-back a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #526583;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.recovery-back a:hover {
    color: var(--recovery-blue);
}

.recovery-back a span {
    font-size: 18px;
}

/* SUCCESS STATE */

.recovery-notice {
    background: #f5f8fd;
    border: 1px solid #e3eaf4;
    border-radius: 10px;
    padding: 15px 17px;
    margin-bottom: 23px;
}

.recovery-notice strong {
    display: block;
    color: #17315e;
    font-size: 13px;
    margin-bottom: 5px;
}

.recovery-notice p {
    margin: 0;
    color: #7585a0;
    font-size: 12px;
    line-height: 1.7;
}

/* SUPPORT */

.recovery-help {
    margin-top: 27px;
    text-align: center;
    color: #8591a6;
    font-size: 12px;
}

.recovery-help a {
    color: var(--recovery-blue);
    font-weight: 650;
    text-decoration: none;
    margin-left: 3px;
}

.recovery-help a:hover {
    text-decoration: underline;
}

/* FOOTER */

.recovery-footer {
    width: 100%;
    padding: 25px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #e6ebf4;
}

.recovery-footer p {
    margin: 0;
    color: #94a0b5;
    font-size: 12px;
}

.recovery-footer-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a0b5;
    font-size: 12px;
}

.security-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #23ac73;
}

/* MOBILE */

@media (max-width: 768px) {
    .recovery-header {
        padding: 20px 5%;
    }

    .recovery-brand img {
        width: 110px;
    }

    .recovery-brand span {
        font-size: 12px;
        padding-left: 12px;
    }

    .recovery-website-link {
        padding: 9px 12px;
        font-size: 12px;
    }

    .recovery-main {
        padding: 35px 16px 55px;
    }

    .recovery-card {
        padding: 35px 27px;
        border-radius: 14px;
    }

    .recovery-title {
        font-size: 25px;
    }

    .recovery-footer {
        padding: 21px 5%;
    }
}

@media (max-width: 480px) {
    .recovery-header {
        gap: 10px;
    }

    .recovery-brand span {
        display: none;
    }

    .recovery-brand img {
        width: 95px;
    }

    .recovery-card {
        padding: 30px 22px;
    }

    .recovery-title {
        font-size: 23px;
    }

    .recovery-footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}
