/* File Card Improvements */

.file-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.file-details {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.file-details h4 {
    word-break: break-word;
    margin-bottom: 0.75rem;
}

.file-meta-info {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.file-size {
    font-weight: 600;
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    background: var(--gray-lighter);
    border-radius: 4px;
}

.file-date {
    color: var(--gray);
    font-size: 0.75rem;
}

.file-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.file-actions .btn {
    min-width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    border-radius: 8px;
}

.file-actions .btn-info {
    background: var(--info);
    color: var(--white);
}

.file-actions .btn-info:hover {
    opacity: 0.9;
    box-shadow: 0 2px 12px rgba(17, 205, 239, 0.3);
}

.file-actions .btn-danger {
    background: var(--danger);
    color: var(--white);
}

.file-actions .btn-danger:hover {
    opacity: 0.9;
    box-shadow: 0 2px 12px rgba(245, 54, 92, 0.3);
}
