/* =============================================================================
   PIBTS - FAMILLES DE CONTENU DE L'ESPACE AUTHENTIFICATION
   =============================================================================
   Cible : ecrans de connexion servis par layouts/auth.blade.php.
   --------------------------------------------------------------------------
   Origine : regles extraites des blocs <style> qui etaient embarques dans les
   vues (3 vues analysees).
   Principes :
     1. UNE famille = UNE definition : corriger ici corrige tous les ecrans ;
     2. les doublons inter-vues ont ete supprimes ;
     3. les variantes divergentees ont ete arbitrees sur le corps majoritaire ;
     4. les litteraux de couleur sont remplaces par les jetons des variables
        du monde concerne, ce qui evite toute regression de teinte ;
     5. l'ordre metier des declarations est conserve ;
     6. les documents autonomes (PDF, e-mails) gardent leurs styles inline.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Famille : Formulaires et import
   ----------------------------------------------------------------------------- */

.btn-auth {
    width: 100%;
    padding: 0.45rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, var(--color-info) 0%, var(--pibts-navy) 100%);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 38px;
    letter-spacing: 0.3px;
}

.btn-auth .spinner {
    display: none;
}

.btn-auth.loading .btn-text {
    display: none;
}

.btn-auth.loading .spinner {
    display: inline-block;
    animation: spin 0.8s linear infinite;
}

.btn-auth::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-auth:active {
    transform: scale(0.97);
}

.btn-auth:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-auth:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 28px rgba(52, 152, 219, 0.3);
}

.btn-auth:hover::before {
    opacity: 1;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.9rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: transparent;
    color: var(--pibts-muted);
    font-weight: 600;
    font-size: 0.7rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 0.15rem;
}

.btn-home i {
    font-size: 0.8rem;
    transition: transform 0.4s ease;
}

.btn-home:active {
    transform: scale(0.95);
}

.btn-home:hover {
    border-color: var(--color-info);
    color: var(--color-info);
    background: rgba(52, 152, 219, 0.04);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.1);
}

.btn-home:hover i {
    transform: translateX(-3px);
}

.form-group {
    margin-bottom: 0.6rem;
}

.form-group .help-text {
    font-size: 0.6rem;
    color: #adb5bd;
    margin-top: 0.15rem;
    display: block;
}

.form-group .input-group {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: #fff;
    position: relative;
}

.form-group .input-group .form-control {
    border: none;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    background: transparent;
    box-shadow: none;
    height: 34px;
    transition: all 0.3s ease;
}

.form-group .input-group .form-control::placeholder {
    color: #ced4da;
    font-size: 0.75rem;
    transition: opacity 0.3s ease;
}

.form-group .input-group .form-control:focus {
    box-shadow: none;
}

.form-group .input-group .form-control:focus::placeholder {
    opacity: 0.5;
}

.form-group .input-group .input-focus-ring {
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s ease;
}

.form-group .input-group .input-group-text {
    background: transparent;
    border: none;
    color: var(--pibts-muted);
    padding: 0.35rem 0 0.35rem 0.7rem;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.form-group .input-group:focus-within {
    border-color: var(--color-info);
    box-shadow: 0 0 0 4px var(--color-info-light);
    transform: scale(1.01);
}

.form-group .input-group:focus-within .input-focus-ring {
    opacity: 1;
    box-shadow: 0 0 0 4px var(--color-info-light);
}

.form-group .input-group:focus-within .input-group-text {
    color: var(--color-info);
}

.form-group label {
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--pibts-ink);
    margin-bottom: 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
}

.form-group label .required {
    color: #dc3545;
}

.input-group .form-control:focus {
    background: #fff;
}

@media (max-width: 576px) {
    .btn-auth {
        padding: 0.4rem;
        font-size: 0.8rem;
        height: 34px;
    }
    .btn-home {
        width: 100%;
        justify-content: center;
    }
}

/* -----------------------------------------------------------------------------
   Famille : Alertes et etats vides
   ----------------------------------------------------------------------------- */

.alert-custom {
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
    border: 1px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    animation: slideInRight 0.4s ease;
}

