/* ============================================================================
 * Estilos "Quemando Estafadores" - Versión 5.4
 * ============================================================================
 */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@400;700&display=swap');

/* CONTENEDOR GENERAL */
.qe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Roboto', sans-serif;
    color: #e0e0e0;
    background-color: #1e1e1e;
    min-height: 100vh;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

/* TITULO */
.qe-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 3em;
    color: #00e676;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

/* FORM BUSQUEDA */
.qe-search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.qe-search-form form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    background: rgba(30, 30, 30, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.qe-search-form label {
    font-size: 1.5em;
    color: #bdbdbd;
    font-family: 'Orbitron', sans-serif;
}
.qe-search-form input[type="text"] {
    padding: 15px;
    width: 250px;
    border: 2px solid #00e676;
    border-radius: 8px;
    background-color: #121212;
    color: #e0e0e0;
    font-size: 1em;
    transition: border-color 0.3s ease;
}
.qe-search-form input[type="text"]::placeholder {
    color: #757575;
}
.qe-search-form input[type="text"]:focus {
    border-color: #00bfa5;
    outline: none;
}
.qe-search-form button {
    padding: 15px 30px;
    background-color: #00b0ff;
    color: #1e1e1e;
    border: 2px solid #00b0ff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}
.qe-search-form button:hover {
    background-color: #0091ea;
    border-color: #0091ea;
    box-shadow: 0 0 15px #00e676;
}

/* LISTA DE REPORTES */
.qe-reportes-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 10px;
}

/* ITEM REPORTE */
.qe-reporte-item {
    background: rgba(44, 44, 44, 0.9);
    border: 2px solid #424242;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}
.qe-reporte-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.9);
}

