/* ----------------------------------- */
/* Estilo general */
body {
    font-family: Arial, sans-serif;
}

/* Contenedor principal de la sección de actas */
.actas-section {
    max-width: 800px;
    margin: auto;
}

.actas-section h1 {
    font-size: 24px;
    color: #800000;
    margin-bottom: 20px;
}

/* ----------------------------------- */
/* Estilo del buscador */
.search-container {
    margin-bottom: 20px;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Lista de sugerencias */
.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 150px;
    overflow-y: auto;
    z-index: 10;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

/* ----------------------------------- */
/* Estilo de actas */
.actas {
    margin-bottom: 30px;
}

.actas.hidden {
    display: none;
}

.actas h2 {
    font-size: 20px;
    color: #800000;
}

.actas-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.actas-item img {
    width: 90px;
    margin-right: 10px;
}

.actas-item a {
    margin-left: auto;
    color: #c39d66;
    text-decoration: none;
}

.actas-item a:hover {
    text-decoration: underline;
}

.actas-item .info {
    display: flex;
    flex-direction: column;
}

.actas-item .info span {
    font-size: 14px;
    color: #666;
}

/* ----------------------------------- */
/* Contenedor de acciones */
.actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-left: 40px;
    flex-shrink: 0;
}

/* Separador entre los enlaces */
.actions .separator {
    color: #666;
    font-size: 14px;
    margin: 0 10px;
}

/* Estilo de los enlaces */
.actions a {
    color: #c39d66;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.actions a:hover {
    text-decoration: underline;
}

/* Estilo del tamaño de archivo ("Cargando...") */
.actions .file-size {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Estilo de íconos */
.actions i {
    font-size: 16px;
}

/* ----------------------------------- */
/* Adaptaciones para pantallas pequeñas */
@media (max-width: 600px) {
    .actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .actions .separator {
        display: none;
    }

    .actions .file-size {
        margin-top: 5px;
        font-size: 12px;
        text-align: left;
    }

    .actions a {
        font-size: 14px;
    }
}

/* Ajustes para pantallas grandes */
@media (min-width: 601px) {
    .actions .file-size {
        font-size: 14px;
        text-align: left;
    }
}

/* ----------------------------------- */
/* Estilo de mensajes específicos */
.actions .file-size {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* ----------------------------------- */
