.auth-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
}

.login-wrapper {
    width: 100%;
    max-width: 520px;
}

.login-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 28px;
    border: 1px solid rgba(209, 106, 85, 0.16);
    background: linear-gradient(180deg, rgba(33, 20, 18, 0.94) 0%, rgba(23, 14, 13, 0.96) 100%);
    box-shadow: var(--shadow);
}

.login-card::before {
    content: "";
    position: absolute;
    inset: -20% auto auto -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(178, 74, 61, 0.24) 0%, transparent 70%);
    pointer-events: none;
}

.login-brand {
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(178, 74, 61, 0.16);
    color: #ffd9d0;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.login-brand h1 {
    margin: 0 0 10px;
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    line-height: 1.08;
}

.login-brand p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.login-form {
    position: relative;
    z-index: 1;
}

.login-form .form-group + .form-group {
    margin-top: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #f8dfd8;
    font-size: 0.92rem;
    font-weight: 600;
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin: 14px 0 18px;
}

.remember-me {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #f1d6cf;
    cursor: pointer;
    font-weight: 600;
}

.remember-me:hover .check-indicator {
    border-color: rgba(209, 106, 85, 0.52);
    transform: translateY(-1px);
}

.remember-me.custom-check {
    padding: 4px 0;
    user-select: none;
}

.remember-me.custom-check .check-indicator {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
