/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* ==========================================================================
   1. VARIABLES Y ESTILOS GENERALES
   ========================================================================== */
:root {
    --color-bg: #121212;
    --color-text: #E0E0E0;
    --color-disponible: #4bf915; /* Verde Principal */
    --color-seleccionado: #128a41; /* Verde Oscuro */
    --color-pendiente: #FF9800;  /* Naranja */
    --color-comprado: #D92B2B;   /* Rojo */
    --color-dark-grey: #282828;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-align: center;
}

.main-button {
    background-color: var(--color-disponible);
    color: var(--color-bg);
    border: none;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.main-button:hover {
    background-color: #39db07;
}

.container {
    width: 60%;
    max-width: 1100px;
    margin: 2rem auto;
    background-color: var(--color-dark-grey);
    padding: 2rem;
    border-radius: 10px;
    box-sizing: border-box;
}

/* ==========================================================================
   2. ESTRUCTURA (HEADER, FOOTER, ETC.)
   ========================================================================== */
.topbar {
    background-color: var(--color-disponible);
    color: var(--color-bg);
    display: flex;
    justify-content: space-around;
    padding: 10px 2rem;
    width: 100%;
    box-sizing: border-box;
    font-weight: 600;
}
/* --- Estilos para enlaces del Topbar --- */
.topbar a {
    color: #000; /* Color de texto negro */
    text-decoration: none;
    transition: color 0.3s;
}

.topbar a:hover {
    color: #fff; /* Color de texto blanco al pasar el ratón */
}

/* --- Estilos para enlaces del Footer (Columna de Widgets) --- */
.footer-column a {
    color: #000; /* Color de texto negro */
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #fff; /* Color de texto blanco al pasar el ratón */
    text-decoration: underline;
}

.main-header {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-sizing: border-box;
}

.header-logo img {
    height: 50px; /* Altura del logo */
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.main-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
}

.cta-button {
    background-color: var(--color-disponible);
    color: var(--color-bg);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
}

.widget-footer {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
    box-sizing: border-box;
}

.footer-column {
    flex: 1;
    padding: 0 1rem;
}

.footer-column h4 {
    margin-top: 0;
    text-transform: uppercase;
    color: var(--color-disponible);
}

.footer-column ul { list-style: none; padding: 0; }
.footer-column a { color: var(--color-text); text-decoration: none; line-height: 2; }
.footer-column a:hover { text-decoration: underline; }

.main-footer {
    background-color: var(--color-disponible);
    color: var(--color-bg);
    text-align: center;
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
    font-weight: 600;
}
/* Alinea el menú de navegación y el botón 'Comprar Tickets' en la misma línea */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem; /* Espacio entre el menú y el botón */
}
/* --- Estilos para el enlace del Footer Principal --- */
.main-footer a {
    color: #000; /* Color de texto negro */
    text-decoration: none; /* Opcional: quita el subrayado */
    transition: color 0.3s;
}

.main-footer a:hover {
    color: #fff; /* Color de texto blanco al pasar el ratón */
}


/* ==========================================================================
   3. PÁGINA DE INICIO (INICIO.PHP)
   ========================================================================== */
.main-container {
    width: 100%;
    max-width: 80%;
    padding: 0 0 100px 0;
    box-sizing: border-box;
}

.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.hero-left, .hero-right {
    flex: 1;
    min-width: 300px;
    padding: 0px;
}
.hero-left { text-align: center; }
.hero-left h2 { font-size: 2.5rem; margin: 0; }
.prize-title {
    font-size: 5rem;
    color: var(--color-disponible);
    text-shadow: 0 0 20px var(--color-disponible);
    margin: 0;
    line-height: 1;
}
.prize-image { max-width: 100%; margin-top: 0; }
.hero-right ul { list-style: none; padding: 0; margin: 0 0 2rem 0; }
.hero-right ul li { margin-bottom: 1rem; font-size: 1.1rem; }

