body {
    background:
        radial-gradient(900px 420px at 12% 8%, #fff8e8 0%, #ffe8c4 46%, transparent 72%),
        radial-gradient(760px 380px at 92% 6%, #ffd4cc 0%, #ffb9b1 42%, transparent 72%),
        linear-gradient(180deg, #fff5e5 0%, #ffe4b8 58%, #ffd7a3 100%);
}

.container {
    position: relative;
    z-index: 1;
}

.login-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(121, 40, 27, 0.18);
    background:
        linear-gradient(108deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 248, 233, 0.92) 54%, rgba(255, 202, 193, 0.86) 100%);
}

.login-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 58%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
    pointer-events: none;
}

.login-card-body {
    position: relative;
    padding: 27px 27px 24px;
}

.login-brand-wrap {
    text-align: center;
    margin-bottom: 14px;
}

.login-brand-logo {
    width: min(180px, 100%);
    height: auto;
}

.login-credential-note {
    margin: 0 0 12px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px dashed rgba(143, 38, 29, 0.35);
    background: rgba(255, 255, 255, 0.55);
    color: #7a2d23;
    font-size: 12px;
}

.login-title {
    font-size: 27px;
    line-height: 1.15;
    margin: 0;
    color: #2b3442;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.login-subtitle {
    margin: 8px 0 14px;
    color: #5f6674;
    font-size: 12px;
}

.form-label {
    font-size: 11px;
    font-weight: 600;
    color: #7c2f24;
    margin-bottom: 8px;
}

.login-input-wrap,
.login-password-wrap {
    position: relative;
}

.login-field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 19px;
    height: 19px;
    margin-top: -10px;
    color: #8f2b22;
    pointer-events: none;
}

.login-field-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.login-input {
    border-radius: 13px;
    min-height: 51px;
    border: 1px solid #e2cbc2;
    font-size: 16px;
    color: #253041;
    padding: 10px 43px 10px 42px;
    background: rgba(255, 255, 255, 0.9);
}

.login-input::placeholder {
    color: #9aa3b0;
    font-size: 14px;
}

.login-input:focus {
    border-color: #f19288;
    box-shadow: 0 0 0 0.22rem rgba(238, 75, 54, 0.14);
    background: #fff;
}

.login-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    margin-top: -16px;
    width: 32px;
    height: 32px;
    border-radius: 11px;
    border: 0;
    background: transparent;
    color: #8f2b22;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .16s ease, color .16s ease;
}

.login-password-toggle:hover,
.login-password-toggle:focus {
    background: rgba(222, 74, 52, 0.12);
    color: #7f241b;
    outline: 0;
}

.login-password-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.login-password-toggle [data-eye-close] {
    display: none;
}

.login-password-toggle.is-visible [data-eye-open] {
    display: none;
}

.login-password-toggle.is-visible [data-eye-close] {
    display: block;
}

.form-check {
    margin-top: 2px;
}

.form-check-input {
    width: 16px;
    height: 16px;
    margin-top: .18rem;
    border-color: #c89586;
}

.form-check-input:checked {
    background-color: #8f2b22;
    border-color: #8f2b22;
}

.form-check-label {
    color: #7f2a21;
    font-size: 15px;
    margin-left: 6px;
}

.login-submit-btn {
    margin-top: 4px;
    min-height: 45px;
    border: 0;
    border-radius: 13px;
    font-size: 25px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(180deg, #ad2f24 0%, #8f261d 100%);
    box-shadow: 0 16px 34px rgba(143, 38, 29, 0.34);
}

.login-submit-btn:hover,
.login-submit-btn:focus {
    color: #fff;
    background: linear-gradient(180deg, #9d2a20 0%, #7f2018 100%);
}

.alert {
    border-radius: 12px;
    font-size: 11px;
}

@media (max-width: 991.98px) {
    .login-card-body {
        padding: 22px 19px 19px;
    }

    .login-title {
        font-size: 24px;
    }

    .login-input {
        min-height: 48px;
    }

    .form-check-label {
        font-size: 14px;
    }

    .login-submit-btn {
        font-size: 22px;
    }
}
