/* put your own styles to customize and override the theme */
.table td,
.table th {
  padding: 0.4rem !important;
}

.table tbody tr:hover {
  background-color: #346cb028;
}

.h3,
h3 {
  font-size: 1.3rem !important;
}

.app-header-dark {
  background-color: #049f59 !important;
}

.jstree-container-ul {
  padding: 0px !important;
}

/* ========================================
   LOADING OVERLAY GLOBAL STYLES
   ======================================== */

/* Loading Overlay Styles */
.loading-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999999 !important;
  justify-content: center !important;
  align-items: center !important;
  backdrop-filter: blur(2px);
  margin: 0 !important;
  padding: 0 !important;
  display: none !important;
}

.loading-overlay.active {
  display: flex !important;
}

.loading-spinner {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
  min-width: 150px;
  max-width: 200px;
  position: relative !important;
  transform: none !important;
  margin: auto !important;
  z-index: 1000000 !important;
}

.loading-spinner .spinner-border {
  width: 2rem;
  height: 2rem;
  margin-bottom: 10px;
}

.loading-text {
  font-size: 14px;
  color: #333;
  font-weight: 400;
  margin: 0;
}

/* Animation pour le background blur */
.loading-overlay.show {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
