

.file-downloads-container {
    margin-top: 15px;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.downloads-intro {
    font-size: 15px;
    color: #555555;
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 400;
}

.file-downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.file-download-card {
    background: #ffffff;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.file-download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #131313, #111111);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.file-download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    border-color: #131313;
}

.file-download-card:hover::before {
    transform: translateX(0);
}

.file-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #131313 0%, #111111 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.file-icon::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.file-icon-svg {
    width: 28px;
    height: 28px;
    fill: white;
    z-index: 1;
    position: relative;
}

.file-info {
    flex-grow: 1;
    min-width: 0;
}

.file-name {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 6px 0;
    line-height: 1.3;
    word-break: break-word;
}

.file-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    font-size: 13px;
    color: #777777;
}

.file-type {
    font-weight: 600;
    color: #131313;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.file-date {
    font-size: 11px;
    color: #999999;
}

.download-action {
    flex-shrink: 0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #131313;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(255, 102, 0, 0.2);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 15px -3px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #131313 0%, #111111 100%);
    color: white;
    text-decoration: none;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:active {
    transform: translateY(0);
}

.download-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Responsive Design */
@media (max-width: 768px) {
    .file-downloads-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .file-download-card {
        padding: 20px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .file-info {
        text-align: center;
    }
    
    .file-details {
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .file-download-card {
        padding: 16px;
        margin: 0 -8px;
    }
    
    .file-name {
        font-size: 16px;
    }
    
    .download-btn {
        padding: 14px 20px;
        font-size: 16px;
    }
}

/* Animaciones adicionales */
.file-download-card {
    animation: fadeInUp 0.6s ease forwards;
}

.file-download-card:nth-child(2) {
    animation-delay: 0.1s;
}

.file-download-card:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados adicionales para diferentes tipos de archivo */
.file-download-card[data-file-type="pdf"] .file-icon {
    background: linear-gradient(135deg, #131313 0%, #111111 100%);
}

.file-download-card[data-file-type="doc"] .file-icon,
.file-download-card[data-file-type="docx"] .file-icon {
    background: linear-gradient(135deg, #131313 0%, #111111 100%);
}

.file-download-card[data-file-type="txt"] .file-icon {
    background: linear-gradient(135deg, #131313 0%, #111 100%);
}

.file-download-card[data-file-type="zip"] .file-icon {
    background: linear-gradient(135deg, #131313 0%, #111111 100%);
}







.no-documents-message {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    margin-top: 20px;
}

.no-docs-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.no-docs-svg {
    width: 40px;
    height: 40px;
    fill: #64748b;
}

.no-documents-message h3 {
    font-size: 24px;
    color: #475569;
    margin: 0 0 12px 0;
    font-weight: 600;
    text-align: center;
}

.no-documents-message p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}