.alert-custom .icon {
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.alert-custom ul {
    padding-left: 0.8rem;
    margin-bottom: 0;
}

.alert-custom ul li {
    font-size: 0.7rem;
}

.alert-custom.alert-danger {
    background: rgba(232, 21, 0, 0.06);
    border-color: rgba(232, 21, 0, 0.1);
    color: var(--color-danger);
}

.alert-custom.alert-success {
    background: rgba(0, 172, 105, 0.06);
    border-color: rgba(0, 172, 105, 0.1);
    color: var(--color-success);
}

/* -----------------------------------------------------------------------------
   Famille : Hero et sections
   ----------------------------------------------------------------------------- */

.reset-header .subtitle {
    color: var(--pibts-muted);
    font-size: 0.75rem;
    margin-top: 0.15rem;
    margin-bottom: 0;
    opacity: 0.8;
}

/* -----------------------------------------------------------------------------
   Famille : Divers
   ----------------------------------------------------------------------------- */

* {
    box-sizing: border-box;
}

.animate-in {
    animation: fadeInDown 0.5s ease forwards;
    opacity: 0;
}

.animate-in-delay-1 {
    animation-delay: 0.1s;
}

.animate-in-delay-2 {
    animation-delay: 0.2s;
}

.animate-in-delay-3 {
    animation-delay: 0.3s;
}

.animate-in-delay-4 {
    animation-delay: 0.4s;
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .8rem 1rem;
    margin-bottom: 1.15rem;
    border: 1px solid transparent;
    border-radius: var(--pibts-radius);
    font-size: .84rem;
    line-height: 1.45;
}

.auth-alert i {
    margin-top: .14rem;
    flex-shrink: 0;
}

.auth-alert strong {
    font-weight: 700;
}

.auth-alert ul {
    margin: .25rem 0 0;
    padding-left: 1.1rem;
}

.auth-alert-danger {
    background: var(--pibts-danger-soft);
    border-color: #F6CDC8;
    color: #A3211A;
}

.auth-alert-info {
    background: var(--pibts-info-soft);
    border-color: #C9DEFA;
    color: #1B4F9C;
}

.auth-alert-success {
    background: var(--pibts-success-soft);
    border-color: #C4E8D6;
    color: #0F6A46;
}

.auth-alert-warning {
    background: var(--pibts-warning-soft);
    border-color: #F6DCB5;
    color: #91520A;
}

.auth-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 2.75rem;
    color: #fff;
    background-color: var(--pibts-navy);
    background-image: radial-gradient(rgba(255, 255, 255, .085) 1px, transparent 1px), radial-gradient(120% 90% at 100% 0%, rgba(252, 108, 15, .38) 0%, rgba(252, 108, 15, 0) 55%), radial-gradient(95% 80% at 0% 100%, rgba(252, 108, 15, .17) 0%, rgba(252, 108, 15, 0) 60%), linear-gradient(160deg, #17163F 0%, var(--pibts-navy) 55%, #35348F 100%);
    background-size: 22px 22px, auto, auto, auto;
}

.auth-brand__badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .34rem .9rem;
    border-radius: var(--pibts-radius-pill);
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.auth-brand__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .74rem;
    color: rgba(255, 255, 255, .58);
}

.auth-brand__footer i {
    margin-right: .3rem;
}

.auth-brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    overflow: hidden;
    flex-shrink: 0;
}

.auth-brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
}

.auth-brand__name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.auth-brand__name span {
    color: var(--pibts-orange);
}

.auth-brand__points {
    list-style: none;
    margin: 1.9rem 0 0;
    padding: 0;
    display: grid;
    gap: .7rem;
    max-width: 42ch;
}

.auth-brand__points i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: .08rem;
    border-radius: 8px;
    background: rgba(252, 108, 15, .3);
    color: #fff;
    font-size: .68rem;
    flex-shrink: 0;
}

.auth-brand__points li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .85rem;
    color: rgba(255, 255, 255, .8);
}

.auth-brand__points strong {
    color: #fff;
    font-weight: 700;
}

.auth-brand__text {
    margin: 0;
    max-width: 40ch;
    font-size: .95rem;
    color: rgba(255, 255, 255, .78);
}

.auth-brand__title {
    margin: .95rem 0 .5rem;
    font-size: 2.05rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.025em;
    color: #fff;
}

.auth-brand__top {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.auth-card {
    background: var(--pibts-surface);
    border: 1px solid var(--pibts-border);
    border-radius: var(--pibts-radius-xl);
    box-shadow: var(--pibts-shadow-lg);
    padding: 2.3rem 2.25rem 2rem;
}

.auth-card__head {
    margin-bottom: 1.6rem;
}

.auth-card__kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .7rem;
    padding: .32rem .8rem;
    border-radius: 999px;
    background: rgba(41, 40, 116, .08);
    color: var(--pibts-navy);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.auth-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--pibts-border);
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
}

.auth-card__help {
    font-size: .78rem;
    color: var(--pibts-muted);
}

.auth-card__text {
    margin: 0;
    font-size: .875rem;
    color: var(--pibts-muted);
}

