/* ================================
   RESET Y BASE
================================ */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #020617;
    color: #e5e7eb;
}

/* ================================
   CONTENIDO GENERAL
================================ */
.info {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

/* ================================
   TITULOS DE CARPETA
================================ */
.ano {
    margin-top: 60px;
    margin-bottom: 15px;
    padding-bottom: 6px;
    font-size: 1.2rem;
    color: #38bdf8;
    border-bottom: 1px solid #1e293b;
}

/* ================================
   LISTA DE ARCHIVOS
================================ */
.lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pdf-item {
    position: relative;
    background-color: #020617;
    border: 1px solid #1e293b;
    border-left: 4px solid #38bdf8;
    border-radius: 8px;
    margin-bottom: 10px;
}

.pdf-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: #e5e7eb;
}

.pdf-item a:hover {
    background-color: rgba(56, 189, 248, 0.05);
}

/* ================================
   ICONOS
================================ */
.icono {
    font-size: 20px;
}

/* ================================
   PREVIEW FLOTANTE
================================ */
.preview {
    display: none;
    position: absolute;
    top: -10px;
    left: calc(100% + 20px);
    width: 420px;
    height: 260px;
    background-color: #020617;
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 6px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Mostrar preview solo al hover */
.pdf-item:hover .preview {
    display: block;
}

/* Contenido del preview */
.preview iframe,
.preview img {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
    background-color: #ffffff;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .preview {
        display: none !important;
    }
}