.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.card {
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.left-section {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.left-section h2 {
  font-weight: bold;
  margin-bottom: 20px;
}

.left-section img {
  max-width: 80%;
  height: auto;
}

.right-section {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.input-group {
  width: 100%;
}

.input-group > .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .input-group-text {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  height: calc(2.25rem + 2px); /* Match the height of the input field */
}

.btn-custom {
  background-color: #F9C349;
  border: none;
}

.btn-custom:hover {
  background-color: #e2cb38;
}



.progress {
  height: 5px;
  width: 87%;
  background: #cab992;
  color: #FDB718;

}
.progress-percentage {
 
  font-size: 14px;
  color: #FDB718;
  width: 10%;
  padding: 0;
}
.form-step:not(.d-none) {
  animation: fadeIn 0.5s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


.image-preview {
 max-width: 100%;
 max-height: 200px;
  object-fit: contain;
  
}

:root {
  --sidebar-width: 250px;
}

.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background-color: #f8f9fa;
  padding: 20px;
  border-right: 1px solid #dee2e6;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

.sidebar.collapsed {
  left: calc(-1 * var(--sidebar-width));
}

.main-content {
  margin-left: var(--sidebar-width);
  padding: 20px;
  transition: margin-left 0.3s ease-in-out;
}

.main-content.expanded {
  margin-left: 0;
}

.sidebar-toggle {
  position: fixed;
  left: var(--sidebar-width);
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #dee2e6;
  border-left: none;
  width: 20px;
  height: 40px;
  border-radius: 0 5px 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

.sidebar.collapsed + .sidebar-toggle {
  left: 0;
}

.sidebar-toggle i {
  transition: transform 0.3s ease-in-out;
  font-size: 12px;
  color: #6c757d;
}

.sidebar.collapsed + .sidebar-toggle i {
  transform: rotate(180deg);
}

.top-bar {
  padding: 15px;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-link {
  color: #6c757d;
  padding: 10px 15px;
  margin: 5px 0;
  border-radius: 5px;
}

.nav-link:hover {
  background-color: #e9ecef;
  text-decoration: none;
}

.nav-link.active {
  background-color: #e9ecef;
}

.profile-section {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.modify-link {
  color: #0d6efd;
  text-decoration: none;
  font-size: 0.9em;
}

.company-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
}

.dropdown-menu {
  right: 0;
  left: auto;
}


        
.top-toggle {
  background: none;
  border: none;
  color: #6c757d;
  padding: 0;
  margin-right: 15px;
  cursor: pointer;
}

.top-toggle:hover {
  color: #000;
}

.top-toggle i {
  font-size: 1.5rem;
}

    /* Tabs */
    .nav-tabs .nav-link {
      font-size: 16px;
      font-weight: 600;
      color: #6B7280;
      border: none;

  }

  .nav-tabs .nav-link.active {
      color: #1F2937;
      border-bottom: 2px solid #16a34a;
      border-radius: 0;
  }

  /* Profile Sections */
  .profile-section {
      background-color: #fff;
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 20px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  }

  .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
  }

  .company-logo {
      width: 80px;
      height: auto;
      margin-right: 15px;
  }

  h5 {
      font-size: 20px;
      color: #1F2937;
      font-weight: 700;
      margin: 0;
  }


  .btn-danger:hover {
      background-color: #e74c3c;
  }



  .modify-link {
      color: #16a34a;
      font-weight: 500;
  }

  .modify-link:hover {
      text-decoration: underline;
  }

  a:hover{
    text-decoration: none;
  }


  .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.search-container {
    position: relative;
    max-width: 300px;
    margin-bottom: 2rem;
}

.search-container .bi-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-input {
    padding-right: 35px;
    border-radius: 8px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

.status-en-cours {
  background-color: #ffc107;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
}

.status-gagné {
  background-color: #28a745;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
}

.status-perdu {
  background-color: #dc3545;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
}

.status-archive {
  background-color: #706f6f;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
}


.status-brouillon {
  background-color: #80abe3;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
}
.status-envoyee {
  background-color: #8dab04;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
}
.actions-btn {
    border: none;
    background: none;
    color: #6c757d;
    padding: 4px 8px;
}

.actions-btn:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
}

.create-btn {
    background-color: #7FB3A7;
    border: none;
    padding: 8px 16px;
    color: white;
    border-radius: 8px;
}

.create-btn:hover {
    background-color: #6ca195;
}

.table th {
    color: #6c757d;
    font-weight: 500;
    border-bottom-width: 1px;
}

.datatable-wrapper {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}





/* .results-container {
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  margin-bottom: 20px;
  border-radius: 4px;
  display: none;
}

.suggestion {
  padding: 8px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.suggestion:hover {
  background-color: #f0f0f0;
}

#distanceResult {
  margin-top: 20px;
  padding: 10px;
  background-color: #f8f8f8;
  border-radius: 4px;
} */


.autocomplete-list {
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  background-color: #fff;
  position: absolute;
  z-index: 1000;
  width: 300px;
}
.autocomplete-item {
  padding: 10px;
  cursor: pointer;
}
.autocomplete-item:hover {
  background-color: #e9e9e9;
}
/* Forcer l'affichage des flèches de tri fines avec Font Awesome */
th.sorting:after {
  content: "\f0de"; /* Icône de flèche vers le bas */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;  /* Taille réduite */
  padding-left: 5px;
}

th.sorting_asc:after {
  content: "\f0de"; /* Icône de flèche vers le bas */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;  /* Taille réduite */
  padding-left: 5px;
}

th.sorting_desc:after {
  content: "\f0dd"; /* Icône de flèche vers le haut */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;  /* Taille réduite */
  padding-left: 5px;
}
/* Réduire la taille des flèches par défaut */
th.sorting:after {
  font-size: 12px;  /* Taille réduite */
}

th.sorting_asc:after {
  font-size: 12px;  /* Taille réduite */
}

th.sorting_desc:after {
  font-size: 12px;  /* Taille réduite */
}
