.alert-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1055;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
}

.animated-progress .progress-bar {
    width: 0;
    transition: width 1.2s ease-in-out;
}

#loading-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    text-align: center;
    direction: rtl;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #333;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid #ddd;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/**********************************************************************************/
/*********************************Partie Statique**********************************/
/**********************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.body {
  width: 100%;
  height: 100%;
  background-color: #fff;
  align-items: center;
  padding: 80px 150px 0 150px;
}

.btn button, .btn a {
  width: 100%;
  padding: 8px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2),
  0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.btn a {
    background-color: #DBDBE1;
    color: black;
    text-decoration: none;
}

.btn button:hover, .btn a:hover {
  opacity: 0.75;
}

/* Pagination */

.page-container{
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.page-label{
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.4s;
  border: 2px solid transparent;
  text-decoration: none;
  width: 28px;
  height: 28px;
  background-color: #ebebeb;
  color: #333;
  font-weight: bold;
  font-size: 14px;
  border-radius: 50%;
}

.page-label:hover{
  background-color: #0685ac;
  color: #fff;
}

.page-active{
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.4s;
  border: 2px solid transparent;
  text-decoration: none;
  width: 28px;
  height: 28px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 50%;
  background-color: #0685ac;
  color: #fff;
}

.page-disabled{
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
  border: 2px solid transparent;
  text-decoration: none;
  width: 28px;
  height: 28px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.65;
}