/* Ruta y nombre del archivo: /s-internos/compress/assets/css/custom.css */

/* Paleta Institucional */
:root {
  --poeh-guinda: #691b31;
  --poeh-guinda-light: #a02142;
  --poeh-dorado: #bc955b;
  --poeh-dorado-light: #ddc9a3;
  --poeh-gris-oscuro: #6f7271;
  --poeh-gris-medio: #98989a;
  --poeh-bg-body: #f8f9fa;
}

body {
  background-color: var(--poeh-bg-body);
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333333;
}

/* Hero Header Institucional */
.poeh-hero-header {
  background: linear-gradient(135deg, var(--poeh-guinda) 0%, var(--poeh-guinda-light) 100%);
  color: #ffffff;
  padding: 2.5rem 1.5rem;
  border-bottom: 4px solid var(--poeh-dorado);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 15px rgba(105, 27, 49, 0.2);
}

.poeh-hero-header h1 {
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: -0.5px;
}

.poeh-hero-header p {
  color: var(--poeh-dorado-light);
  font-size: 1.05rem;
}

/* Tarjetas Rediseñadas y Elevación */
.poeh-stat-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 5px solid var(--poeh-dorado);
  border-radius: 10px;
  padding: 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.poeh-stat-card:hover, .poeh-stat-card:focus {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  outline: 2px solid var(--poeh-dorado);
}

.poeh-stat-card .icon-box {
  font-size: 2.5rem;
  color: var(--poeh-guinda);
  opacity: 0.85;
}

.poeh-stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--poeh-guinda);
  line-height: 1.2;
}

.poeh-stat-card .stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--poeh-gris-oscuro);
  font-weight: 600;
}

/* Zona Drag & Drop */
.dropzone-wrapper {
  border: 3px dashed var(--poeh-dorado);
  border-radius: 12px;
  background-color: #ffffff;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dropzone-wrapper:hover, .dropzone-wrapper.dragover {
  background-color: rgba(221, 201, 163, 0.15);
  border-color: var(--poeh-guinda);
}

.dropzone-icon {
  font-size: 3.5rem;
  color: var(--poeh-guinda);
  margin-bottom: 1rem;
}

/* Overlay de Carga Animado */
.poeh-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(105, 27, 49, 0.85);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}

.poeh-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid var(--poeh-dorado-light);
  border-top-color: var(--poeh-dorado);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Notificaciones Toast */
.poeh-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
}

.poeh-toast {
  min-width: 300px;
  background: #ffffff;
  border-left: 5px solid var(--poeh-guinda);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  border-radius: 6px;
  margin-bottom: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Botón Institucional */
.btn-poeh {
  background-color: var(--poeh-guinda);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.btn-poeh:hover, .btn-poeh:focus {
  background-color: var(--poeh-guinda-light);
  color: #ffffff;
}

.btn-poeh-outline {
  background-color: transparent;
  color: var(--poeh-guinda);
  border: 2px solid var(--poeh-guinda);
  font-weight: 600;
}

.btn-poeh-outline:hover {
  background-color: var(--poeh-guinda);
  color: #ffffff;
}