/* Venues Management Styles */

.venues-header {
  margin-bottom: 2rem;
}

.venues-header h1 {
  color: #2575fc;
  font-weight: 600;
  text-align: center;
}

/* Filter Section */
.filter-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.filter-form .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

/* Download Buttons */
.download-section {
  text-align: center;
  margin: 2rem 0;
}

.btn-download {
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-download i {
  margin-right: 0.5rem;
}

/* Table Container */
.table-container {
  overflow-x: auto;
  margin-top: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
}

.table thead th {
  background: linear-gradient(135deg, #343a40 0%, #212529 100%);
  color: white;
  text-align: center;
  font-weight: 600;
  border: none;
  padding: 1rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.table tbody td {
  text-align: center;
  vertical-align: middle;
  padding: 1rem 0.75rem;
  border-color: #e9ecef;
}

.table tbody tr:hover {
  background-color: #f8f9ff;
  transition: background-color 0.2s ease;
}

/* Action Buttons in Table */
.action-buttons {
  white-space: nowrap;
}

.action-buttons .btn {
  margin: 0.25rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.action-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Form Sections */
.form-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.form-section h2,
.form-section h3 {
  color: #2575fc;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e9ecef;
}

.form-section .form-label {
  font-weight: 600;
  color: #495057;
}

.form-section .form-control,
.form-section .form-select {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-section .form-control:focus,
.form-section .form-select:focus {
  border-color: #2575fc;
  box-shadow: 0 0 0 0.2rem rgba(37, 117, 252, 0.15);
}

.form-section .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.form-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Timetable Slot Guide */
.slot-guide {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-top: 3rem;
}

.slot-guide h1 {
  color: #2575fc;
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.slot-guide .text-danger {
  background-color: #fff3cd;
  padding: 1rem;
  border-left: 4px solid #dc3545;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.info-block {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #2575fc;
}

.info-block h2 {
  font-size: 1.25rem;
  color: #343a40;
  margin-bottom: 1rem;
  font-weight: 600;
}

.info-block .key {
  font-weight: 700;
  color: #2575fc;
}

.info-block p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.info-block .slot {
  padding-left: 1rem;
  color: #495057;
  font-family: 'Courier New', monospace;
}

/* Modal Styles */
.modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border-radius: 12px 12px 0 0;
  padding: 1.25rem 1.5rem;
}

.modal-header .modal-title {
  font-weight: 600;
  font-size: 1.25rem;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-body {
  padding: 2rem;
}

.modal-body .form-label {
  font-weight: 600;
  color: #495057;
}

.modal-body .text-info {
  color: #2575fc !important;
}

.modal-body .form-control,
.modal-body .form-select {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.75rem;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
  border-color: #2575fc;
  box-shadow: 0 0 0 0.2rem rgba(37, 117, 252, 0.15);
}

.modal-body .btn-success {
  width: 100%;
  padding: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .table thead th {
    font-size: 0.75rem;
    padding: 0.75rem 0.5rem;
  }
  
  .table tbody td {
    font-size: 0.875rem;
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 768px) {
  .filter-form,
  .form-section,
  .slot-guide {
    padding: 1.5rem;
  }
  
  .btn-download {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .table-container {
    padding: 1rem;
  }
  
  .action-buttons .btn {
    font-size: 0.875rem;
    padding: 0.4rem 0.75rem;
  }
  
  .info-block {
    padding: 1rem;
  }
  
  .info-block .slot {
    font-size: 0.875rem;
  }
}

@media (max-width: 576px) {
  .venues-header h1 {
    font-size: 1.5rem;
  }
  
  .slot-guide h1 {
    font-size: 1.5rem;
  }
  
  .table thead th {
    font-size: 0.7rem;
    padding: 0.5rem 0.25rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
}