.auth-card__title {
    margin: 0 0 .3rem;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--pibts-ink);
}

.auth-footer {
    text-align: center;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.auth-footer a {
    color: var(--color-info);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.auth-footer a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.auth-footer a:hover {
    color: #2980b9;
    transform: translateX(-2px);
}

.auth-footer a:hover i {
    transform: translateX(-3px);
}

.auth-footer:hover {
    opacity: 1;
}

.auth-form__check {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
}

.auth-form__check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--pibts-orange);
    cursor: pointer;
}

.auth-form__check label {
    cursor: pointer;
    color: var(--pibts-text);
}

.auth-form__error {
    display: flex;
    align-items: flex-start;
    gap: .35rem;
    margin-top: .4rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--pibts-danger);
}

.auth-form__group {
    margin-bottom: 1.15rem;
}

.auth-form__hint {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-top: .4rem;
    font-size: .75rem;
    color: var(--pibts-muted);
}

.auth-form__label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .45rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--pibts-ink);
}

.auth-form__label i {
    color: var(--pibts-muted);
    font-size: .75rem;
    margin-right: .35rem;
}

.auth-form__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: .2rem 0 1.3rem;
    font-size: .83rem;
}

.auth-form__register {
    margin: 1.1rem 0 0;
    text-align: center;
    font-size: .83rem;
    color: var(--pibts-muted);
}

.auth-form__required {
    color: var(--pibts-danger);
}

.auth-form__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin: 1rem 0 0;
    font-size: .74rem;
    color: var(--pibts-muted);
}

.auth-form__secure i {
    color: var(--pibts-success);
}

.auth-input-group {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--pibts-border);
    border-radius: var(--pibts-radius);
    background: #FAFBFE;
    overflow: hidden;
    transition: border-color var(--pibts-transition), background var(--pibts-transition), box-shadow var(--pibts-transition);
}

.auth-input-group input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: .82rem .9rem .82rem 0;
    font-family: inherit;
    font-size: .92rem;
    color: var(--pibts-ink);
}

.auth-input-group input::placeholder {
    color: #A9B0C0;
}

.auth-input-group.is-invalid, .auth-input-group.is-invalid:focus-within {
    border-color: var(--pibts-danger);
    box-shadow: none;
}

.auth-input-group:focus-within {
    border-color: var(--pibts-orange);
    background: #fff;
    box-shadow: var(--pibts-shadow-focus);
}

.auth-input-group__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    color: var(--pibts-muted);
    font-size: .9rem;
    flex-shrink: 0;
}

.auth-input-group__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    padding: 0 .95rem;
    color: var(--pibts-muted);
    cursor: pointer;
    font-size: .9rem;
}

.auth-input-group__toggle:hover {
    color: var(--pibts-navy);
}

.auth-link {
    color: var(--pibts-orange);
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    color: var(--pibts-orange-dark);
    text-decoration: underline;
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.auth-panel__inner {
    width: 100%;
    max-width: 520px;
}

.auth-panel__note {
    margin: 1.1rem 0 0;
    text-align: center;
    font-size: .75rem;
    color: var(--pibts-muted);
}

.auth-panel__note i {
    color: var(--pibts-success);
    margin-right: .25rem;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(340px, 46%) 1fr;
    min-height: 100vh;
}

.auth-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1080;
    padding: .6rem 1rem;
    background: var(--pibts-navy);
    color: #fff;
    border-radius: 0 0 8px 0;
    text-decoration: none;
}

.auth-skip:focus {
    left: 0;
}

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .88rem 1rem;
    border: 0;
    border-radius: var(--pibts-radius);
    background: var(--pibts-orange);
    color: #fff;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    transition: background var(--pibts-transition);
}

.auth-submit:disabled {
    background: #F0A06A;
    cursor: not-allowed;
}

.auth-submit:focus-visible {
    outline: 3px solid var(--pibts-shadow-focus);
    outline-offset: 2px;
}

.auth-submit:hover:not(:disabled) {
    background: var(--pibts-orange-dark);
}

.reset-container {
    max-width: 380px;
    margin: 0 auto;
    padding: 0;
}

.reset-header {
    text-align: center;
    margin-bottom: 1rem;
}

.reset-header .logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-info) 0%, var(--pibts-navy) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: floatIcon 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.reset-header .logo-icon:hover {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 8px 32px rgba(52, 152, 219, 0.35);
}

.reset-header .logo-wrapper {
    display: inline-block;
    position: relative;
    margin-bottom: 0.25rem;
}

.reset-header .logo-wrapper .ripple-effect {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(52, 152, 219, 0.15);
    animation: ripple 2s ease-out infinite;
}

