/* Estilos para la sección Documentos */
.documentos-container {
    padding: 2.5rem 0;
}

.documentos-header {
    display:flex;
    flex-direction:column;
    gap:0.5rem;
    margin-bottom:1rem;
}

.documentos-actions {
    display:flex;
    gap:0.75rem;
    align-items:center;
    flex-wrap:wrap;
}

.doc-search {
    padding:0.5rem 0.75rem;
    border:1px solid #e0e0e0;
    border-radius:6px;
    min-width:220px;
}

.document-list {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.document-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    width: 250px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.doc-icon {
    width:56px;
    height:56px;
    flex:0 0 56px;
    display:flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(180deg,#f4f8ff,#eef6ff);
    border-radius:10px;
    font-size:20px;
    color:#1a4f9c;
}

.doc-icon:hover {
    background: #007bff;
    color: #fff;
}

.doc-body {
    margin-bottom: 10px;
}

.doc-title {
    font-weight:700;
    color:#0b2b56;
    margin-bottom:0.25rem;
}

.doc-meta {
    color:#6b7280;
    font-size:0.9rem;
}

.doc-actions {
    display:flex;
    flex-direction:column;
    gap:0.5rem;
}

.btn-download {
    background:#1a4f9c;
    color:#fff;
    padding:0.45rem 0.7rem;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
}

.btn-download:hover { opacity:0.95 }

.btn-download:active {
    background: #007bff;
    color: #fff;
}

.note {
    margin-top: 1.25rem;
    color: #444;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .documentos-container { padding: 1rem; }
    .document-card { padding:0.7rem }
    .doc-icon { width:48px; height:48px }
}

/* Responsive styles */
@media (max-width: 768px) {
    .document-list {
        flex-direction: column;
        align-items: center;
    }

    .document-card {
        width: 90%;
    }
}
