@charset "UTF-8";
.bg-dark-gs {
  background: #1F2D3D !important;
}

.btn-warning-gs {
  background-color: #F27E2E !important;
  border-color: #F27E2E !important;
  color: #fff !important;
}

.dropdown-item:hover {
  background: #f1f5ff;
  color: #1F2D3D !important;
}

.dropdown-item:hover {
  background: #f1f5ff !important;
  color: #1F2D3D !important;
}

.btn-success-custom {
  background: linear-gradient(135deg, #28a745, #198754);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.btn-success-custom:hover {
  background: linear-gradient(135deg, #218838, #28a745);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary-custom {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #0a58ca, #0d6efd);
  transform: translateY(-1px);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);
}

.bg-dark-gs {
  background: #1F2D3D !important;
}

.btn-warning-gs {
  background-color: #F27E2E !important;
  border-color: #F27E2E !important;
  color: #fff !important;
}

.dropdown-item:hover {
  background: #f1f5ff;
  color: #1F2D3D !important;
}

.dropdown-item:hover {
  background: #f1f5ff !important;
  color: #1F2D3D !important;
}

.btn-success-custom {
  background: linear-gradient(135deg, #28a745, #198754);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.btn-success-custom:hover {
  background: linear-gradient(135deg, #218838, #28a745);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary-custom {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #0a58ca, #0d6efd);
  transform: translateY(-1px);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);
}

.form-control:focus {
  border-color: green !important;
  outline: 0;
  box-shadow: none !important;
}

.hover-card {
  transition: all 0.2s ease-in-out;
  cursor: default;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.hover-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.wizard-steps {
  position: relative;
}

.step {
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #e0e0e0;
  margin: 0 auto;
  line-height: 35px;
  font-weight: bold;
  color: #555;
  transition: all 0.3s;
}

.step-circle.completed {
  background-color: #198754;
  color: white;
}

.step-circle.active {
  background-color: #0d6efd;
  color: white;
}

.step-label {
  font-size: 0.85rem;
}

.progress-bar-bg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #e0e0e0;
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 3px;
}

.progress-bar-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 6px;
  background-color: #0d6efd;
  transform: translateY(-50%);
  width: 0%;
  z-index: 1;
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* Focus inputs moderne */
#modalScolarite .form-control:focus,
#modalScolarite .form-select:focus {
  border-color: #6610f2;
  box-shadow: 0 0 0 0.25rem rgba(102, 16, 242, 0.25);
}

/* Hover boutons */
#modalScolarite .btn-primary:hover {
  background-color: #6610f2;
  border-color: #6610f2;
}

#modalScolarite .btn-outline-secondary:hover {
  background-color: #f8f9fa;
  border-color: #adb5bd;
}

.bg-warning-gs {
  background-color: #F27E2E !important;
  border-color: #F27E2E !important;
  color: #fff !important;
}

.table-dark-gs {
  background: #1F2D3D !important;
  color: #FFFFFF !important;
}

/* ===== Tableau global - compact ===== */
table {
  font-size: 0.85rem !important;
}

table td {
  padding: 2px 8px !important; /* Tronque le texte trop long avec "..." */
  vertical-align: middle !important;
}

/* Optionnel : bordures plus fines */
table.table-bordered th,
table.table-bordered td {
  border-width: 1px !important;
}

/* Réduire padding des cellules */
table td th { /* moins d'espace vertical et horizontal */
  vertical-align: middle !important; /* aligner verticalement au centre */
}

/* Réduire la taille des badges */
table .badge {
  font-size: 0.8rem !important;
  padding: 0.25em 0.4em !important;
}

/* Boutons d'action plus petits */
table .btn-sm {
  padding: 0.25rem 0.4rem;
  font-size: 0.8rem;
}

.diagonal-cell {
  position: relative;
  width: 140px;
  height: 70px;
  padding: 0 !important;
  background: #f8f9fa;
}

.diagonal-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 140%;
  height: 2px; /* épaisseur de la ligne */
  background: #000; /* couleur de la ligne */
  transform: rotate(135deg);
  transform-origin: left top;
}

.diagonal-cell .top-left {
  position: absolute;
  top: 5px;
  left: 8px;
  font-weight: bold;
}

.diagonal-cell .bottom-right {
  position: absolute;
  bottom: 5px;
  right: 8px;
  font-size: 18px;
  color: white;
}

.role-permission th, td {
  font-size: 13px;
}

tbody tr td {
  font-size: 15px !important;
}

/* ============================================================
   STYLE DES TAGS SELECT2
   ============================================================ */
/* Tags sélectionnés */
.select2-container .select2-selection .select2-selection__choice {
  background-color: #253955 !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
  display: flex !important;
  align-items: center;
  gap: 4px;
}

/* Décalage du texte pour laisser la place à la croix */
.select2-container .select2-selection .select2-selection__choice__display {
  padding-left: 26px !important;
}