.progress-container { margin-bottom: 2rem; }
.progress-text { margin-bottom: 0.5rem; font-size: 1.2rem; }
.progress-bar-background {
    width: 100%;
    height: 50px;
    background-color: #E0E0E0;
    border-radius: 5px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background-color: var(--color-disponible);
}

.buy-button {
    display: block;
    background-color: var(--color-disponible);
    color: var(--color-bg);
    padding: 20px;
    text-align: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 10px;
}

.details-section { margin-top: 7rem; }
.details-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.details-box {
    background-color: var(--color-disponible);
    color: var(--color-bg);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    flex-grow: 1;
    min-width: 200px;
}
.details-box strong { display: block; font-size: 3rem; }
.details-box span { font-size: 1.2rem; }

#countdown-timer {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    text-align: center;
    margin: 1rem 0;
}
.countdown-unit { display: flex; flex-direction: column; align-items: center; }
.countdown-value {
    background-color: var(--color-bg);
    color: var(--color-disponible);
    border: 3px solid var(--color-disponible);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;

    /* --- LÍNEAS AÑADIDAS PARA LA CORRECCIÓN --- */
    width: 120px; /* Ancho fijo para evitar que el tamaño cambie */
    box-sizing: border-box; /* Asegura que el padding se incluya en el ancho */
}
.countdown-label { margin-top: 0.5rem; font-size: 1rem; font-weight: 600; text-transform: uppercase; }

/* ==========================================================================
   4. PÁGINAS DE COMPRA (SELECCIONAR, CONFIRMAR)
   ========================================================================== */
.range-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-bottom: 2rem;
}
/* --- Estilos para los Filtros de Rango de Tickets --- */

.range-filter {
    /* 1. Formato Normal */
    background-color: transparent;
    border: 2px solid var(--color-disponible);
    color: var(--color-disponible);

    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.range-filter:hover {
    /* 2. Al Pasar el Mouse */
    background-color: var(--color-disponible);
    color: var(--color-bg); /* Color de texto negro */
}

.range-filter.active {
    /* 3. Botón Activo/Seleccionado */
    background-color: var(--color-disponible);
    color: #000; /* Color de texto blanco */
    border-color: var(--color-disponible);
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
}
.ticket {
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    user-select: none;
    color: var(--color-bg);
    transition: transform 0.2s, box-shadow 0.2s;
}
.ticket.disponible { background-color: var(--color-disponible); cursor: pointer; }
.ticket.seleccionado { background-color: #d48208; color: white; transform: scale(1.1); }
.ticket.pendiente { background-color: var(--color-pendiente); cursor: not-allowed; opacity: 0.8; }
.ticket.comprado {
    background-color: #676767;
    cursor: not-allowed;
    opacity: 0.8;
    transform: scale(1.1);
}
.ticket.disponible:hover { transform: scale(1.1); box-shadow: 0 0 15px var(--color-disponible); }

.summary-and-next { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-top: 2rem; width: 100%; }
.summary-display {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
}
.summary-item { text-align: center; }
.summary-item span { display: block; font-size: 1rem; color: #aaa; }
.summary-item strong { font-size: 1.5rem; color: var(--color-disponible); }

#purchase-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
#purchase-form input[type="text"],
#purchase-form input[type="email"],
#purchase-form input[type="tel"] {
    background-color: transparent;
    border: 2px solid var(--color-disponible);
    color: var(--color-text);
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
}

.payment-methods-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}
.payment-method-img {
    height: 150px;
    cursor: pointer;
    border-radius: 8px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 4px 6px black);
    opacity: 0.7;
}
.payment-method-img:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.1); }
.payment-method-img.selected { opacity: 1; filter: grayscale(0%); border-color: var(--color-disponible); transform: scale(1.1); }

.instructions-container {
    display: flex;
    flex-wrap: wrap;
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    gap: 1.5rem;
}
.instructions-text { flex: 2; min-width: 250px; }
.instructions-text h4 { margin-top: 0; color: var(--color-disponible); }
.instructions-image { flex: 1; display: flex; justify-content: center; align-items: center; }
.instructions-image img { max-width: 100%; border-radius: 8px; }