.reset-header .role-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-info-light), var(--pibts-blue-light));
    color: var(--color-info);
    padding: 0.1rem 0.7rem;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 600;
    margin-top: 0.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
}

.reset-header .role-badge:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(41, 40, 116, 0.15));
    transform: scale(1.05);
}

.reset-header h2 {
    font-weight: 800;
    color: var(--pibts-ink);
    margin: 0.15rem 0 0;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.shake {
    animation: shake 0.5s ease;
}

/* Socle de jetons de l'espace authentification.
   Ces valeurs proviennent du :root d'origine de layouts/auth.blade.php ; elles
   sont conservees ici telles quelles, car ce monde ne charge ni le design system
   des espaces de tableau de bord ni public/css/pibts-variables.css. */
:root {
    --pibts-orange: #FC6C0F;
    --pibts-orange-dark: #E35F07;
    --pibts-orange-soft: #FFF1E7;
    --pibts-navy: #292874;
    --pibts-navy-dark: #1B1A4D;
    --pibts-navy-soft: #EEEEF8;
    --pibts-ink: #1A1A2E;
    --pibts-text: #3F4254;
    --pibts-muted: #6C757D;
    --pibts-border: #E6E9F2;
    --pibts-surface: #FFFFFF;
    --pibts-body-bg: #F4F6FB;
    --pibts-danger: #DC2626;
    --pibts-danger-soft: #FEF2F2;
    --pibts-success: #059669;
    --pibts-success-soft: #ECFDF5;
    --pibts-warning: #D97706;
    --pibts-warning-soft: #FFFBEB;
    --pibts-info: #2563EB;
    --pibts-info-soft: #EFF6FF;
    --pibts-radius-sm: 6px;
    --pibts-radius: 12px;
    --pibts-radius-lg: 16px;
    --pibts-radius-xl: 20px;
    --pibts-radius-pill: 999px;
    --pibts-shadow: 0 6px 20px rgba(41, 40, 116, .09);
    --pibts-shadow-lg: 0 20px 55px rgba(41, 40, 116, .14);
    --pibts-shadow-focus: 0 0 0 3px rgba(252, 108, 15, .28);
    --pibts-transition: 150ms ease-in-out;

    /* Palette etendue : cette famille l'utilisait sans la declarer, donc les
       declarations concernees etaient ignorees par le navigateur. Valeurs
       reprises de public/css/pibts-variables.css pour rester alignees. */
    --pibts-blue-light: rgba(41, 40, 116, 0.08);
    --pibts-orange-light: rgba(252, 108, 15, 0.08);
    --color-success: #00ac69;
    --color-success-light: rgba(0, 172, 105, 0.08);
    --color-danger: #e81500;
    --color-danger-light: rgba(232, 21, 0, 0.08);
    --color-warning: #f4a100;
    --color-warning-light: rgba(244, 161, 0, 0.08);
    --color-info: #3498db;
    --color-info-light: rgba(52, 152, 219, 0.08);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: .9375rem;
    line-height: 1.55;
    color: var(--pibts-text);
    background: var(--pibts-body-bg);
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 575.98px) {
    .auth-brand {
        padding: 1.2rem 1rem;
    }
    .auth-brand__title {
        font-size: 1.2rem;
    }
    .auth-card {
        padding: 1.45rem 1.1rem 1.25rem;
    }
    .auth-panel {
        padding: 1.1rem .7rem 1.75rem;
    }
}

@media (max-width: 576px) {
    .reset-container {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    .reset-header .logo-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .reset-header h2 {
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) {
    .auth-brand {
        gap: 1rem;
        padding: 1.6rem 1.25rem 1.5rem;
        border-radius: 0 0 22px 22px;
    }
    .auth-brand__logo {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }
    .auth-brand__name {
        font-size: 1.15rem;
    }
    .auth-brand__points, .auth-brand__footer {
        display: none;
    }
    .auth-brand__text {
        font-size: .85rem;
        max-width: none;
    }
    .auth-brand__title {
        font-size: 1.35rem;
        margin: .7rem 0 .3rem;
    }
    .auth-card {
        padding: 1.7rem 1.25rem 1.45rem;
        border-radius: var(--pibts-radius-lg);
    }
    .auth-card__title {
        font-size: 1.15rem;
    }
    .auth-panel {
        align-items: flex-start;
        padding: 1.4rem .9rem 2rem;
    }
    .auth-shell {
        display: block;
    }
}

/* -----------------------------------------------------------------------------
   Famille : Animations et at-rules
   ----------------------------------------------------------------------------- */

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(-15px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
