body.auth-page:not(.room-page) {
    background: #eef5f1;
    padding-bottom: 0 !important;
}

.auth-shell {
    max-width: 420px;
    min-height: calc(100vh - 48px);
    margin: -24px auto 0;
    padding: 36px 14px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.auth-page .container {
    margin-top: 0 !important;
}

.auth-hero {
    margin-bottom: 18px;
    padding: 28px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #198754, #146c94);
    color: #fff;
    text-align: center;
    box-shadow: 0 14px 30px rgba(15, 92, 69, 0.2);
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.auth-logo i {
    font-size: 28px;
}

.auth-hero h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.auth-hero p {
    margin: 6px 0 0;
    font-size: 14px;
    opacity: 0.84;
}

.auth-card {
    padding: 22px 18px 18px;
    border: 1px solid rgba(33, 37, 41, 0.06);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(39, 62, 54, 0.1);
}

.auth-title {
    margin-bottom: 18px;
}

.auth-title h2 {
    margin: 0;
    color: #1f2d28;
    font-size: 22px;
    font-weight: 800;
}

.auth-title p {
    margin: 5px 0 0;
    color: #718079;
    font-size: 13px;
}

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

.auth-label {
    display: block;
    margin-bottom: 8px;
    color: #1f2d28;
    font-size: 14px;
    font-weight: 700;
}

.auth-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #dde9e3;
    border-radius: 12px;
    background: #f8fbf9;
}

.auth-field:focus-within {
    border-color: rgba(25, 135, 84, 0.5);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
}

.auth-field i {
    width: 18px;
    color: #198754;
    text-align: center;
}

.auth-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1f2d28;
    font-size: 15px;
}

.auth-help {
    margin-top: 7px;
    color: #718079;
    font-size: 12px;
}

.auth-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: #198754;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin-top: 14px;
}

.auth-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #146c94;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.auth-link.muted {
    color: #718079;
}

.auth-footer-note {
    margin-top: 14px;
    color: #8a9891;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 420px) {
    .auth-shell {
        justify-content: flex-start;
        padding-top: 28px;
    }
}
