/* Inspection Files Tab Styles */

.files-empty {
    padding: 32px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.files-empty i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.file-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.file-card:last-child { border-bottom: none; }

.file-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-thumb i {
    font-size: 20px;
    color: #94a3b8;
}

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

.file-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-context {
    font-size: 12px;
    color: #059669;
    font-weight: 500;
    margin-top: 2px;
}

.file-meta {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.file-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.file-action-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s;
}

.file-action-btn:hover { background: #f1f5f9; color: #334155; }
.file-action-btn.action-danger:hover { background: #fef2f2; color: #dc2626; }

/* ========== Buttons ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.btn:active { transform: scale(0.97); }

.btn-primary { background: #059669; color: #ffffff; }
.btn-primary:hover { background: #047857; }

.btn-secondary { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.btn-secondary:hover { background: #e2e8f0; }

.btn-sm { padding: 5px 10px; font-size: 12px; }
