/**
 * FileBox.css - Dosya kategorisi için stil dosyası
 */

.file-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.file-item {
    background: #f1f1f1;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.file-item:hover {
    background: #e9e9e9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.file-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.file-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.file-meta {
    display: flex;
    align-items: center;
}

.file-date {
    font-size: 14px;
    font-weight: 700;
    color: #337ab7;
    /* Bootstrap primary blue-ish */
}

.file-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.file-download-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-download-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Red PDF Icon Styling if needed, or rely on the image provided by backend */
/* If the image is transparent, we might want a background, but the user image shows a colored icon. */

/* Responsive */
@media screen and (max-width: 768px) {
    .file-link {
        padding: 12px 15px;
    }

    .file-name {
        font-size: 15px;
    }

    .file-date {
        font-size: 13px;
    }
}