/* ChatDev — Pages login & register (style néobrutaliste) */

.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    background: var(--page-bg);
}

.auth-card {
    width: 100%;
    max-width: 380px;
    padding: 28px 28px 24px;
    background: var(--surface-soft);
    border: 2px solid var(--main-color);
    border-radius: 5px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}

.auth-title {
    margin: 0;
    color: var(--font-color);
    font-weight: 900;
    font-size: 26px;
    letter-spacing: -0.5px;
}

.auth-sub {
    margin: -8px 0 0;
    color: var(--font-color-sub);
    font-weight: 600;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}

.auth-form .input {
    width: 100%;
    max-width: none;
}

.auth-form .btn-primary {
    margin-top: 8px;
    width: 100%;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--font-color-sub);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--main-color);
}

.auth-social {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.auth-foot {
    text-align: center;
    margin: 4px 0 0;
    color: var(--font-color);
    font-size: 14px;
    font-weight: 600;
}
.auth-foot a {
    color: var(--input-focus);
    font-weight: 700;
}
