/* Plateforme acteurs ER & EE — Thème auth : fond vert #009230, boutons #ff9000 */

/* Logo dans le bloc formulaire (carte) */
.auth-brand-logo {
  max-height: 56px;
  height: auto;
  width: auto;
  max-width: 220px;
  display: block;
}

/* Arrière-plan vert (remplace le bleu) */
.authentication-background {
  background-color: #009230 !important;
}
.authentication-background::before {
  background-color: #009230 !important;
  background-image: none !important;
  opacity: 1 !important;
}
.authenticationcover-background .authentication .authentication-cover,
.authenticationcover-background .authentication .authentication-cover::before {
  background-color: #009230 !important;
}
.authenticationcover-background .authentication .authentication-cover::before {
  background-image: none !important;
  opacity: 1 !important;
}

/* Boutons primary (connexion, inscription, etc.) */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-check:focus + .btn-primary,
.btn-check:active + .btn-primary,
.btn-check:checked + .btn-primary {
  background-color: #ff9000 !important;
  border-color: #ff9000 !important;
  color: #fff !important;
}

.btn-primary:hover {
  background-color: #e68200 !important;
  border-color: #e68200 !important;
}

/* Liens et icône auth */
.auth-icon svg path,
.text-primary,
a.text-primary {
  fill: #ff9000 !important;
  color: #ff9000 !important;
}

.login-toggle-link,
a.theme-gradient,
.link-primary,
.text-primary,
.card a.text-primary {
  color: #ff9000 !important;
}

/* Focus des champs en orange */
.form-control:focus,
.form-select:focus {
  border-color: rgba(255, 144, 0, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 144, 0, 0.25) !important;
}

.input-group-text {
  border-color: rgba(0, 146, 48, 0.3);
  background-color: rgba(255, 255, 255, 0.95);
}

/* Bords arrondis — bloc formulaire login & register */
.auth-form-card,
.card.auth-form-card {
  border-radius: 1.25rem !important;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.auth-form-card .card-body,
.auth-form-card .auth-form-inner {
  border-radius: 1.25rem;
}
.auth-form-card .card-body {
  overflow: hidden;
}

/* Champs et boutons dans le bloc auth */
.auth-form-card .form-control,
.auth-form-card .form-select,
.auth-form-card .input-group .form-control,
.auth-form-card .input-group .form-select {
  border-radius: 0.5rem;
}
.auth-form-card .input-group .input-group-text:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}
.auth-form-card .input-group .input-group-text + .form-control,
.auth-form-card .input-group .input-group-text + .form-select {
  border-radius: 0 0.5rem 0.5rem 0;
}
.auth-form-card .btn {
  border-radius: 0.5rem;
}
.auth-form-card .alert {
  border-radius: 0.75rem;
}

/* Fallback si .auth-form-card pas ciblé (ancien layout) */
.authentication .card.custom-card {
  border-radius: 1.25rem !important;
  overflow: hidden;
}
.authentication .card.custom-card .card-body {
  border-radius: 1.25rem;
}
.authentication .form-control,
.authentication .form-select,
.authentication .input-group .form-control,
.authentication .input-group .form-select {
  border-radius: 0.5rem;
}
.authentication .input-group .input-group-text:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}
.authentication .input-group .input-group-text + .form-control,
.authentication .input-group .input-group-text + .form-select {
  border-radius: 0 0.5rem 0.5rem 0;
}
.authentication .btn {
  border-radius: 0.5rem;
}
.authentication .alert {
  border-radius: 0.75rem;
}
