body {
  font-family: Arial, sans-serif;
  margin: 20px;
  background: #ececec;
}

.container {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.left,
.right {
  flex: 1;
  padding: 15px;
  min-width: 0;
  border-radius: 8px;
  background: #fff;
}

h1.general-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

h2.section-title {
  margin-top: 0;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
}

.tabs button {
  margin-right: 5px;
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
  background: #dc3545;
  color: #fff;
  cursor: pointer;
}

.tabs button.active {
  background: #a71d2a;
  font-weight: bold;
}

.tabs button:hover {
  background: #a71d2a;
}

.tab-content {
  margin-top: 15px;
}

form {
  background: #fafafa;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-top: 10px;
}

form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

form input,
form select {
  width: 100%;
  padding: 6px;
  margin-top: 5px;
}

form button {
  margin-top: 15px;
  padding: 10px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.card {
  margin-bottom: 15px;
  padding: 15px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.section h3 {
  margin: 10px 0 8px 0;
  border-bottom: 1px solid #ccc;
  font-size: 15px;
  padding-bottom: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

table tbody tr:nth-child(even) {
  background: #f5f5f5;
}

th,
td {
  padding: 6px;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background: #eee;
}

.actions {
  text-align: center;
  width: 90px;
}

.actions button {
  border: none;
  background: transparent;
  cursor: pointer;
  margin: 0 3px;
}

.actions i {
  font-size: 14px;
  color: #007bff;
}

.actions i.fa-trash {
  color: red;
}

#solveBtn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: green;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#calendar {
  margin-bottom: 5px;
  margin-top: 10px;
}

.duree-missing {
  background-color: #ffcccc !important;
  color: #a00;
  font-weight: bold;
}

.fc-event-time {
  font-weight: bold;
  margin-bottom: 2px;
}
.fc-event-title div {
  line-height: 1.2;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }
}
