.scrollbar-primary::-webkit-scrollbar {
  width: 12px;
  background-color: #F5F5F5;
}

.scrollbar-primary::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #4285F4;
}

.pt-3-half {
padding-top: 1.4rem;
}

.admin-wrapper {
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 20px;
}

#formLoginContent {
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  background: #fff;
  width: 90%;
  max-width: 450px;
  position: relative;
  padding: 0;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  text-align: center;
}

td .form-control {
  height: 15px;
}

@media (min-width: 1200px) {
  .modal.modal-lg, .modal.modal-xl {
    max-width: 1000px;
  }
}

#table td {
  padding: 0.5rem;
}

#all.form-control {
  height: 0.8rem;
}

input#all {
  margin-bottom: 8px;
}

.pagination .page-item.active {
  background-color: #4285f4;
}

.input-prepend.input-append {
  display: flex;
  justify-content: center;
}

.btn-group #table table tbody tr td.pt-3 {
  padding-top: 0.8rem !important;
}

/* Parametrages des cameras */
.wind-turbine-dist .card {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wind-turbine-dist .card-header {
  font-weight: bold;
  margin-bottom: 10px;
}

.wind-turbine-dist .camera-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.wind-turbine-dist .camera-card {
  flex: 1 1 calc(33.333% - 30px);
  max-width: calc(33.333% - 30px);
  justify-content: space-between;
}

@media (max-width: 768px) {
  .wind-turbine-dist .camera-card {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

.container-fluid .row .breadcrumb {
  position: absolute !important;
}

.sup-center {
  justify-content: center;
}

.content-space {
  margin-left: 3.5rem;
  margin-top: 3.5rem;
}

.left-space {
  margin-left: 3.5rem;
}

/* Admin section */
.nav-tabs .tab-link {
  color: #495057;
  border: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.nav-tabs .tab-link:hover {
  border-color: transparent;
  border-bottom-color: #dee2e6;
}

.nav-tabs .tab-link.active {
  color: #007bff;
  background-color: transparent;
  border-color: transparent;
  border-bottom-color: #007bff;
  font-weight: 600;
}

#adminTabsContent {
  margin: 2rem;
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: auto;
  max-width: 480px;
  min-width: 15rem;
}

.toast-body-readable {
  background-color: #ffffff;
  color: #000000;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
}

#overlay-global-activation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}