
/* --- Styles pour l'impression des rapports --- */
@media print {
  /* Cache les éléments non essentiels lors de l'impression */
  body {
    background-color: white !important;
  }
  .no-print, header, aside, .modal {
    display: none !important;
  }
  main {
    padding: 0 !important;
    overflow: visible !important;
  }
  .printable-area {
    box-shadow: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  /* Assure que les couleurs de fond et de texte sont imprimées */
  .dark {
    --tw-bg-opacity: 1 !important;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity)) !important;
    color: black !important;
  }
  * {
    color: black !important;
  }
  table, tr, td, th {
    border-color: #ccc !important;
  }
}


/* --- Animation pour le Loader --- */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #e53e3e; /* Red */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 