
/* Heritage Finance Downloads - Frontend Styles */
.hf-downloads-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.hf-welcome {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(30, 58, 138, 0.1);
}

.hf-welcome h2 {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.hf-welcome p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
}

.hf-folder-section {
    margin-bottom: 50px;
}

.hf-folder-title {
    font-size: 1.8rem;
    color: #1e3a8a;
    margin: 0 0 25px 0;
    padding: 15px 0;
    border-bottom: 3px solid #e2e8f0;
    font-weight: 600;
}

.hf-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.hf-file-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hf-file-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
    border-color: #1e3a8a;
}

.hf-file-icon {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 50%;
}

.hf-file-info {
    margin-bottom: 20px;
    flex-grow: 1;
}

.hf-file-info h4 {
    font-size: 1.1rem;
    color: #1e3a8a;
    margin: 0 0 8px 0;
    font-weight: 600;
    word-break: break-word;
}

.hf-file-size {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.hf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
}

.hf-download-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.3);
    color: white;
    text-decoration: none;
}

.hf-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #dc2626;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hf-files-grid {
        grid-template-columns: 1fr;
    }
    
    .hf-welcome h2 {
        font-size: 2rem;
    }
    
    .hf-welcome p {
        font-size: 1rem;
    }
    
    .hf-folder-title {
        font-size: 1.5rem;
    }
}