.upload-area { border: 2px dashed #888; padding: 2rem; text-align: center; cursor: pointer; border-radius: 5px; }

.form-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.form-actions .main-button, .form-actions .back-button { margin-top: 0; }
.back-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #555;
    color: var(--color-text);
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
}
.back-button:hover { background-color: #39db07; }


/* ==========================================================================
   5. PÁGINAS DE UTILIDAD (MIS TICKETS, RESULTADOS, AGRADECIMIENTO)
   ========================================================================== */
.tickets-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 700px;
    margin: auto;
}
.search-form-tickets {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    gap: 1rem;
}
.input-icon-wrapper { position: relative; }
.search-form-tickets .search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #888; }
.search-form-tickets input {
    background-color: white;
    border: 2px solid var(--color-disponible);
    color: var(--color-bg);
    padding: 15px 15px 15px 45px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.historial-title { text-transform: uppercase; margin-top: 3rem; }
.legend-container { display: flex; justify-content: center; gap: 2rem; margin: 1.5rem 0; }
.legend-item { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.legend-ticket { display: inline-block; width: 40px; height: 20px; border-radius: 4px; }
.legend-ticket.pendiente { background-color: var(--color-pendiente); }
.legend-ticket.comprado { background-color: var(--color-comprado); }

.historial-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.historial-ticket { color: var(--color-bg); font-weight: 600; padding: 8px 15px; border-radius: 5px; }
.historial-ticket.pendiente { background-color: var(--color-pendiente); }
.historial-ticket.comprado { background-color: var(--color-comprado); }

.results-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
}
.winner-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin-bottom: 2.5rem;
}
.winner-badge { flex-basis: 200px; }
.winner-badge img { max-width: 100%; }
.winner-details { flex-basis: 300px; flex-grow: 1; }
.winner-details h3 { font-size: 2rem; margin-top: 0; }
.winner-details p { font-size: 1.1rem; margin: 0.5rem 0; line-height: 1.5; }

/* ==========================================================================
   6. PANEL DE ADMINISTRACIÓN
   ========================================================================== */
.admin-body { justify-content: center; min-height: 100vh; padding: 2rem; box-sizing: border-box; }
.admin-container { max-width: 1200px; position: relative; width: 100%;}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
}
.admin-header-logo img { max-height: 40px; }

.login-container { width: 100%; max-width: 400px; }
.login-container form { display: flex; flex-direction: column; gap: 1.5rem; }
.login-container form input[type="email"],
.login-container form input[type="password"] {
    background-color: #333;
    border: 2px solid var(--color-disponible);
    color: var(--color-text);
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
}
.login-container form input:focus { outline: none; box-shadow: 0 0 8px var(--color-disponible); }
.logout-link { color: var(--color-text); text-decoration: none; font-weight: 600; }

.request-card { background-color: #1a1a1a; padding: 1.5rem; border-radius: 8px; margin-bottom: 1rem; }
.request-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}
.request-info-grid span { background-color: #333; padding: 10px 12px; border-radius: 5px; word-wrap: break-word; }
.request-info-grid .correo-solicitud { font-size: 0.9rem; word-break: break-all; }

.view-image-bright {
    background-color: var(--color-pendiente);
    color: var(--color-bg);
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    padding: 10px 12px;
}
.request-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }
.action-btn {
    flex-grow: 0;
    width: 200px;
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    color: white;
}
.action-btn.approve { background-color: var(--color-disponible); }
.action-btn.reject { background-color: var(--color-comprado); }

.search-container { display: flex; justify-content: center; width: 100%; margin: 2rem 0; }
.search-form { display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 500px; }
.search-form input {
    padding: 12px;
    border: 1px solid #555;
    background-color: #222;
    color: var(--color-text);
    border-radius: 5px;
    font-size: 1rem;
}

