.login-bg {
    --login-bg-image: url('../images/background.jpg');
    min-height: 100vh;
    margin: 0;
    background-color: #13201f;
    background-image:
        linear-gradient(115deg, rgba(10, 30, 29, 0.9), rgba(10, 30, 29, 0.46)),
        var(--login-bg-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow-x: hidden;
}

.login-shell {
    box-sizing: border-box;
    display: grid;
    min-height: 100vh;
    padding: 40px 20px;
    place-items: center;
}

.login-panel {
    box-sizing: border-box;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(3, 20, 19, 0.28);
}

.login-header {
    margin-bottom: 32px;
}

.login-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #0f8f82;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.login-header h1 {
    margin: 0;
    color: #182524;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
}

.login-header p {
    margin: 8px 0 0;
    color: #71807f;
    font-size: 14px;
    line-height: 1.5;
}

.login-field {
    margin-bottom: 20px;
}

.login-field label {
    display: block;
    margin-bottom: 8px;
    color: #344543;
    font-size: 14px;
    font-weight: 500;
}

.login-field input {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #d8e1df;
    border-radius: 6px;
    background: #f8fbfa;
    color: #1e2c2b;
    font-size: 15px;
    line-height: 48px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.login-field input::placeholder {
    color: #a2aeac;
}

.login-field input:hover {
    border-color: #b8cac7;
}

.login-field input:focus {
    border-color: #0f8f82;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 143, 130, 0.12);
}

.login-message {
    min-height: 20px;
    margin: -4px 0 12px;
    color: #c93c32;
    font-size: 13px;
    line-height: 20px;
}

.login-submit {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 6px;
    background: #0f8f82;
    box-shadow: 0 10px 24px rgba(15, 143, 130, 0.22);
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    line-height: 50px;
    outline: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.login-submit:hover {
    background: #0b7d72;
    box-shadow: 0 12px 28px rgba(15, 143, 130, 0.3);
}

.login-submit:active {
    transform: translateY(1px);
}

.login-submit:focus-visible {
    box-shadow: 0 0 0 4px rgba(15, 143, 130, 0.2), 0 12px 28px rgba(15, 143, 130, 0.3);
}

.login-submit:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    box-shadow: none;
}

@media (max-width: 520px) {
    .login-shell {
        padding: 24px 16px;
    }

    .login-panel {
        padding: 32px 24px;
    }

    .login-header {
        margin-bottom: 28px;
    }

    .login-header h1 {
        font-size: 24px;
    }
}
