/* Bouton Continuer avec X + champs @handle (login / register / profil X) */

.auth-oauth {
    margin-bottom: 0.35rem;
}

.auth-x-button {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.875rem 1.25rem;
    border: 1px solid #1a1a1a;
    background: #000;
    color: #fff !important;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    margin: 0 0 1rem;
    transition: background 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}

.auth-x-button:hover,
.auth-x-button:focus {
    background: #111;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.auth-x-button:active {
    transform: translateY(0);
}

.auth-x-button__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

.auth-oauth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 1.15rem;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auth-oauth-divider::before,
.auth-oauth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

html[data-theme="dark"] .auth-oauth-divider {
    color: #9ca3af;
}

html[data-theme="dark"] .auth-oauth-divider::before,
html[data-theme="dark"] .auth-oauth-divider::after {
    background: #374151;
}

.auth-form .form-hint {
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.35;
}

.input-wrapper {
    position: relative;
}

.input-prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-weight: 700;
    z-index: 1;
    pointer-events: none;
}

.form-input--with-prefix,
.pa-input.form-input--with-prefix {
    padding-left: 2rem !important;
}

.x-profile-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.x-profile-chip {
    flex: 1 1 calc(50% - 8px);
    min-width: 120px;
    cursor: pointer;
}

.x-profile-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.x-profile-chip span {
    display: block;
    text-align: center;
    padding: 0.75rem 0.6rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.x-profile-chip input:checked + span {
    border-color: #e11d48;
    background: rgba(225, 29, 72, 0.08);
    color: #be123c;
}

.x-profile-chip:hover span {
    border-color: #e11d48;
}

.user-handle,
.profil-handle {
    display: block;
    margin: 0.12rem 0 0;
    font-size: 0.78rem;
    font-weight: 500;
    color: #9ca3af;
    letter-spacing: 0.015em;
    line-height: 1.25;
}