/* Icône de suppression d’un tag */
.select2-container .select2-selection .select2-selection__choice__remove {
  top: 3px !important;
  left: 6px !important;
  color: black !important;
  font-weight: bold !important;
}

/* Hover de la croix de suppression */
.select2-selection__choice__remove:hover {
  color: #ffdddd !important;
}

/* ============================================================
   STYLE DU MENU DES OPTIONS
   ============================================================ */
/* Survol d’une option */
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #253955 !important;
  color: #fff !important;
}

/* Option sélectionnée */
.select2-container--default .select2-results__option--selected {
  background-color: #1f2d3d !important;
  color: #fff !important;
}

/* Option standard */
.select2-container--default .select2-results__option {
  padding: 8px 10px;
  transition: background-color 0.15s ease;
}

.select2-container--default .select2-selection--single {
  height: 38px !important;
  border: 1px solid #dee2e6 !important;
  border-radius: inherit !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  margin-top: 3px !important;
}

.text-warning-gs {
  color: #F27E2E !important;
}

.personnel {
  /* =========================================================
  FORMULAIRE PERSONNEL – STYLES
  ========================================================= */
  /* --- Inputs & selects : animation douce --- */
  /* --- Astérisque rouge pour champs requis (injecté via JS) --- */
  /* --- Champ invalide --- */
  /* --- Champ valide (HTML5 required) --- */
  /* --- Focus valide --- */
  /* --- Focus invalide --- */
  /* --- Messages d’erreur --- */
  /* --- Labels --- */
  /* =========================================================
     ONGLET BOOTSTRAP PERSONNALISÉ
     ========================================================= */
  /* --- Onglet contenant une erreur --- */
}
.personnel .form-control,
.personnel .form-select {
  transition: all 0.25s ease-in-out;
}
.personnel label[for][data-required=true]::after {
  content: "*";
  color: #c62828;
  margin-left: 3px;
}
.personnel .is-invalid {
  border-color: #c62828 !important;
  background: #fff5f5 !important;
}
.personnel input:required:valid,
.personnel select:required:valid,
.personnel textarea:required:valid {
  border-color: #2e7d32 !important;
}
.personnel input:focus:valid,
.personnel select:focus:valid,
.personnel textarea:focus:valid {
  border-color: #2e7d32 !important;
  box-shadow: 0 0 0 0.15rem rgba(46, 125, 50, 0.25);
  background: #ffffff;
}
.personnel input:focus:invalid,
.personnel select:focus:invalid,
.personnel textarea:focus:invalid {
  border-color: #c62828 !important;
  box-shadow: 0 0 0 0.15rem rgba(198, 40, 40, 0.25);
  background: #fff5f5;
}
.personnel .invalid-feedback {
  color: #c62828 !important;
  font-weight: 600;
  font-size: 0.85rem;
}
.personnel .form-label {
  font-weight: 600;
  color: #253955;
  margin-bottom: 6px;
}
.personnel .nav-tabs .nav-link {
  color: #555;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 6px 6px 0 0;
  border: none;
  background: #f1f1f1;
  margin-right: 4px;
  transition: all 0.2s ease-in-out;
}
.personnel .nav-tabs .nav-link:hover {
  background: #253955;
  color: white;
}
.personnel .nav-tabs .nav-link.active {
  background: #253955 !important;
  color: #fff !important;
  border: 1px solid gray;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}
.personnel .nav-tabs .nav-link i {
  margin-right: 5px;
  font-size: 1.1rem;
}
.personnel .nav-tabs .nav-link.tab-error {
  border-color: #c62828 !important;
  color: #c62828 !important;
  background: #ffffff !important;
  font-weight: bold;
}

.hero-title {
  background: linear-gradient(90deg, #ffffff 0%, #f8fbff 50%, #eef6ff 100%);
  border-left: 4px solid #0d6efd;
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.06);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-title .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  border-radius: 8px;
  font-size: 1.6rem;
}

.hero-title h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-sub {
  color: #6c757d;
  font-size: 0.95rem;
  margin-top: 4px;
}

a {
  text-decoration: none !important;
}

#global-loader {
  display: none;
  display: flex; /* nécessaire pour centrer */
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  transition: opacity 0.3s ease;
}

#global-loader.show {
  display: flex;
  opacity: 1;
}

#global-loader.hide {
  opacity: 0;
  transition: opacity 0.3s ease;
}

th, td {
  border-width: 1px !important;
}

/* Couleur des tags sélectionnés */
.select2-container .select2-selection__choice {
  background-color: #007bff !important; /* bleu ou ta couleur */
  color: #fff !important;
  border: none !important;
}

.select2-container .select2-selection .select2-selection__choice__remove {
  background-color: white !important;
}

.container .select2 .select2-search__field:focus {
  outline: 0;
  border: none !important;
}

.active-ecole {
  background-color: seagreen !important;
  color: white !important;
  font-weight: bold !important;
}

@media (min-width: 1200px) {
  .hero-title h1 {
    font-size: 1.5rem;
  }
}

/*# sourceMappingURL=style.css.map */
