/* Bootstrap ≥ 5.2 : override par variables + propriétés */


/* Alert.warm override */
.alert-warning{
  --bs-alert-color: #bb0000bd;
  --bs-alert-bg: #ffc7ce61;
  --bs-alert-border-color: #ee4d4f6;

  color: var(--bs-alert-color);
  background-color: var(--bs-alert-bg);
  border-color: var(--bs-alert-border-color);
}

/* Company create: make only the “Valider” button square */
#btn_lookup { border-radius: 0 !important;}

/* Readonly: gris très clair + fallback */

/* Lighter gray for read-only fields */
.form-control[readonly],

.form-control:disabled, .form-control[readonly],
.form-control:read-only {
  background-color: #f8f9fa !important;
  color: #495057 !important;
  opacity: 1 !important;
}

/* Index: bandeau plus compact */
.header-bar{ padding:6px 0 !important; }
.header-bar .logo{ height:150px !important; width:auto !important; }
.env-badge{ font-size:.75rem !important; padding:.2rem .35rem !important; }

.avatar {
    width: 120px;
    height: 120px;
    vertical-align: middle;
    border-style: none;
    margin-right: 30px;
    border-radius: 50%; /* pour rendre l'image ronde, si besoin */
}

.logout {
	margin-top :15px;
}

/* Bouton grisé lisible, même désactivé */
.btn-outline-primary.appmnu,
.btn-outline-primary.appmnu:hover,
.btn-outline-primary.appmnu:focus,
.btn-outline-primary.appmnu:active,
.btn-outline-primary.appmnu.disabled,
.btn-outline-primary.appmnu:disabled {
  background-color: lightgray !important;
  border-color: lightgray !important;
  color: #fff !important;
  opacity: 1;           /* garde le contraste si .disabled applique 0.65 */
  pointer-events: none; /* laisse le bouton inactif pour <a> .disabled */
}

/* Vert LaboQuali */
:root { --lq-green:#006881; }

/* Navigateurs modernes */
input[type="checkbox"], .form-check-input { accent-color: var(--lq-green); }

/* Fallback Bootstrap 4 */
.form-check-input:checked {
  background-color: var(--lq-green);
  border-color: var(--lq-green);
}
.form-check-input:focus {
  border-color: var(--lq-green);
  box-shadow: 0 0 0 .2rem rgba(0,104,129,.25);
}

/* Si des custom-control existent encore */
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--lq-green);
  border-color: var(--lq-green);
}
.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 .2rem rgba(0,104,129,.25);
}

/* SEPA: afficher l’icône quand inactif */
#sepa_inactive + label i { display: none; }
#sepa_inactive:checked + label i { display: inline-block !important; }

/* SEPA: aligne le champs signed_at sur ICS */
#signed_at_sepa { margin-top: 35px !important; }

/* SEPA: deporte le champs mandate_type vers droite */
#mandate_type_sepa { margin-left: 13px !important; }

/* SEPA: deporte le champs informations LaboQuali vers droite */
#info_lq_sepa { margin-left: 40px !important; }

/* SEPA: deporte les champs iban / status vers droite */
#cb1_sepa, #cb2_sepa { margin-left: 70px !important; }

/* Copy icon color for any element carrying data-copy + cursor, CSP-safe */
.lq-copy.fa-copy,
[data-copy].fa-copy,
[data-copy] .fa-copy {
  color: #006881 !important;
  cursor: pointer;
}

