/* ========================================================
   ESTILOS GENERALES
   ======================================================== */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #333333;
  background-color: #f7f9fc;
}

/* Navbar */
.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Badges estilo Swagger / OpenAPI */
.badge-get {
  background-color: #ebf3fb !important;
  color: #106ba3 !important;
  border: 1px solid #c0d8f0;
  font-family: monospace;
  font-size: 0.82rem;
  padding: 0.35em 0.65em;
  border-radius: 6px;
}

.badge-post {
  background-color: #eaf8f1 !important;
  color: #0e8a4d !important;
  border: 1px solid #b6ecd0;
  font-family: monospace;
  font-size: 0.82rem;
  padding: 0.35em 0.65em;
  border-radius: 6px;
}

/* Tarjetas y Contenedores */
.card {
  border-radius: 12px;
  transition: box-shadow 0.2s ease-in-out;
}

.card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

/* Tabla */
.table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
  font-weight: 600;
  padding: 14px 16px;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}

.table tbody tr:hover {
  background-color: #f8fafc;
}

/* Botones de acción */
.btn-action {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.btn-action:hover {
  transform: translateY(-1px);
}

/* Modales */
.modal-content {
  border-radius: 14px;
  overflow: hidden;
}

.modal-header {
  padding: 16px 24px;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 14px 24px;
  border-top: 1px solid #eef2f6;
}

/* Inputs de Formulario */
.form-control, .form-select {
  border-radius: 8px;
  border-color: #cbd5e1;
  padding: 0.55rem 0.85rem;
  font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Detalle de Paciente */
.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 500;
  color: #64748b;
  font-size: 0.9rem;
}

.detail-value {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}
