@charset "UTF-8";
/* Style par défaut pour le label */
label.btn-outline-secondary {
        border-color: #D6DAE1;
        outline: none;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Style du label lorsque le bouton radio est sélectionné */
input[type="radio"]:checked + label {
        border-color: #007bff; /* Couleur de la bordure lorsque sélectionné */
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); /* Effet de surbrillance */
}

/* Pour le focus visible */
input[type="radio"]:focus + label {
        border-color: #007bff; /* Couleur de la bordure au focus */
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); /* Effet de surbrillance */
}



/* Surcharger avec spécificité plus élevée */
.dropdown-menu[data-bs-popper] {
  top: auto !important;       /* Désactive les règles imposées par Popper.js */
  left: auto !important;      /* Désactive le positionnement forcé à gauche */
  transform: none !important; /* Désactive les transformations de Popper.js */
  margin-top: 0 !important;   /* Supprime le margin-top de Bootstrap */
  right: 0;                   /* Optionnel : aligne le menu à droite si nécessaire */
  display: block !important;  /* Assure que le menu dropdown est visible */
}


.carousel{
        height: 700px;
}
.carousel-item {
  position: relative;
}

.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
/*  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%); */
  z-index: 1;
  transition: background 0.5s ease-in-out;
}

/* Pour inverser le dégradé pour l'image suivante */
.carousel-item.next::before {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}


.carousel-control-prev,.carousel-control-next {
    flex: 0 0 auto;
}
.carousel-item .caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* Ou une autre couleur contrastante */
  background-color: rgba(0, 0, 0, 0.7); /* Fond plus foncé */
  padding: 20px;
  text-align: center;
  height: 700px;
}
.carousel-control-prev {
    margin-right: auto;
}

.carousel-control-next {
    margin-left: auto;
}
/*
.main-content {
  padding-top: 2px;
  padding-left: 2px;
}
[data-theme="dark"] .header-area {
  background-color: #605DFF !important;
}

.bg-white {
  --bs-bg-opacity: 1;
  background-color: #605DFF !important;
}
*/
.superscript {
	    font-size: 0.75em;
    line-height: 0;
    position: relative;
    vertical-align: super;
    color: yellow;
/*    font-size: 0.75em;
    vertical-align: super;
    */
}
.header-right-item .superscript {
    vertical-align: top;
    position: relative;
    top: -2px; /* Ajustez cette valeur selon la taille de la police et votre design */
}

.form-select {
    min-width: 30px;
 /*   max-height: 30px; */
    line-height: 2;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#currency.form-select,
#frequency.form-select,
#installmentCount.form-select {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  line-height: 1.5;
  height: auto;
}


/* From userActivation.php */
.error-link-ua {
  position: relative; /* Positionne le conteneur comme point de référence pour le positionnement absolu */
}

.overlay-link-ua {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 100px;
  height: 100px;
  ##background-color: red;
  border-radius: 50%;
}


/* From users-list.php */
.form-select-ul {
    min-width: 30px;
    width: fit-content;
    max-height: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* From dashboard/OrgAdd/index.php */
.spacer-oa {
  height: 20px;
}

.form-group-oa .d-flex {
        display: flex;
}

.form-group-oa select {
        flex-grow: 1;
}

.form-group-oa input {
        flex-grow: 3;
}

.image-preview-empty {
  background-color: #f8f9fa;
  border: 1px dashed #ced4da; /* Bordure pointillée pour indiquer qu'aucune image n'est sélectionnée */
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #888;
}

#imagePreview {
  /* ... */
  object-fit: contain;
}

.image-preview-empty::before {
  content: "Cliquez pour choisir une image";
}

/* From dashboard/igive/index.php */
/* Assurez-vous que votre fichier CSS inclut les styles de Bootstrap ou les vôtres */

.account-type-option {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
}

.account-type-option img {
        width: 100px; /* Ajuster la taille des images si nécessaire */
        height: auto;
}

.label-text {
        margin-top: 8px; /* Espace entre l'image et le texte */
        font-size: 14px; /* Ajuster la taille du texte si nécessaire */
        color: #fff; /* Couleur du texte */
}

.d-flex {
        display: flex;
        /* align-items: center; Just pour igive ?? */
        gap: 10px;
}

.flex-shrink-0 {
        flex-shrink: 0;
        width: auto; /* Permet au sélecteur de prendre juste la largeur nécessaire */
}

.flex-grow-1 {
        flex-grow: 1;
}


.row.mx--10.justify-content-center {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap onto multiple lines */
  justify-content: center;
}

.suggest-amt-collect {
  /* Style the buttons as needed */
  flex: 1; /* Make each button take equal width */
  min-width: 45%; /* Ensure minimum width for readability */
  margin: 5px; /* Add spacing between buttons */
}

/* Optional: Media query for smaller screens */
@media (max-width: 768px) {
  .suggest-amt-collect {
    min-width: 100%; /* Make buttons full width on smaller screens */
  }
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%; /* Plein écran sur mobile */
  max-width: 25%; /* 25% sur écrans plus larges */
  margin: 0 auto;
}

.button-container button {
  /* Styles pour les boutons (taille, couleur, etc.) */
  flex-basis: 45%; /* Pour laisser un peu d'espace entre les boutons */
  margin: 5px;
}