.history-table-container { overflow-x: auto; margin-top: 2rem; }
.history-table { width: 100%; border-collapse: collapse; text-align: left; }
.history-table thead { background-color: var(--color-disponible); color: var(--color-bg); }
.history-table th, .history-table td { padding: 12px 15px; border-bottom: 1px solid #333; }
.ticket-numbers-cell { max-width: 250px; word-wrap: break-word; }

.status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-bg);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}
.status-badge.pendiente { background-color: var(--color-pendiente); }
.status-badge.comprado { background-color: var(--color-disponible); }
.status-badge.rechazado { background-color: var(--color-comprado); }

/* ==========================================================================
   7. COMPONENTES (POPUP, MENSAJES, NEWSLETTER)
   ========================================================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
    box-sizing: border-box;
}
.popup-content {
    background-color: var(--color-dark-grey);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border-top: 5px solid var(--color-disponible);
}
.popup-content h3 { margin-top: 0; font-size: 1.5rem; }
.popup-content p { line-height: 1.6; color: #ccc; }
.popup-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.popup-button {
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
}
.popup-button.primary { background-color: var(--color-disponible); color: var(--color-bg); }
.popup-button.secondary { background-color: #555; color: var(--color-text); }

#mc_embed_signup { margin-top: 1.5rem; }
#mc_embed_signup_scroll { display: flex; align-items: center; gap: 0.5rem; }
#mc_embed_signup .mc-field-group { flex-grow: 1; }
#mc_embed_signup input.email {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 2px solid #555;
    background-color: #333;
    color: var(--color-text);
    box-sizing: border-box;
}
#mc_embed_signup input.email:focus { border-color: var(--color-disponible); outline: none; }
#mc_embed_signup .button {
    background-color: var(--color-disponible);
    color: var(--color-bg);
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
}

.message.error { background-color: #dc3545; color: white; padding: 1rem; margin-bottom: 1rem; border-radius: 5px; text-align: center; }
.success-view { text-align: center; }
.success-view .icon { font-size: 5rem; color: var(--color-disponible); }

/* ==========================================================================
   8. MENÚ RESPONSIVO (HAMBURGUESA)
   ========================================================================== */
.hamburger-menu { display: none; background: none; border: none; cursor: pointer; z-index: 101; }
.hamburger-line { display: block; width: 25px; height: 3px; background-color: var(--color-text); margin: 5px 0; }

/* ==========================================================================
   9. RESPONSIVIDAD GENERAL (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .container { width: 80%; }
}

@media (max-width: 768px) {
    h2 { font-size: 1.5rem; }
    .main-header { justify-content: space-between; }
    .hamburger-menu { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 100;
    }
    .nav-links.active { display: flex; }
    .main-nav ul { flex-direction: column; text-align: center; padding: 0;}
    .main-nav li { margin-bottom: 2rem; }
    .main-nav a { font-size: 1.5rem; }
    .header-cta { margin-top: 2rem; }
    .widget-footer { flex-direction: column; text-align: center; }
    .form-grid { grid-template-columns: 1fr; }
    .hero-section { flex-direction: column; }
    .details-grid { flex-direction: column; }
}

@media (max-width: 576px) {
    .container { width: 95%; padding: 1.5rem; }
    .countdown-value { font-size: 3rem; padding: 0.5rem 0.8rem; }
    .countdown-label { font-size: 0.8rem; }
    .payment-methods-images { gap: 0.5rem; }
    .payment-method-img { height: 80px; }
}
@media (max-width: 768px) {
    /* ... (otros estilos para tablet/móvil) ... */

    /* --- Ajustes para el Topbar en Móvil (Alineado) --- */
    .topbar {
        /* No usamos flex-direction: column para mantenerlo en una fila */
        justify-content: space-around; /* Distribuye el espacio entre los elementos */
        align-items: center;
        padding: 8px 0.5rem; /* Reducimos el padding para más espacio */
        gap: 0.5rem; /* Reducimos el espacio entre columnas */
    }

    .topbar-column {
        font-size: 0.75rem; /* Hacemos la fuente un poco más pequeña para que quepa */
        text-align: center;
    }
}
/* Para Tablets (hasta 992px) */
@media (max-width: 992px) {
    .main-container {
        max-width: 90%; /* Un poco más de ancho en tablets */
    }
    /* ... otros estilos ... */
}

