.quote-customer-evidence {
    display: grid;
    gap: 1rem;
}

.quote-customer-evidence-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 5rem;
    padding: 1rem;
    color: #4b5563;
    text-align: center;
}

.quote-customer-evidence-status--error {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
}

.quote-customer-evidence-group {
    display: grid;
    gap: 0.5rem;
}

.quote-customer-evidence-heading {
    margin: 0;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
}

.quote-customer-evidence-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #ffffff;
}

.quote-customer-evidence-card--expired {
    border-color: #fecaca;
    background: #fef2f2;
}

.quote-customer-evidence-file-icon {
    color: #6b7280;
    font-size: 1.125rem;
}

.quote-customer-evidence-details {
    min-width: 0;
}

.quote-customer-evidence-name,
.quote-customer-evidence-description {
    overflow-wrap: anywhere;
}

.quote-customer-evidence-name {
    color: #111827;
    font-weight: 500;
}

.quote-customer-evidence-meta,
.quote-customer-evidence-description,
.quote-customer-evidence-unavailable,
.quote-customer-evidence-summary {
    color: #6b7280;
    font-size: 0.75rem;
}

.quote-customer-evidence-description {
    margin-top: 0.2rem;
    color: #4b5563;
}

.quote-customer-evidence-expired {
    color: #b91c1c;
    font-weight: 600;
}

.quote-customer-evidence-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.quote-customer-evidence-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #2563eb;
    cursor: pointer;
}

.quote-customer-evidence-action:hover {
    background: #eff6ff;
}

.quote-customer-evidence-action:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.quote-customer-evidence-summary {
    margin: 0;
    text-align: center;
}

@media (max-width: 640px) {
    .quote-customer-evidence-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .quote-customer-evidence-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}
