/* Time Slot Management Theme Styles */

/* Gradient Backgrounds */
.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-success {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.bg-gradient-info {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.bg-gradient-warning {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.bg-gradient-danger {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

/* Card Enhancements */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  /* transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); */
  /* border: 1px solid #c1272d; */
}

.card-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 15px 15px 0 0 !important;
}

/* Time Slot Items */
.time-slot-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.time-slot-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.time-slot-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bg-light-success {
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.1) 0%,
    rgba(76, 175, 80, 0.05) 100%
  );
  border-left: 4px solid #4caf50;
}

.bg-light-danger {
  background: linear-gradient(
    135deg,
    rgba(244, 67, 54, 0.1) 0%,
    rgba(244, 67, 54, 0.05) 100%
  );
  border-left: 4px solid #f44336;
}

/* Button Enhancements */
.btn {
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-success {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
}

/* Form Enhancements */
.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  padding: 12px 15px;
}

.form-control:focus,
.form-select:focus {
  border-color: #c1272d;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  transform: translateY(-1px);
}

.form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
}

/* Modal Enhancements */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px 20px 0 0;
  border-bottom: none;
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-body {
  padding: 30px;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px 30px;
}

/* Badge Enhancements */
.badge {
  border-radius: 20px;
  padding: 8px 12px;
  font-weight: 500;
}

/* Dropdown Enhancements */
.dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
}

.dropdown-item {
  padding: 10px 20px;
  transition: all 0.3s ease;
  border-radius: 0;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #c1272d 0%, #c1272d 100%);
  color: white;
  transform: translateX(5px);
}

/* Loading Spinner */
.spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 0.3em;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-title h3 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 5px;
}

.page-title p {
  color: #6c757d;
  margin-bottom: 0;
}

/* Icon Enhancements */
.fa-solid,
.isax {
  transition: all 0.3s ease;
}

.btn:hover .fa-solid,
.btn:hover .isax {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .card {
    margin-bottom: 20px;
  }

  .page-header {
    padding: 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-footer {
    padding: 15px 20px;
  }
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Status Indicators */
.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.status-active {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.status-inactive {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  box-shadow: 0 0 10px rgba(244, 67, 54, 0.5);
}

/* Time Display */
.time-display {
  font-family: "Courier New", monospace;
  font-weight: 600;
  color: #495057;
  background: rgba(0, 0, 0, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

/* Weekday Cards */
.weekday-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.weekday-card:hover {
  transform: translateY(-3px);
}

.weekday-card.active {
  border: 2px solid #667eea;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.empty-state i {
  font-size: 1rem;
  opacity: 0.5;
}

/* Success/Error Messages */
.alert {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.alert-success {
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.1) 0%,
    rgba(76, 175, 80, 0.05) 100%
  );
  color: #2e7d32;
  border-left: 4px solid #4caf50;
}

.alert-danger {
  background: linear-gradient(
    135deg,
    rgba(244, 67, 54, 0.1) 0%,
    rgba(244, 67, 54, 0.05) 100%
  );
  color: #c62828;
  border-left: 4px solid #f44336;
}
