/* ============================================
   EMPYREAN — COMPONENTES REUTILIZABLES
   Clases extraídas de estilos inline repetidos
   ============================================ */

/* ─── Etiqueta de formulario pequeña ─────────
   Usada en modales de producto, venta, arrived */
.form-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.form-label--muted { color: #636e72; }

/* ─── Input compacto para modales ─────────────
   Versión más pequeña que el input global       */
.form-input-sm {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1.5px solid #ede0f0;
  font-family: inherit;
  font-size: 0.9rem;
  margin: 0;
}

/* ─── Párrafo de descripción en secciones admin */
.admin-hint {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: -10px;
  margin-bottom: 15px;
  line-height: 1.5;
}
.admin-hint--sm {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: -10px 0 14px;
  line-height: 1.5;
}

/* ─── Fila encabezado de sección (título + btn) */
.section-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

/* ─── Botón "➕ Agregar" tipo píldora ──────────
   Usado en Ventas, Pantallas (servicios/clientes/cobros) */
.btn-add-pill {
  background: linear-gradient(135deg, var(--primary), #8a2b8a);
  color: white;
  border: none;
  border-radius: 99px;
  padding: 8px 16px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

/* ─── Botón preset de meses (módulo Pantallas) ─
   "1 mes", "2 meses", "3 meses", "6 meses", "1 año" */
.pt-preset-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid #e0d0f0;
  background: white;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

/* ─── Botones inline en modales de confirmación
   (modales que no usan la clase .btn-modal)      */
.btn-cancel-inline {
  flex: 1;
  background: #f1f2f6;
  color: #636e72;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary-inline {
  flex: 1;
  background: #e8f5e9;
  color: #2e7d32;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}
.btn-danger-inline {
  flex: 1;
  background: #ffebee;
  color: #c62828;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* ─── Modal de confirmación compacto ─────────── */
.modal-confirm-box {
  max-width: 320px;
  width: 92%;
  text-align: center;
}
.modal-confirm-icon { font-size: 1.8rem; margin-bottom: 8px; }
.modal-confirm-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.modal-confirm-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 18px;
}
.modal-confirm-btns {
  display: flex;
  gap: 8px;
}
