/*
* constely.css
* File include item constely only specific css only
******************************************************************************/

.light-style .menu .app-brand.constely {
  height: 64px;
}

.dark-style .menu .app-brand.constely {
  height: 64px;
}

.app-brand-logo.constely {
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -ms-flexbox;
  display: flex;
  width: 45px;
  height: 20px;
}

.app-brand-logo.constely svg {
  width: 1.7rem;
  height: 1.7rem;
}

.app-brand-text.constely {
  font-size: 1.75rem;
  letter-spacing: -0.45px;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.constely-blocks > * {
  display: block !important;
}

.constely-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .constely-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .constely-only-element class with .constely-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.constely-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.constely-vertical-spacing.constely-only-element > :first-child {
  margin-top: 0 !important;
}

.constely-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.constely-vertical-spacing-lg.constely-only-element > :first-child {
  margin-top: 0 !important;
}

.constely-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.constely-vertical-spacing-xl.constely-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout constely
******************************************************************************/

.layout-constely-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-constely-placeholder img {
  width: 900px;
}
.layout-constely-info {
  text-align: center;
  margin-top: 1rem;
}

.spinner {
    position: fixed;
    z-index: 1031;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#btn-back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: none;
}

#detailErrorMessage {
    white-space: pre-wrap;
}

.swal2-container {
    z-index: 20000 !important;
}

.responsive-heading {
    word-wrap: break-word; /* Permet de casser le mot si nécessaire */
}

/* Si vous souhaitez également définir une largeur maximale */
@media (max-width: 600px) {
    .responsive-heading {
        max-width: 90%; /* Ajustez cette valeur selon vos besoins */
        white-space: normal;
        word-wrap: break-word;
    }
}

.list-notifications li {
    list-style-type: none;
    padding-left: 0;
    border: 1px solid #2c2c2c; /* Ajout d'une bordure grise autour de chaque <li> */
    padding: 2px;
}

.input-validation-error {
    border-color: red;
}

.notyf-primary {
    background-color: var(--bs-body-bg) !important;
    color: var(--bs-warning) !important;
}

/* Dark theme: select multiple / option visibility */
.dark-style .form-select[multiple] option,
.dark-style .form-select[size]:not([size="1"]) option {
    background-color: #2b2c40;
    color: #d5d7e0;
}

.dark-style .form-select[multiple] option:checked,
.dark-style .form-select[size]:not([size="1"]) option:checked {
    background-color: #7367f0;
    color: #fff;
}

.dark-style .form-select[multiple] optgroup,
.dark-style .form-select[size]:not([size="1"]) optgroup {
    background-color: #2b2c40;
    color: #a3a4cc;
}