.vx-legal-wrap {
    background-color: #faf8f6;
}

.vx-legal-body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 40px 100px;
}
.vx-legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--vx-border);
}
.vx-legal-section:last-of-type {
    border-bottom: none;
}
.vx-legal-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #800a18;
    margin-bottom: 14px;
}
.vx-legal-text {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.9;
    color: rgb(0, 0, 0);
    margin-bottom: 12px;
    text-align: justify;
}
.vx-legal-list {
    padding-left: 1.2em;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.vx-legal-list li {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(37, 10, 10, 0.897);
}

.vx-legal-settings-btn {
    display: flex; 
    width: fit-content;
    margin: 12px auto 0; 
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #800a18; /* Vino Vexis */
    background: rgba(128, 10, 24, 0.05); 
    border: 1px solid rgba(128, 10, 24, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;

    
    -webkit-user-select: none; 
    -moz-user-select: none;   
    user-select: none;         
}

.vx-legal-settings-btn:hover {
    background: #800a18;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(128, 10, 24, 0.2);
    transform: translateY(-2px);
}

.vx-legal-settings-btn:active {
    transform: translateY(0);
}


.vx-contact-politics,
.vx-contact-politics:visited,
.vx-contact-politics:active {
    color: #800a18; 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 13px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.vx-contact-politics:hover {
    color: #9e2a39; 
    text-shadow: 0 0 8px rgba(128, 10, 24, 0.4); 
    text-decoration: none; 
}

.vx-legal-footer {
    text-align: center;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.vx-legal-logo {
    width: 150px;
}
.vx-legal-date {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #800a18;
}

.vx-mat-table-wrap {
    margin-top: 28px;
    overflow-x: auto;
    border: 1px solid var(--vx-border);
    display: flex;
    justify-content: center;
}

.vx-mat-table {
    width: 80%;
    border-collapse: collapse;
    font-size: 11px;
    
}

.vx-mat-table thead {
    /* Un toque de vino muy sutil para el encabezado */
    background: rgba(128, 10, 24, 0.08); 
}

.vx-mat-table th {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    font-weight: 700; /* Subimos un poco el peso para legibilidad */
    letter-spacing: 0.2em;
    text-transform: uppercase;
    /* Usamos tu color vino de marca para los títulos de la tabla */
    color: #800a18; 
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(128, 10, 24, 0.15);
    text-align: center;
}

.vx-mat-table td {
    padding: 11px 16px;
    /* Un gris-vino oscuro casi negro para el contenido */
    color: #2a0508; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 400; /* 300 era muy delgado para fondos claros */
    text-align: center;    
}

.vx-mat-table tr:last-child td {
    border-bottom: none;
}

.vx-mat-table tr:hover td {
    /* El hover ahora oscurece ligeramente el fondo */
    background: rgba(128, 10, 24, 0.04);
    color: #000000;
}

.vx-idx-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    /* Borde oscuro translúcido */
    border: 1px solid rgba(0, 0, 0, 0.1); 
    font-size: 10px;
    font-weight: 600;
    color: #555555;
    border-radius: 4px; /* Opcional, para suavizar la píldora */
}

/* El verde ahora es más oscuro para que resalte sobre el blanco */
.vx-idx-pill.vx-idx-up {
    background: rgba(46, 125, 50, 0.1);
    border-color: rgba(46, 125, 50, 0.4);
    color: #1b5e20; 
}

@media (max-width: 768px) {
    .vx-legal-body { padding: 32px 20px 80px; }
}