/* ==========================================================================
   Rebootique — connexion et inscription (complète rebootique.css)
   ========================================================================== */

.rb-auth { max-width: 560px; margin: 1rem auto 2rem; }

.encapsSecu {
    background: var(--rb-bg);
    border: 1px solid var(--rb-border);
    border-radius: 1rem;
    box-shadow: var(--rb-shadow);
    overflow: hidden;
}

/* Onglets « Déjà un compte ? / S'inscrire » */
.pseudoMEnuSecu { display: grid; grid-template-columns: 1fr 1fr; }
.leftButton, .rightButton {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: .5rem;
    border: 0;
    font-family: var(--rb-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
}
.leftButton { background: var(--rb-bg); color: var(--rb-text); }
a.leftButton:hover { background: var(--rb-primary); color: var(--rb-on-primary); }
.rightButton { background: var(--rb-primary); color: var(--rb-on-primary); }
a.rightButton:hover { background: var(--rb-primary-hover); color: var(--rb-on-primary); }

.secuCorps { padding: 1.5rem; }
.labelSecu { font-weight: 700; margin-bottom: .35rem; }
.gray { font-style: italic; color: var(--rb-muted); margin-left: .35rem; font-size: .85rem; }

.btnSecu, .btnSecuid {
    display: block;
    width: 100%;
    min-height: 3rem;
    margin-top: .5rem;
    border: 0;
    border-radius: .375rem;
    background: var(--rb-primary);
    color: var(--rb-on-primary);
    font-weight: 700;
}
.btnSecu:hover, .btnSecuid:hover { background: var(--rb-primary-hover); }

.rb-auth-links { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.25rem; }
.btnSecu2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    padding: .4rem .6rem;
    border: 1px solid var(--rb-primary);
    border-radius: .375rem;
    background: transparent;
    color: var(--rb-primary);
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
}
.btnSecu2:hover { background: var(--rb-primary); color: var(--rb-on-primary); }

/* Inscription */
.rb-register-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.rb-register-head h1 { margin: 0; }
fieldset, legend { all: revert; }
.fieldRegistration {
    border: 1px solid var(--rb-border);
    border-radius: .75rem;
    margin: 0 0 1.25rem;
    padding: 1.25rem 1.5rem;
}
.fieldRegistration legend { font-size: .9rem; font-weight: 600; color: var(--rb-muted); padding: 0 .4rem; }
.labelInscription { display: block; }
.rb-auth label, .fieldRegistration label { font-size: .9rem; font-weight: 600; }

@media (max-width: 575.98px) {
    .rb-auth-links { grid-template-columns: 1fr; }
    .fieldRegistration { padding: 1rem; }
}
