
.auth-page {
    max-width: 1400px;
    min-height: 530px;
    margin: 0 auto;
    padding: 55px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 38px 40px;
    background: #fff;
    border: 1px solid #e3e8ed;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}

.auth-card h1 {
    margin: 0 0 12px;
    color: #1f5f99;
    font-size: 28px;
}

.auth-description {
    margin-bottom: 28px;
    color: #788794;
    font-size: 14px;
    line-height: 1.6;
}

.auth-field {
    margin-bottom: 19px;
}

.auth-field label {
    display: block;
    margin-bottom: 7px;
    color: #344b60;
    font-size: 14px;
    font-weight: 600;
}

.auth-field input {
    width: 100%;
    height: 43px;
    padding: 0 13px;
    border: 1px solid #d5dfe7;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.auth-field input:focus {
    border-color: #1f5f99;
    box-shadow: 0 0 0 2px rgba(31,95,153,.1);
}

.auth-submit {
    width: 100%;
    margin-top: 8px;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.auth-bottom {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #edf0f3;
    text-align: center;
    color: #71808d;
    font-size: 14px;
}

.auth-bottom a {
    color: #1f5f99;
    font-weight: 700;
    text-decoration: none;
}

.auth-bottom a:hover {
    text-decoration: underline;
}

.auth-error {
    margin-bottom: 20px;
    padding: 12px 15px;
    background: #fff0ef;
    border: 1px solid #f1d0cc;
    border-radius: 5px;
    color: #a83d32;
    font-size: 13px;
}

.auth-field-error {
    margin-top: 6px;
    color: #b33e35;
    font-size: 12px;
}

.auth-message {
    text-align: center;
    line-height: 1.7;
}

.auth-message h1 {
    margin-bottom: 20px;
}

.cabinet-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.cabinet-header-actions span {
    color: #71808d;
    font-size: 14px;
}

.auth-message-icon {
    margin-bottom: 15px;
    color: #1f5f99;
    font-size: 42px;
}

.auth-message strong {
    color: #1f5f99;
    overflow-wrap: anywhere;
}

.auth-muted {
    margin-top: 20px;
    color: #8a969f;
    font-size: 13px;
}

@media (max-width: 500px) {
    .auth-page {
        padding: 25px 12px;
    }

    .auth-card {
        padding: 28px 22px;
    }

    .auth-card h1 {
        font-size: 24px;
    }
}
