/* supervised_plages.css */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.supervised-plages-container {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.supervised-plages-container h1 {
  text-align: center;
  color: #333;
  margin-bottom: 25px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.action-buttons {
  margin-bottom: 20px;
  text-align: right;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-secondary {
  background-color: #6c757d; /* Bootstrap secondary color */
  border: 1px solid #6c757d;
}

.btn-secondary:hover {
  background-color: #5a6268;
}

.plan-card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.plan-header {
  background-color: #e9ecef; /* Light grey header */
  padding: 15px;
  border-bottom: 1px solid #ddd;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.plan-header h2 {
  margin: 0;
  font-size: 1.3em;
  color: #495057; /* Darker grey for text */
}

.plages-table-container {
  padding: 15px;
  overflow-x: auto; /* For responsiveness on small screens */
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

table th {
  background-color: #f8f9fa; /* Very light grey for table headers */
  font-weight: bold;
  color: #333;
}

table tr:hover {
  background-color: #f1f1f1;
}

.text-muted {
  color: #6c757d;
  font-style: italic;
}

.no-shifts-message {
  text-align: center;
  font-size: 1.1em;
  color: #555;
  padding: 20px;
  background-color: #fff3cd; /* Light yellow for info messages */
  border: 1px solid #ffeeba;
  border-radius: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .supervised-plages-container {
    width: 95%;
    padding: 15px;
  }

  .plan-header h2 {
    font-size: 1.1em;
  }

  table th,
  table td {
    padding: 8px 10px;
    font-size: 0.9em;
  }

  .btn {
    padding: 8px 15px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .plan-header h2 {
    font-size: 1em;
  }
  .action-buttons {
    text-align: center;
  }
  .btn {
    display: block;
    width: calc(100% - 30px);
    margin: 10px auto;
  }
}
