body.login-page {
    background: #eef3fa;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #18233a;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.login-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border: 1px solid #dbe4ef;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(26, 43, 72, 0.08);
    padding: 34px 32px 28px;
}

.login-logo {
    text-align: center;
    margin-bottom: 24px;
}

.login-logo img {
    max-width: 180px;
    width: 48%;
    min-width: 128px;
    height: auto;
}

.login-alert {
    border-radius: 12px;
    margin-bottom: 18px;
}

.login-form-group {
    margin-bottom: 22px;
}

.login-form-group label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #19243d;
}

.login-form-control {
    width: 100%;
    height: 52px;
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
    outline: none;
    background: #fff;
}

.login-form-control:focus {
    border-color: #2f6dde;
    box-shadow: 0 0 0 3px rgba(47, 109, 222, 0.12);
}

.login-submit {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    background: #3e7fbe;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.login-submit:hover {
    background: #2f6fae;
}

.login-actions {
    margin-top: 14px;
    text-align: right;
}

.login-actions a {
    color: #2f6dde;
    text-decoration: none;
    font-size: 16px;
}

.login-captcha {
    margin-bottom: 22px;
}

.login-captcha-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.login-captcha-image {
    width: 228px;
    max-width: calc(100% - 74px);
    height: 64px;
    border: 1px solid #ccd7e5;
    border-radius: 14px;
    background: #f8fbff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-captcha-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-captcha-refresh {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    border: 1px solid #cfd8e3;
    background: #fff;
    color: #1f2d49;
    font-size: 28px;
    line-height: 1;
}

.login-validation {
    color: #c0392b;
    font-size: 14px;
    margin-top: 6px;
}

.validation-summary-errors ul,
.validation-summary-valid ul {
    margin: 0;
    padding-left: 18px;
}

.validation-summary-valid {
    display: none;
}

@media (max-width: 640px) {
    .login-card {
        max-width: 100%;
        padding: 24px 20px 22px;
        border-radius: 20px;
    }

    .login-logo img {
        width: 46%;
        min-width: 118px;
    }

    .login-captcha-row {
        gap: 10px;
    }

    .login-captcha-image {
        width: auto;
        flex: 1 1 auto;
        max-width: none;
    }

    .login-captcha-refresh {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }
}


.login-toast {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    min-width: 320px;
    max-width: calc(100vw - 32px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(26, 43, 72, 0.12);
    border: 1px solid transparent;
    font-size: 16px;
}

.login-toast__icon {
    font-size: 26px;
    line-height: 1;
}

.login-toast__text {
    flex: 1 1 auto;
}

.login-toast--error {
    background: #fdeeee;
    border-color: #f0c8c8;
    color: #b44638;
}

.login-toast--success {
    background: #edf8f1;
    border-color: #cfe8d8;
    color: #287548;
}

.login-toast--warning {
    background: #fff7e7;
    border-color: #f0dcaa;
    color: #9a6a00;
}

@media (max-width: 640px) {
    .login-toast {
        top: 12px;
        min-width: 0;
        width: calc(100vw - 24px);
        font-size: 15px;
        padding: 12px 14px;
    }
}
