/* === Schedule Title Blocks for Daily Agenda === */

/* Main agenda title (e.g., "Agenda de aujourd'hui") */
.centered-title {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Schedule Block */
.schedule-container {
  width: 85%; /* 70% of the page width */
  margin: 0 auto; /* Center the container */
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 30px;
}

/* Subtitle for establishment and consultation names */
.schedule-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 15px;
  text-align: center; /* Center subtitle */
}

/* Plage horaire title */
.schedule-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #34495e;
  background-color: #f4f4f4;
  padding: 8px 16px;
  border-radius: 6px;
  margin: 15px auto;
  text-align: center; /* Center the time block title */
  width: 40%;
}

/* Table (Patient, Time, Notes) */
.agenda-schedule-table {
  width: 95%; /* Table width */
  margin: 20px auto; /* Horizontal centering */
  border-collapse: collapse; /* Collapse borders */
  text-align: center; /* Center text in cells */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff; /* White background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  border-radius: 8px; /* Rounded borders */
  overflow: hidden;
}

.agenda-schedule-table th,
.agenda-schedule-table td {
  padding: 5px 5px;
  border: 1px solid #ddd;
}

/* Table Header */
.agenda-schedule-table th {
  background-color: #f2f2f2;
  font-weight: bold;
  color: #333;
  padding: 10px;
}

/* Alternate rows */
.agenda-schedule-table tr:nth-child(even) {
  background-color: #fafafa;
}

/* Hover effect on rows */
.agenda-schedule-table tr:hover {
  background-color: #f1f1f1;
}

/* Style for buttons inside the table */
.agenda-schedule-table .btn-standard {
  padding: 8px 8px; /* Less horizontal padding (between text and borders) */
  font-size: 1rem; /* Keep the text small if needed */
  cursor: pointer;
  border: none;
  color: white;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  max-width: 120px; /* Maximum width in pixels */
  width: 100%;
}

.agenda-schedule-table th.id-col,
.agenda-schedule-table td.id-col {
  width: 50px; /* Adjust as needed */
  max-width: 50px;
  min-width: 50px;
  text-align: center; /* Optional */
}

.agenda-schedule-table th.action-col,
.agenda-schedule-table td.action-col {
  width: 50px; /* Adjust as needed */
  max-width: 50px;
  min-width: 50px;
  text-align: center; /* Optional */
}

.agenda-schedule-table th.champ-col,
.agenda-schedule-table td.champ-col {
  width: 300px; /* Adjust as needed */
  max-width: 400px;
  min-width: 400px;
  text-align: center; /* Optional */
}

.agenda-schedule-table th.day-col,
.agenda-schedule-table td.day-col {
  width: 110px;
  max-width: 110px;
  min-width: 110px;
  text-align: center;
}

.agenda-schedule-table td.hour-col {
  font-weight: 600;
  color: #2980b9;
  text-align: center;
}

/* ===== DESKTOP STYLES (default) ===== */

.agenda-schedule-table th.note-col,
.agenda-schedule-table td.note-col {
  width: 400px;
  max-width: 500px;
  min-width: 400px;
  text-align: center;
  vertical-align: top;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}

.agenda-schedule-table td.note-col {
  text-align: left;
  padding: 10px;
  vertical-align: top;
}

.agenda-schedule-table .note-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 15px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.agenda-schedule-table .note-header {
  display: block;
  margin-bottom: 0;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.agenda-schedule-table .note-header strong {
  font-weight: bold;
  display: block;
  white-space: normal;
}

.agenda-schedule-table .note-content {
  margin-top: 0;
  padding-top: 0;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ===== MOBILE STYLES ===== */

@media (max-width: 767px) {
}

/* ===== TABLET STYLES ===== */

@media (min-width: 768px) and (max-width: 1024px) {
}

@media (max-width: 1024px) {
}

@media (max-width: 1024px) {
}

@media (min-width: 768px) and (max-width: 1024px) {
}

.centered-message {
  text-align: center !important; /* Force centering */
  font-style: italic;
  padding: 1em;
  color: #7f8c8d;
}
