/*
 * =============================================================
 * EFISCAL SALES SITE — Página: Detalle de Precios
 * assets/css/pages/pricing_detail.css
 * =============================================================
 */

.pricing-detail-hero {
    padding: 160px 2rem 80px;
    background: linear-gradient(135deg, var(--color-bg-subtle) 0%, var(--color-bg) 100%);
    text-align: center;
}

.pricing-detail-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.pricing-table-container {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.empty-state {
    padding: 100px 0;
    text-align: center;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .pricing-detail-hero h1 {
        font-size: 2.5rem;
    }
    .pricing-table-container {
        padding: 3rem 1rem;
    }
}

/* Modal de módulos del plan */
.modulos-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
    display: none;
}

.modulos-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-bg, #fff);
    border-radius: 16px;
    z-index: 1000;
    width: 90%;
    max-width: 460px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.25s ease;
    display: none;
}

[data-tema="oscuro"] .modulos-modal {
    background: #1e293b;
    color: #f1f5f9;
}

.modulos-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.8rem;
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.modulos-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-heading);
}

.modulos-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.modulos-modal-close:hover {
    background: rgba(0,0,0,0.05);
}

.modulos-modal-body {
    padding: 1.5rem 1.8rem;
}

.modulos-modal-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modulos-modal-body li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0;
    font-size: 0.93rem;
    color: var(--color-text-body);
    border-bottom: 1px solid var(--color-border, #f1f5f9);
}

.modulos-modal-body li i {
    flex-shrink: 0;
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.modulos-modal-body li span {
    flex: 1;
}

.modulos-modal-body li:last-child {
    border-bottom: none;
}

.modulos-modal-body li i {
    flex-shrink: 0;
    font-size: 1rem;
}

.modulos-modal-footer {
    padding: 1rem 1.8rem 1.5rem;
    text-align: center;
}

.modulos-modal-footer .btn {
    width: 100%;
    padding: 0.9rem;
    font-weight: 800;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}
