* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
}

.reset-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 15px;
    background: #07140d url('/safeGuard/login/assets/images/2001074-fifa.webp') center/cover fixed no-repeat;
}

.reset-card {
    width: min(450px, 100%);
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 0 35px #000;
}

.reset-header {
    padding: 44px 30px 34px;
    text-align: center;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    -webkit-text-stroke: 1px #b5161b;
    text-shadow:
        0 0 5px #ffd21c,
        0 0 12px #ff9f0a,
        0 0 22px rgba(181, 22, 27, .92);
}

.reset-header > i {
    display: block;
    margin-bottom: 8px;
    font-size: 2.5rem;
}

.reset-header h1 {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: clamp(2rem, 9vw, 2.65rem);
    font-weight: 900;
}

.reset-content {
    padding: 34px 50px 30px;
}

.reset-content h2 {
    margin: 0 0 8px;
    font: 700 1.45rem Arial, sans-serif;
    color: #333;
}

.reset-intro {
    margin: 0 0 22px;
    color: #666;
    font-size: .92rem;
    line-height: 1.55;
}

.alert {
    font-size: .88rem;
}

.reset-input-wrap {
    position: relative;
    margin-bottom: 26px;
}

.reset-input {
    display: block;
    width: 100%;
    height: 62px;
    padding: 0 56px 0 65px;
    border: 2px solid transparent;
    border-radius: 3px;
    outline: 0;
    background: #e6e6e6;
    color: #686868;
    font: 18px Arial, sans-serif;
    transition: border-color .2s, box-shadow .2s;
}

.reset-input:focus {
    border-color: #d33f8d;
    box-shadow: 0 0 0 3px rgba(211, 63, 141, .18);
}

.reset-code {
    letter-spacing: 5px;
}

.reset-input-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 22px;
    pointer-events: none;
}

.reset-input:focus + .reset-input-icon {
    color: #d33f8d;
}

.password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 62px;
    border: 0;
    background: transparent;
    color: #666;
    cursor: pointer;
}

.strength {
    margin: 3px 0 20px;
    color: #666;
}

.strength-track {
    height: 7px;
    margin-bottom: 7px;
    overflow: hidden;
    border-radius: 8px;
    background: #e6e6e6;
}

#password-strength {
    display: block;
    width: 0;
    height: 100%;
    background: #dc3545;
    transition: width .2s, background-color .2s;
}

#password-strength.medium {
    background: #ffc107;
}

#password-strength.strong {
    background: #57af2e;
}

.reset-button {
    width: 100%;
    height: 62px;
    margin-top: 9px;
    border: 0;
    border-radius: 3px;
    background: linear-gradient(360deg, #448725, #488f27, #4c9729, #4f9f2b, #53a72c, #57af2e, #5bb730, #5ebf32, #62c733, #67cc38);
    color: #fff;
    font: 700 16px Arial, sans-serif;
    text-transform: uppercase;
    cursor: pointer;
}

.reset-button:hover,
.reset-button:focus {
    filter: brightness(1.06);
    outline: 3px solid rgba(0, 114, 255, .35);
}

.reset-button:disabled {
    cursor: wait;
    opacity: .75;
}

.reset-links {
    margin: 26px 0 0;
    text-align: center;
    font-size: .93rem;
}

.reset-links a {
    color: #d33f8d;
    text-decoration: none;
}

.reset-links a:hover,
.reset-links a:focus {
    color: #a52268;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .reset-card {
        width: min(540px, 100%);
    }
}

@media (max-width: 520px) {
    .reset-header {
        padding: 35px 20px 28px;
    }

    .reset-content {
        padding: 28px 24px 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
