/* Hoja de estilos para seccion y modal de Aviso de Privacidad */

.privacy-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1rem;
}

.privacy-card {
    background-color: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 2.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.privacy-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.privacy-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0;
}

.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #1f2937;
    color: #9ca3af;
    border: 1px solid #374151;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
}

.privacy-content {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.8;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 1rem;
    white-space: pre-line;
}

.privacy-content::-webkit-scrollbar {
    width: 6px;
}

.privacy-content::-webkit-scrollbar-track {
    background: #111827;
    border-radius: 4px;
}

.privacy-content::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}

.privacy-content::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

.privacy-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.privacy-contact-label {
    font-weight: 600;
    color: #e5e7eb;
}

.privacy-email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #60a5fa;
    text-decoration: none;
    background-color: #111827;
    border: 1px solid #1f2937;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.privacy-email-link:hover {
    background-color: #1e293b;
    border-color: #3b82f6;
    color: #93c5fd;
}

.privacy-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #9ca3af;
    text-decoration: underline;
    margin-top: 0.75rem;
    transition: color 0.2s ease;
}

.privacy-inline-link:hover {
    color: #f3f4f6;
}

/* Modal en tema claro para portal de rastreo (layouts/navbar.blade.php) */
.privacy-modal-light .modal-content {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.privacy-modal-light .modal-header {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 1.5rem;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.privacy-modal-light .modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
}

.privacy-modal-light .modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
    font-size: 0.92rem;
    line-height: 1.75;
    color: #374151;
    white-space: pre-line;
}

.privacy-modal-light .modal-body::-webkit-scrollbar {
    width: 6px;
}

.privacy-modal-light .modal-body::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.privacy-modal-light .modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.privacy-modal-light .modal-footer {
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 0.85rem 1.5rem;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.privacy-arco-badge {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 1rem;
}

/* Ajustes para pantalla de configuracion administrativa */
.privacy-config-banner {
    background-color: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.privacy-config-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.privacy-textarea {
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.6;
    min-height: 280px;
    resize: vertical;
}
