body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #222;
  margin: 0;
  min-height: 100vh;
  direction: ltr;
}

header {
  background: #007bff;
  text-align: center;
  padding: 1rem;
  color: #fff;
  border-bottom: 1px solid #0056b3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.container {
  margin-top: 40px;
}

.card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: #222;
  padding: 1rem;
  margin-bottom: 1rem;
}

.table {
  color: #222;
}

.table thead {
  background: #e9ecef;
  color: #222;
}

.table-hover tbody tr:hover {
  background: #f1f1f1;
}

.available {
  color: #28a745;
  font-weight: 600;
}

.busy {
  color: #dc3545;
  font-weight: 600;
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.form-actions > button {
  flex: 1;
}

.row.inputs-row {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
}

.row.inputs-row > .col-md-4 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

input:focus, select:focus {
  outline: none;
  border: 1px solid #00cc66;
  box-shadow: 0 0 6px #00cc66;
  background: #fff;
  color: #222;
}

.btn-success {
  background: #28a745;
  color: #fff;
}

.btn-success:hover {
  background: #2ecc71;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #6c757d;
  color: #fff;
}

.btn-secondary:hover {
  background: #7a8288;
  transform: translateY(-1px);
}

.btn-danger {
  background: #dc3545;
  color: #fff;
}

.btn-danger:hover {
  background: #e74c3c;
  transform: translateY(-1px);
}

.btn-warning {
  background: #ffc107;
  color: #222;
}

.btn-warning:hover {
  background: #ffd633;
  transform: translateY(-1px);
}

.search-box {
  flex: 1;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #999;
  background: #fff;
  color: #222;
  transition: all 0.2s;
}

.search-box:focus {
  border-color: #00cc66;
  box-shadow: 0 0 6px #00cc66;
  outline: none;
}

#calendar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.calendar .day {
  border-radius: 12px;
  padding: 15px;
  background: #fff;
  border: 1px solid #ccc;
  min-height: 90px;
  cursor: pointer;
  color: #222;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.2s ease;
}

.calendar .day:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,204,102,0.3);
}

.calendar .day small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #555;
}

.badge-assigned, .badge-unassigned {
  background: #e9ecef;
  color: #222;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
}

#calendarDetails ul.list-group {
  background: #f8f9fa;
  color: #222;
  border-radius: 8px;
  padding: 10px;
}

#calendarDetails ul.list-group li {
  background: #fff;
  border: 1px solid #ccc;
  margin-bottom: 6px;
  border-radius: 6px;
  padding: 8px;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #f1f1f1;
  color: #666;
}
@media (max-width: 768px) {
  .table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
  }

  .table th,
  .table td {
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
  }

  .table thead {
    background-color: #333;
    color: #fff;
  }

  .table-hover tbody tr:hover {
    background-color: #444;
  }
}