/* Para Móviles (hasta 768px) */
@media (max-width: 768px) {
    .main-container {
        max-width: 100%; /* Ocupa casi todo el ancho */
        padding: 20px; /* Reducimos el padding */
    }
    /* ... otros estilos ... */
}
@media (max-width: 768px) {
    /* ... (otros estilos responsivos que ya tienes) ... */

    .hero-section {
        margin: -4rem 0; /* Cambia el margen superior/inferior a 2rem y elimina el lateral */
        gap: 1rem; /* Reduce el espacio entre la imagen y el texto */
    }
}
@media (max-width: 576px) {
    /* ... (otros estilos) ... */

    .countdown-value {
        font-size: 2rem;
        padding: 0.5rem 0.8rem;
        width: 80px; /* Un ancho fijo más pequeño para móviles */
    }
    /* ... (otros estilos) ... */
}
/* ==========================================================================
   14. AJUSTES RESPONSIVOS Y NUEVOS BOTONES PARA ESCRITORIO
   ========================================================================== */

/* --- Botón de ver imagen mejorado --- */
.view-image-btn {
    text-decoration: none;
    border-radius: 5px;
    padding: 10px 12px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
}
.view-image-btn:hover {
    transform: scale(1.05);
}

/* --- Controles del historial y botones de descarga --- */
.historial-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.download-btn, .download-row-btn {
    background-color: #333;
    color: var(--color-text);
    border: 1px solid var(--color-disponible);
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}
.download-btn:hover, .download-row-btn:hover {
    background-color: var(--color-disponible);
    color: var(--color-bg);
}

/* --- Responsividad del Escritorio --- */
@media (max-width: 768px) {
    .request-info-grid {
        grid-template-columns: 1fr; /* Apila la info de la solicitud */
    }

    .historial-controls {
        flex-direction: column; /* Apila el buscador y el botón de descarga */
        align-items: stretch;
    }
    
    /* Ocultar columnas menos importantes en la tabla en móvil */
    .history-table th:nth-child(3), .history-table td:nth-child(3), /* Apellido */
    .history-table th:nth-child(4), .history-table td:nth-child(4), /* Teléfono */
    .history-table th:nth-child(6), .history-table td:nth-child(6)  /* Método */
    {
        display: none;
    }
}
/* ==========================================================================
   15. ESTILOS PARA PÁGINA DE AYUDA
   ========================================================================== */

.help-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px; /* Ancho máximo del contenedor de ayuda */
    margin: 2rem auto;
    border-radius: 10px;
}

.video-responsive-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporción 16:9 para videos de YouTube */
    height: 0;
    margin-bottom: 2rem;
}

.video-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--color-disponible);
    color: var(--color-bg);
    padding: 15px 30px;
    border-radius: 30px; /* Bordes redondeados */
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.05); /* Efecto al pasar el mouse */
}

.whatsapp-icon {
    font-size: 1.5rem;
}
/* ==========================================================================
   16. ESTILOS PARA PÁGINAS LEGALES
   ========================================================================== */

.legal-page a {
    color: var(--color-disponible); /* Establece el color del enlace a tu verde principal */
    font-weight: 600; /* Opcional: hace que el enlace resalte más */
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline; /* Añade un subrayado al pasar el mouse */
}
@media (max-width: 768px) {
    /* ... (otros estilos responsivos que ya tienes) ... */

    /* --- Ajustes para las Instrucciones de Pago en Móvil --- */
    .instructions-container {
        flex-direction: column; /* Apila los elementos verticalmente */
        text-align: left; /* Centra el texto y la imagen */
    }
}