/* TEXTO */
.qe-reporte-content {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* IMAGENES */
.qe-reporte-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

/* Contenedor de imagen con carrusel elegante */
.qe-image-wrapper {
    flex: 1 1 calc(25% - 15px);
    max-width: calc(25% - 15px);
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Enlace tipo lightbox */
.qe-image-wrapper a.qe-lightbox {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

/* Imagen dentro del lightbox */
.qe-image-wrapper a.qe-lightbox img {
    display: block;
    width: 100%;
    height: auto;
    border: 2px solid #00e676;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 255, 100, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover elegante */
.qe-image-wrapper a.qe-lightbox img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00e676;
    cursor: zoom-in;
}

/* Modo Lightbox activo (previene scroll de fondo) */
body.glightbox-open {
    overflow: hidden;
}


/* BOTONES */
.qe-ver-mas-btn,
.qe-volver-btn {
    padding: 12px 25px;
    background-color: #00b0ff;
    color: #1e1e1e;
    border: 2px solid #00b0ff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    margin-right: 10px;
}
.qe-ver-mas-btn:hover,
.qe-volver-btn:hover {
    background-color: #0091ea;
    border-color: #0091ea;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.7);
}

/* CONTENIDO COMPLETO (OCULTO) */
.qe-contenido-completo {
    display: none;
    margin-top: 25px;
    background-color: rgba(30, 30, 30, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
}
.qe-contenido-completo p {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* SIN REPORTES */
.qe-no-reportes {
    text-align: center;
    font-size: 1.5em;
    color: #bdbdbd;
    margin-top: 40px;
    font-family: 'Orbitron', sans-serif;
}
.qe-no-reportes-button {
    text-align: center;
    margin-top: 20px;
}
.qe-no-reportes-button .qe-banner-btn {
    padding: 12px 30px;
    background-color: #00e676;
    color: #1e1e1e;
    border: 2px solid #00e676;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}
.qe-no-reportes-button .qe-banner-btn:hover {
    background-color: #00c853;
    border-color: #00c853;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.7);
}

/* HEADER MODERNO Y OSCURO */
.qe-header {
    background: linear-gradient(90deg, #1c1c1c, #2c2c2c);
    color: #ffffff;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Orbitron', sans-serif;
    transition: background-color 0.3s ease-in-out;
}

/* LOGO */
.qe-logo a {
    font-size: 1.4em;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.qe-logo a:hover {
    color: #00e676;
    text-shadow: 0 0 6px rgba(0, 230, 118, 0.5);
}

/* NAV ENLACE */
.qe-nav a.qe-nav-binsp {
    font-size: 1.2em;
    padding: 8px 18px;
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.qe-nav a.qe-nav-binsp::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
    transition: all 0.4s ease;
    z-index: 0;
}
.qe-nav a.qe-nav-binsp:hover::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.qe-nav a.qe-nav-binsp:hover {
    transform: scale(1.05);
    color: #00e676;
}

/* Asegura que el texto esté encima del ::before */
.qe-nav a.qe-nav-binsp {
    position: relative;
    z-index: 1;
}

/* BANNER MODERNO Y ELEGANTE */
.qe-banner {
    width: 100%;
    background-color: #151515; /* Más sobrio y oscuro */
    color: #ffffff;
    padding: 25px 20px;
    text-align: center;
    margin-top: 20px;
    border-top: 3px solid #00e676;
    border-bottom: 3px solid #00e676;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    background-image: none !important; /* Elimina fondos degradados o dinámicos */
    background-size: cover;
    background-position: center;
}

.qe-banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.qe-banner h1 {
    font-size: 2em;
    font-weight: 700;
    color: #00e676;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.qe-banner p {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 16px;
    font-family: 'Roboto', sans-serif;
}

.qe-banner-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #00e676;
    color: #121212;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    font-family: 'Orbitron', sans-serif;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.qe-banner-btn:hover {
    background-color: #00c853;
    transform: translateY(-2px);
}

/* ==========================================================================
📱 RESPONSIVE DESIGN AJUSTADO Y ELEGANTE
========================================================================== */

/* TABLET (<= 1024px) */
@media (max-width: 1024px) {
    .qe-container {
        padding: 30px 20px;
    }

    .qe-title {
        font-size: 2.3em;
    }

    .qe-banner {
        padding: 25px 15px;
    }

    .qe-banner h1 {
        font-size: 1.8em;
    }

    .qe-banner p {
        font-size: 0.95em;
    }

    .qe-image-wrapper {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }

    .qe-reporte-content {
        font-size: 1.1em;
    }
}

/* TABLET Y MÓVIL (<= 768px) */
@media (max-width: 768px) {
    .qe-container {
        padding: 20px 12px;
    }

    .qe-title {
        font-size: 2em;
    }

    .qe-search-form form {
        flex-direction: column;
        align-items: stretch;
    }

    .qe-search-form input[type="text"],
    .qe-search-form button {
        width: 100%;
        font-size: 1em;
        padding: 10px 0;
    }

    .qe-reportes-list {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .qe-reporte-item {
        padding: 20px;
    }

    .qe-reporte-content,
    .qe-contenido-completo p {
        font-size: 1em;
    }

    .qe-ver-mas-btn,
    .qe-volver-btn {
        margin-top: 10px;
        width: 100%;
        font-size: 0.95em;
    }

    .qe-header {
        flex-direction: column;
        align-items: center;
        padding: 10px 15px;
        text-align: center;
    }

    .qe-logo a {
        font-size: 1.2em;
        letter-spacing: 1.5px;
    }

    .qe-banner {
        padding: 20px 15px;
    }

    .qe-banner h1 {
        font-size: 1.4em;
    }

    .qe-banner p {
        font-size: 0.9em;
    }

    .qe-banner-btn {
        font-size: 0.9em;
        padding: 10px 20px;
    }

    .qe-reporte-images {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        gap: 12px;
    }

    .qe-image-wrapper {
        flex: 0 0 auto;
        width: 220px;
        max-width: none;
    }

    .qe-image-wrapper a.qe-lightbox img {
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }
}

/* MÓVIL PEQUEÑO (<= 480px) */
@media (max-width: 480px) {
    .qe-container {
        padding: 15px 10px;
    }

    .qe-banner {
        padding: 18px 12px;
    }

    .qe-banner h1 {
        font-size: 1.2em;
        margin-bottom: 8px;
    }

    .qe-banner p {
        font-size: 0.85em;
        margin-bottom: 12px;
    }

    .qe-banner-btn {
        font-size: 0.8em;
        padding: 8px 16px;
    }

    .qe-image-wrapper {
        flex: 0 0 auto;
        width: 180px;
        margin-bottom: 10px;
    }

    .qe-image-wrapper a.qe-lightbox img {
        border-width: 2px;
        border-radius: 6px;
        max-height: 250px;
        object-fit: contain;
    }

    .qe-ver-mas-btn,
    .qe-volver-btn {
        font-size: 0.85em;
    }
}

@media (max-width: 768px) {
  .qe-reporte-images {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 12px;
  }

  .qe-image-wrapper {
    flex: 0 0 auto;
    width: 220px;
    max-width: none;
  }

  .qe-image-wrapper a.qe-lightbox img {
    height: auto;
    max-height: 300px;
    object-fit: contain;
  }
}

