/* politica.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f1f5f9;
    margin: 0;
    padding: 0;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Contenedor de la Política */
.policy-card {
    background: #ffffff;
    border-radius: 16px;
    max-width: 750px;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-top: 6px solid #C0392B; /* Borde institucional */
    padding: 40px;
    box-sizing: border-box;
    animation: fadeIn 0.4s ease-out;
}

.policy-header {
    text-align: center;
    margin-bottom: 25px;
}

.policy-title {
    font-size: 22px;
    font-weight: 800;
    color: #0F1F2C;
    margin: 0 0 5px 0;
    letter-spacing: -0.3px;
}

.policy-subtitle {
    font-size: 12px;
    color: #C0392B; /* Rojo institucional */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Caja de Texto Legal */
.policy-text-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 30px;
    max-height: 280px;
    overflow-y: auto; /* Scroll por seguridad si se expande */
}

.policy-text-box a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}
.policy-text-box a:hover {
    text-decoration: underline;
}

.policy-pdf-icon {
    color: #C0392B;
    margin-left: 4px;
    font-size: 15px;
}

/* Botonera Principal */
.policy-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
}

.btn-policy {
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease-in-out;
}

.btn-accept {
    background-color: #007a78;
    color: white;
}
.btn-accept:hover {
    background-color: #005a58;
    transform: translateY(-1px);
}

.btn-decline {
    background-color: #94a3b8;
    color: white;
}
.btn-decline:hover {
    background-color: #64748b;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajustes Responsivos */
@media (max-width: 600px) {
    .policy-card { padding: 25px; }
    .policy-actions { flex-direction: column-reverse; }
    .btn-policy { width: 100%; text-align: center; }
}
