body.auth-page {
    margin: 0;
    min-height: 100vh;
    font-family: "Times New Roman", Times, serif !important;
    background:
        radial-gradient(circle at top left, rgba(255, 230, 197, 0.92), transparent 34%),
        radial-gradient(circle at bottom right, rgba(214, 39, 62, 0.16), transparent 30%),
        linear-gradient(135deg, #f8efe1 0%, #fbe7d4 36%, #f7d5c4 100%);
    color: #3a1d16;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
}

.auth-panel {
    width: min(920px, 100%);
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1fr);
    background: rgba(255, 249, 243, 0.88);
    border: 1px solid rgba(141, 67, 33, 0.14);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(107, 44, 23, 0.18);
    backdrop-filter: blur(10px);
}

.auth-showcase {
    position: relative;
    padding: 34px 28px;
    background:
        linear-gradient(180deg, rgba(127, 26, 36, 0.94) 0%, rgba(175, 63, 41, 0.94) 100%);
    color: #fff8f1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-showcase::before,
.auth-showcase::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-showcase::before {
    width: 190px;
    height: 190px;
    top: -55px;
    right: -55px;
    background: rgba(255, 255, 255, 0.12);
}

.auth-showcase::after {
    width: 140px;
    height: 140px;
    left: -38px;
    bottom: -40px;
    background: rgba(255, 220, 176, 0.16);
}

.auth-brand {
    position: relative;
    z-index: 1;
}

.auth-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 246, 236, 0.88);
}

.auth-brand-mark img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 16px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.auth-showcase h1 {
    margin: 0 0 12px;
    font-size: 31px;
    line-height: 1.08;
    font-weight: 700;
}

.auth-showcase p {
    margin: 0;
    max-width: 320px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 244, 236, 0.9);
}

.auth-points {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.auth-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-point i {
    font-size: 14px;
    margin-top: 2px;
    color: #ffd58c;
}

.auth-point strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 700;
}

.auth-point span {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 247, 239, 0.88);
}

.auth-card {
    padding: 34px 30px 28px;
    background:
        linear-gradient(180deg, rgba(255, 252, 248, 0.96) 0%, rgba(255, 245, 236, 0.92) 100%);
}

.auth-card-head {
    margin-bottom: 18px;
}

.auth-card-head h2 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.1;
    color: #6f1f1f;
    font-weight: 700;
}

.auth-card-head p {
    margin: 0;
    font-size: 13px;
    color: #7d5a48;
}

.auth-alert {
    border-radius: 14px;
    padding: 11px 13px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.5;
    border: 1px solid transparent;
}

.auth-alert.error {
    background: #fde7e8;
    color: #8d1d28;
    border-color: #f5c2c7;
}

.auth-alert.success {
    background: #e7f5eb;
    color: #17653a;
    border-color: #bde3ca;
}

.auth-form-grid {
    display: grid;
    gap: 14px;
}

.auth-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #5c2d22;
    letter-spacing: 0.02em;
}

.auth-field .form-control {
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid #dfc4b1;
    background: rgba(255, 255, 255, 0.96);
    padding: 10px 14px;
    font-size: 13px;
    color: #311814;
    box-shadow: none;
}

.auth-field .form-control::placeholder {
    color: #a18273;
}

.auth-field .form-control:focus {
    border-color: #be5a3c;
    box-shadow: 0 0 0 0.18rem rgba(190, 90, 60, 0.12);
}

.auth-submit {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #7b1725 0%, #d04132 100%);
    color: #fff7f0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(155, 47, 36, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.auth-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 18px 34px rgba(155, 47, 36, 0.28);
}

.auth-switch {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #704d3f;
}

.auth-switch a {
    color: #8c1f25;
    text-decoration: none;
    font-weight: 700;
}

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

.auth-note {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(126, 82, 58, 0.16);
    font-size: 12px;
    line-height: 1.6;
    color: #886450;
    text-align: center;
}

@media (max-width: 860px) {
    .auth-panel {
        grid-template-columns: 1fr;
    }

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

    .auth-showcase p {
        max-width: none;
    }
}

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

    .auth-showcase h1 {
        font-size: 26px;
    }

    .auth-card-head h2 {
        font-size: 22px;
    }
}
