body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #f5f6f8;
    font-family: IBM Plex Sans,sans-serif;
}

p, ul {
    padding: 0;
    margin: 0;
}

.hide {
    display: none;
}

.d-flex{
    display: flex;
}
.jcc{
    justify-content: center;
}
.aic{
    align-items: center;
}
.fdc{
    flex-direction: column;
}

.flex-grow-1{
    flex-grow: 2;
}
.gap-default{
    gap: 0.3rem;
}

.text-error {
    color: #DF2E38;
    font-size: 11px;
}

.bg-blue {
    background-color: #4680ff !important;
    color: #fff !important;
}

.bg-red {
    background-color: #DF2E38 !important;
    color: #fff;
}

.bg-green {
    background-color: #5D9C59 !important;
    color: #fff;
}

.bg-green-light {
    background-color: #C7E8CA !important;
    color: #fff;
}

.text-red {
    color: #DF2E38 !important;
}

.text-green {
    color: #5D9C59 !important;
}

.btn-default, .btn-green, .btn-red {
    cursor: pointer;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    width: 90px;
    text-align: center;
}
.btn-green{
    background-color: #5D9C59 !important;
    color: white !important;

}

.btn-red{
    background-color: #DF2E38 !important;
    color: white !important;
}



/*badge alert  */

.badges {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* 16px */
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.badges > button {
    font-size: 0.875rem; /* 14px */
    line-height: 1.25rem; /* 20px */
    padding: 2px .5rem; /* 8px*/
    cursor: pointer;
    border: none;
    border-radius: 0.375rem; /* 6px */
    outline: none;
}

.badges .blue-badge {
    background-color: rgba(59, 130, 246, 0.10);
    color: rgb(59 130 246);
    border: 1px rgb(59 130 246) solid;
}

.badges .yellow-badge {
    background-color: rgba(234, 179, 8, 0.10);
    color: rgb(234 179 8);
    border: 1px rgb(234 179 8) solid;
}

.badges .green-badge {
    background-color: rgba(34, 197, 94, 0.10);
    color: rgb(34 197 94);
    border: 1px rgb(34 197 94) solid;
}

.badges .red-badge {
    background-color: rgba(239, 68, 68, 0.10);
    color: rgb(239 68 68);
    border: 1px rgb(239 68 68) solid;
}
/* fin badge alert*/




/* Modal checker */
.confirm-div-checker {
    background-color: #ccc;
}

.green-btn-checker {
    background-color: #47a04b;
}

.green-btn-checker:hover {
    background-color: #368339;
}

.green-btn-checker:active {
    background-color: #2d6830;
}

.green-btn-checker:disabled {
    background-color: #c8eac9;
    color: #1b7a43;
}

.red-btn-checker {
    background-color: #f93a3a;
}

.red-btn-checker:hover {
    background-color: #e71f1f;
}

.red-btn-checker:active {
    background-color: #c21313;
}

.red-btn-checker:disabled {
    background-color: #ffc7c7;
    color: #c21313;
}

.confirm-div-checker {
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 4px 4px 15px #3e3e3e;
    font-family: "Segoe UI", Tahoma, sans-serif;
    cursor: default;
}

.confirm-div-checker button {
    cursor: pointer;
    width: 100%;
    padding: 4px 6px;
    border-radius: 4px;
    color: #fff;
    border: none;
    height: 30px;
    width: 100%;
}

.confirm-div-checker p {
    display: flex;
    flex-direction: column;
}

.confirm-div-checker p strong {
    margin-bottom: 15px;
}

.warning-general-checker {
    position: absolute; /* switch to fixed */
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
}

.modals-container-checker {
    display: flex;
    flex-direction: row;
    height: 32px;
    margin-top: 20px;
    gap: 7px;
    width: 100%;
}
/* end modal checker*/


.alert{
    padding: 0.4em 0.8em;
    border: 0.1em solid transparent;
    border-radius: 0.3em;
    width: auto;
    display: flex;
    gap: 0.1em;

}


.alert-success{
    background-color: #d1e7dd;
    color: rgb(4, 112, 4);
}

.alert-danger{
    background-color: #f1d6d6;
    color: brown;
}


/* Btn digit_kiosk */

/*
.btn-dkp {
    line-height: 1;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: center;
    gap: 0.35em;
    padding: 0.75em 1em;
    padding-right: 1.25em;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 2em;
    box-shadow: 0 0.7em 1.5em -0.5em hsla(249, 62%, 51%, 0.745);
    transition: transform 0.3s;
}



.btn-dkp:hover {
    border-color: #f4f5f2;
}

.btn-dkp:active {
    transform: scale(0.98);
    box-shadow: 0 0.5em 1.5em -0.5em hsla(249, 62%, 51%, 0.745);
}

.btn-dkp-green{
    background-color: #024502;
}
.btn-dkp-red{
    background-color: darkred;
} */

/* From Uiverse.io by hannahyockel */
/* From Uiverse.io by david-mohseni */
.wrapper {
    list-style: none;
    height: 100%;
    width: 100%;
    font-family: "Poppins", sans-serif;
    padding: 0.4rem;
    justify-content: space-between !important ;
    display: flex;
    align-items: center !important;
    padding-left: 0.5em;
  }

  .wrapper .icon {
    position: relative;
    background: #f1f1f1;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .wrapper .tooltip {
    position: absolute;
    top: 0;
    font-size: 0.8rem;
    background: #fff;
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .wrapper .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #fff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .wrapper .icon:hover .tooltip {
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .wrapper .icon:hover span,
  .wrapper .icon:hover .tooltip {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
  }


  .wrapper .icon:hover,
  .wrapper .icon:hover .tooltip,
  .wrapper .icon:hover .tooltip::before {
    background: #4680ff;
    color: #fff;
  }

  .wrapper .icon-red:hover,
  .wrapper .icon-red:hover .tooltip,
  .wrapper .icon-red:hover .tooltip::before {
    background: #c21313;
    color: #fff;
  }

  .wrapper .icon-green:hover,
  .wrapper .icon-green:hover .tooltip,
  .wrapper .icon-green:hover .tooltip::before {
    background: #368339;
    color: #fff;
  }

  .wrapper .icon-grey:hover,
  .wrapper .icon-grey:hover .tooltip,
  .wrapper .icon-grey:hover .tooltip::before {
    background: #6c757d;
    color: #fff;
  }


  /* Affichage du contenu d'un pdf*/


.show-pdf{
    width: 55%;
    height: 90%;
    background-color: #f1f1f1;
    border-radius: 0.3em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.show-pdf h3{
    width: 100%;
    text-align: center;
    background-color: #a8a7a7;
    color: #f1f1f1;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;

}
.show-pdf embed{
    width: 100%;
    height: 90%;
}
.show-pdf button{
    width: 32px;
    height: 35px;
    background-color: #4680ff;
    color: #f1f1f1;
    border: 0.1em solid;
    border-radius: 50%;
    position: absolute;
    top: 1%;
    left: 94%;
    cursor: pointer;
}


.pagination-box {
    padding: 10px 20px !important;
    width: calc(100% - 40px) !important;
    display: flex;
    background-color: #4680ff;
    border-radius: 5px !important;
    color: #fff;
}

.pagination-box > nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}


.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