@media (min-width: 768px) {
  /* Styles pour les écrans plus larges (tablettes, ordinateurs) */
  .video-container {
    float: right; /* La vidéo à droite */
    width: 75%;
  }
  .button-container {
    float: left; /* Les boutons à gauche */
  }
}

/* General Styles */
.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the buttons */
  gap: 10px; /* Espacement entre les boutons */
  margin-bottom: 20px;
}

.button-group {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centre les éléments verticalement */
  align-items: center; /* Centre les éléments horizontalement */
}

.trouma-button {
  /* Customize button styles here */
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  min-width: 120px; /* Ajustez selon vos besoins */
  max-width: 120px; /* Ajustez selon vos besoins */
  height: 40px;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
}

.donate-btn {
  /* Customize the donate button */
  background-color: #f00; /* Red */
  color: white;
  padding: 15px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Adjust layout for smaller screens */
  .button-container {
    flex-direction: column; /* Stack buttons vertically */
}
}



.progress {
  height: 30px; /* Augmentez la hauteur pour une barre plus large */
  background-color: #f5f5f5;
  border-radius: 10px; /* Arrondit légèrement les coins */
}

.progress-bar {
  height: 100%;
  background-color: #4CAF50;
  color: white;
  text-align: right; /* Aligne l'icône à droite */
  padding-right: 10px; /* Ajoute un espace entre l'icône et le bord */
}

.progress-bar-icon {
  font-size: 20px; /* Taille de l'icône */
}


.my-custom-input-group {                        
  display: flex;                                
  align-items: center;
  /* border: 1px solid #ccc;
  border-radius: 5px; /* Ajustez la valeur selon vos besoins */
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

.my-custom-input-group .form-control {
    border: none;
    box-shadow: none;
}

.my-custom-input-group .form-select {
    border: none;
    box-shadow: none;
    line-height: 1;
}


/* CSS pour un champ invalide */
.invalid {
    border: 1px solid red;
    background-color: #ffe6e6;
}
/* Règle générale pour tous les placeholders */
::placeholder,
::-webkit-input-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color: #999;
  font-size: 0.8em;
  opacity: 0.7;
}

/* Règle spécifique pour les sélecteurs */
select::placeholder,
select::-webkit-input-placeholder,
select::-moz-placeholder,
select:-ms-input-placeholder {
  /* Styles spécifiques pour les sélecteurs */
}

/* Customize the placeholder style */
input::placeholder {
  color: #999; /* Adjust the color as needed */
  font-size: 0.7em; /* Adjust the font size */
}

::placeholder {
  font-family: Arial, sans-serif;
}

::placeholder {
  font-style: italic;
}

::placeholder {
  text-align: center;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
}

input[type="date"]::-webkit-datetime-edit {
    text-align: center; /* Centrage du texte */
    color: gray; /* Couleur grise */
    font-style: italic; /* Style italique */
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
}

input[type="date"]::-webkit-datetime-edit {
    text-align: center;
    color: gray;
    font-style: italic;
}

.modal-content {
    /* Your custom styles here */
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  }


.hover-tooltip {
    overflow: hidden;
}

.hover-tooltip:hover {
    /* La couleur de survol reste jaune pour le cas d'échec */
    background-color: #ffe8a1 !important; 
    transition: background-color 0.3s ease;
}

.hover-tooltip.is-success:hover {
    /* Nouvelle règle pour le survol en cas de succès */
    background-color: #d1e7dd !important; 
}

.tooltip-hover-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* La couleur de fond de base est définie ici */
    background-color: rgba(255, 255, 200, 0.92);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    z-index: 10;
    border-radius: 0.375rem;
}

.hover-tooltip:hover .tooltip-hover-text {
    /* L'opacité passe à 1 au survol */
    opacity: 1;
}

/* Règle spécifique pour le tooltip en cas de succès */
.hover-tooltip.is-success .tooltip-hover-text {
    background-color: rgba(209, 231, 221, 0.92); /* Couleur de fond verte */
}

/* Animation douce pour les blocs à compléter */
@keyframes subtle-pulse {
    0% { background-color: #fff3cd; }
    50% { background-color: #ffe69c; }
    100% { background-color: #fff3cd; }
}

.bg-warning-subtle.hover-tooltip {
    animation: subtle-pulse 2s infinite;
}



/* MacBook 15" / grandes tablettes paysage (~1440px) */
@media only screen and (max-width: 1440px) {
  .default-table-area.all-products .table {
    width: 1200px;
  }
}

/* MacBook 14" (~1366px) */
@media only screen and (max-width: 1366px) {
  .default-table-area.all-products .table {
    width: 1100px;
  }
}

/* MacBook 13" / iPad Pro paysage (~1280px) */
@media only screen and (max-width: 1280px) {
  .default-table-area.all-products .table {
    width: 1000px;
  }
}

/* iPad Air/classique paysage (~1024px) */
@media only screen and (max-width: 1024px) {
  .default-table-area.all-products .table {
    width: 900px;
  }
}

.default-table-area.all-products .table {
  width: 100%;
  table-layout: auto;
}

/* Supprimer ou écraser le scroll horizontal du parent */
.default-table-area.all-products .table-responsive {
  overflow-x: visible !important;
}

.default-table-area.all-products .table td,
.default-table-area.all-products .table th {
  white-space: normal;      /* autorise le retour à la ligne */
  word-break: break-word;   /* coupe les mots trop longs */
  min-width: 60px;          /* évite que les colonnes deviennent microscopiques */
}
