* {
    box-sizing: border-box;
}

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

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

.login-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;
}

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

.login-header {
    padding: 45px 30px 35px;
    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);
}

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

.login-header h1 {
    margin: 0;
    font-size: clamp(2rem, 9vw, 2.65rem);
    font-weight: 900;
}

.login-content {
    padding: 35px 50px 30px;
}

.login-content h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 700;
}

.login-intro {
    margin: 0 0 20px;
    color: #666;
    font-size: .9rem;
    line-height: 1.5;
}

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

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

.login-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-size: 18px;
    transition: border-color .2s, box-shadow .2s;
}

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

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

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

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

.forgot-link {
    margin: 2px 0 18px;
    text-align: right;
    font-size: .9rem;
}

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

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

.login-button,
.google-button {
    width: 100%;
    height: 62px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
}

.login-button {
    border: 0;
    background: linear-gradient(360deg, #448725, #488f27, #4c9729, #4f9f2b, #53a72c, #57af2e, #5bb730, #5ebf32, #62c733, #67cc38);
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
}

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

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

.login-divider {
    margin: 23px 0 14px;
    text-align: center;
    color: #999;
    font-size: .93rem;
}

.google-button {
    border: 1px solid #dadce0;
    background: #fff;
    color: #444;
    text-decoration: none;
}

.google-button:hover,
.google-button:focus {
    border-color: #d33f8d;
    background: #f8f8f8;
    color: #222;
    text-decoration: none;
}

.google-button:disabled {
    cursor: not-allowed;
    opacity: .6;
}

.register-link {
    margin: 28px 0 0;
    text-align: center;
    color: #999;
    font-size: .95rem;
}

.register-link a {
    color: coral;
    font-weight: 700;
}

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

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

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

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