/* ===============================================
   ESTILOS PARA MODAL DE AGENDAMIENTO DE CITAS
   =============================================== */

/* Secciones del modal */
.seccion-cita {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  background-color: #f9f9f9;
  margin-bottom: 20px;
}

.seccion-cita h6 {
  color: #0056b3;
  border-bottom: 2px solid #0056b3;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Paneles de tutor */
.panel-tutor {
  transition: all 0.3s ease;
}

/* Resultados de búsqueda */
.list-group-item:hover {
  background-color: #f0f8ff;
  cursor: pointer;
}

/* Cards de información precargada */
.card.border-primary {
  border-width: 2px !important;
}

.card.border-info {
  border-width: 2px !important;
}

.card.border-success {
  border-width: 2px !important;
}

.card.border-warning {
  border-width: 2px !important;
}

/* Cards de mascotas */
.mascota-card {
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.mascota-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #007bff;
}

.mascota-card.border-primary {
  background-color: #e7f3ff;
  border-width: 3px !important;
}

/* Formularios */
.was-validated .form-control:invalid {
  border-color: #dc3545;
}

.was-validated .form-control:valid {
  border-color: #28a745;
}

/* Iconos circulares */
.icon-circle {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.icon-circle-large {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.bg-primary-light {
  background-color: #e7f1ff;
}

/* Alertas */
.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
  .seccion-c ita {
    padding: 15px;
  }

  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-xl {
    max-width: 100%;
  }

  .icon-circle-large {
    width: 60px;
    height: 60px;
  }

  .mascota-card {
    margin-bottom: 15px;
  }
}

/* Smooth transitions */
.slideDown {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom scrollbar para modal */
#modalNuevaCita .modal-body {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

#modalNuevaCita .modal-body::-webkit-scrollbar {
  width: 8px;
}

#modalNuevaCita .modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#modalNuevaCita .modal-body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

#modalNuevaCita .modal-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

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

/* Select personalizado */
.custom-control-label {
  cursor: pointer;
  user-select: none;
}

/* Form control hover */
.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Badges */
.badge-success {
  background-color: #28a745;
}

.badge-secondary {
  background-color: #6c757d;
}

/* Botones */
.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #004085;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

/* Spacing utilities */
.mb-3 {
  margin-bottom: 1rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}
