.w-10 {
  width: 5rem;
}

.w-20 {
  width: 10rem;
}

.w-30 {
  width: 15rem;
}

.h-10 {
  height: 5rem;
}

.badge {
  text-transform: uppercase;
  background-color: gray;
}
.badge.admin {
  background-color: #c92e14;
}
.badge.professor, .badge.student, .badge.ok {
  background-color: #39af0a;
}
.badge.teacher {
  background-color: #8c2323;
}
.badge.assistant, .badge.staff {
  background-color: #11889f;
}
.badge.other {
  background-color: white;
  color: #333;
  border: 1px solid #333;
}

sup .fld-required {
  color: red;
}

.year-row.current td {
  background-color: #c7eac7;
}

.ml-1 {
  margin-left: 1rem;
}

.ml-2 {
  margin-left: 2rem;
}

.mr-1 {
  margin-right: 1rem;
}

.mr-2 {
  margin-right: 2rem;
}

table td {
  word-wrap: break-word;
  /* Legacy property */
  word-break: break-word;
  /* Modern equivalent */
  overflow-wrap: break-word;
  /* Best compatibility */
  white-space: normal;
  /* Allow text to wrap */
  white-space: normal;
}
table td ul {
  white-space: normal;
  word-break: break-all;
  display: block;
}

.table-longwords td, .table-longwords th {
  white-space: normal;
  /* Allow wrapping */
  word-wrap: break-word;
  /* Handle long words */
  word-break: break-word;
  /* Break long words for better compatibility */
  overflow-wrap: break-word;
  /* Modern way to break long words */
}

th.word-wrap,
td.word-wrap {
  word-break: break-word;
  white-space: normal;
}

.datepicker table td img, .table td img {
  border-radius: 0;
}

thead tr:first-child Th {
  position: sticky;
  z-index: 12;
  top: 0;
  background: white;
}

thead Th {
  position: sticky;
  z-index: 12;
  top: 51px;
  background: white;
}

.table-votes th {
  border-right: 1px solid #cccccc;
  text-align: center;
}
.table-votes td {
  border-right: 1px solid #cccccc;
  text-align: center;
}
.table-votes td.student {
  text-align: left;
  border-right: 2px solid gray;
}

fieldset.bordered {
  border: 1px solid #ddd !important;
  border-radius: 4px;
}
fieldset.bordered legend {
  font-size: 1rem;
}

input.form-control.disabled {
  border-color: #cacaca;
}

form.label-small {
  font-size: 0.8rem;
}

/* ============================================
   SLIDE PANEL - CSS Essenziale per Bootstrap
   Aggiungi questo al tuo CSS globale
   ============================================ */
/* Overlay scuro */
.slide-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  /* Sotto il pannello ma sopra il resto */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.slide-panel-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Container del pannello */
.slide-panel-container {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 1050;
  /* Sopra l'overlay */
  pointer-events: none;
  display: none;
  /* Nascosto di default */
}

.slide-panel-container.show {
  display: block;
  /* Mostra quando attivo */
}

.slide-panel-container.position-left {
  left: 0;
  right: auto;
}

/* Pannello scorrevole */
.slide-panel {
  position: relative;
  width: 100vw;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

.slide-panel.position-left {
  transform: translateX(-100%);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
}

.slide-panel.show {
  transform: translateX(0);
}

/* Dimensioni */
.slide-panel.size-sm {
  max-width: 384px;
}

.slide-panel.size-md {
  max-width: 448px;
}

.slide-panel.size-lg {
  max-width: 512px;
}

.slide-panel.size-xl {
  max-width: 576px;
}

.slide-panel.size-2xl {
  max-width: 672px;
}

/* Header pannello */
.slide-panel-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
}

.slide-panel-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
}

.slide-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.slide-panel-close:hover {
  opacity: 1;
}

/* Contenuto scrollabile */
.slide-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

/* Footer */
.slide-panel-footer {
  flex-shrink: 0;
  padding: 1rem 1.5rem;
  border-top: 1px solid #dee2e6;
  /* Bootstrap border color */
}

/* Responsive */
@media (max-width: 576px) {
  .slide-panel {
    max-width: 100% !important;
  }
}
/* Componente Livewire Schedules - Libreria FullCalendar.js */
.fc-timeline-header-row:nth-child(2) .fc-timeline-slot {
  border-right: 3px solid #495057 !important;
}

.fc-timeline-header-row:nth-child(3) .fc-timeline-slot:nth-child(14n) {
  border-right: 3px solid #495057 !important;
}

.fc-timeline-header-row:nth-child(2) .fc-timeline-slot:nth-child(odd) {
  background-color: #f8f9fa !important;
}

.fc-timeline-header-row:nth-child(2) .fc-timeline-slot:nth-child(even) {
  background-color: #ffffff !important;
}

/*# sourceMappingURL=schoolwal.css.map */
