/* ══════════════════════════════════════════════════
   Pregón - Diseño ERP Funcional
   ══════════════════════════════════════════════════ */

/* Página */
.erp-page { background: #f4f6f9; min-height: 100vh; padding: 32px 24px 60px; }
.erp-page__container { max-width: 1200px; margin: 0 auto; }

/* Header página */
.erp-page-header { text-align: center; margin-bottom: 32px; }
.erp-page-header__title {
    font-size: 1.75rem; font-weight: 700; color: #1B365D;
    margin: 0 0 8px; display: flex; align-items: center;
    justify-content: center; gap: 12px;
}
.erp-page-header__title i { font-size: 1.5rem; color: #3273dc; }
.erp-page-header__subtitle {
    font-size: 0.9375rem; color: #6c757d; margin: 0;
}

/* Sección con diseño premium */
.erp-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    border-radius: 12px;
    box-shadow: 
        0 4px 16px rgba(27, 54, 93, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid #e8ecf0;
}
.erp-section__header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: #fff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
}

/* Línea decorativa inferior del header */
.erp-section__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}
.erp-section__title {
    font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin: 0;
    display: flex; align-items: center; gap: 8px;
}
.erp-section__body { padding: 0; }
.erp-section__body--padded { padding: 20px; }

/* Contenido del pregón con diseño premium */
.erp-pregon-content {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: #1e293b;
    text-align: center;
    max-width: 85%;
    margin: 0 auto;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
    padding: 32px 0;
}

/* Comillas decorativas */
.erp-pregon-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: #1B365D;
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Separadores decorativos */
.erp-pregon-content::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #1B365D 50%, transparent 100%);
    margin: 24px auto 0;
}

/* Panel estado */
.erp-status-panel {
    border-left: 4px solid; border-radius: 0 6px 6px 0;
    padding: 16px 20px;
    display: flex; align-items: flex-start; gap: 12px;
}
.erp-status-panel--info { background: #eff6ff; border-color: #3273dc; }
.erp-status-panel__icon { font-size: 1.2rem; margin-top: 1px; flex-shrink: 0; }
.erp-status-panel--info .erp-status-panel__icon { color: #3273dc; }
.erp-status-panel__title {
    font-size: 0.95rem; font-weight: 700; color: #2c3e50; margin: 0 0 4px;
}
.erp-status-panel__text {
    font-size: 0.875rem; color: #6c757d; margin: 0; line-height: 1.5;
}

/* Badges con diseño premium */
.erp-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.erp-badge--blue {
    background: linear-gradient(135deg, #3273dc 0%, #4a8df0 100%);
    color: #ffffff;
}

/* Responsive - Diseño Móvil Elegante */
@media (max-width: 768px) {
    .erp-page { padding: 20px 16px; }
    .erp-page-header__title { font-size: 1.35rem; }
    .erp-section__header { 
        flex-direction: column; 
        align-items: flex-start;
        padding: 16px 20px;
    }
    
    .erp-pregon-content {
        font-size: 0.9375rem;
        max-width: 100%;
        padding: 24px 0;
        line-height: 1.8;
    }
    
    /* Ajustar comillas decorativas en móvil */
    .erp-pregon-content::before {
        font-size: 3rem;
        top: -5px;
    }
    
    /* Separador decorativo en móvil */
    .erp-pregon-content::after {
        width: 50px;
        margin-top: 20px;
    }
    
    /* Status panel móvil */
    .erp-status-panel {
        border-radius: 12px;
        padding: 14px 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
}