/* styles_policy.css */
.policy-modal .modal-content {
    max-width: 800px;
    width: 95%;
    border-radius: 15px;
    overflow: hidden;
}

.policy-text-container {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.policy-text-container h3 {
    color: var(--primary-green);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.2rem;
}

.policy-text-container p {
    margin-bottom: 1rem;
}

.policy-text-container ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* Scrollbar personalizado */
.policy-text-container::-webkit-scrollbar {
    width: 6px;
}

.policy-text-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.policy-text-container::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .policy-modal .modal-header h2 {
        font-size: 1.2rem;
    }
    .policy-text-container {
        font-size: 0.95rem;
    }
}



/* ============================================================================
   SECCIÓN LEGAL
   ============================================================================ */

.web-legal-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.web-legal-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.web-legal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.web-legal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.web-legal-header i {
    font-size: 1.2rem;
}

.web-legal-card .web-form-grid {
    padding: 1.5rem;
    gap: 1.25rem;
}

.web-legal-textarea {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    resize: vertical;
    min-height: 200px;
}

.web-legal-card small {
    display: block;
    margin-top: 0.5rem;
    color: #718096;
    font-size: 0.85rem;
}

/* Colores distintivos para cada tarjeta legal */
.web-legal-card:nth-child(1) .web-legal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.web-legal-card:nth-child(2) .web-legal-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.web-legal-card:nth-child(3) .web-legal-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.web-legal-card:nth-child(4) .web-legal-header {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}