/* Styles pour page authentification smartcard */

/* Animation rotation (loading) */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotating {
    animation: rotate 2s linear infinite;
    display: inline-block;
}

/* Centrage texte */
.text-center {
    text-align: center;
}

.text-muted {
    color: #666;
}

/* Card élévation */
.fr-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Bouton principal */
#btnAuthenticate {
    min-width: 300px;
}

/* Alerts */
.fr-alert {
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    #btnAuthenticate {
        min-width: 100%;
    }
}

/* ==========================================================================
   Icônes DSFR personnalisées
   Icônes absentes de DSFR v1.14.0, ajoutées selon la nomenclature officielle :
   https://www.systeme-de-design.gouv.fr/version-courante/fr/fondamentaux/icone
   ========================================================================== */

/* fr-icon-pass-expired-line — carte/badge expiré (ajouté en DSFR > v1.14.0) */
.fr-icon-pass-expired-line::before,
.fr-icon-pass-expired-line::after {
  -webkit-mask-image: url("../img/pass-expired-line.svg");
  mask-image: url("../img/pass-expired-line.svg");
}
@media screen and (min-width: 0\0) and (min-resolution: 72dpi) {
  .fr-icon-pass-expired-line::before,
  .fr-icon-pass-expired-line::after {
    background-image: url("../img/pass-expired-line.svg");
  }
}
