.suppliers-manage-card {
    margin-bottom: 16px;
}

.suppliers-manage-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.suppliers-manage-head h2,
.suppliers-section-title {
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.suppliers-section-title {
    margin-bottom: 12px;
}

.suppliers-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

.suppliers-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.suppliers-card.is-inactive {
    opacity: 0.65;
}

.suppliers-card__name {
    font-weight: 700;
    font-size: 0.95rem;
}

.suppliers-card__meta {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.35;
}

.suppliers-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.suppliers-page .page-header {
    align-items: flex-start;
}

.suppliers-toolbar {
    margin-bottom: 8px;
}

.suppliers-stats {
    margin: 12px 0;
    font-size: 0.95rem;
}

.suppliers-table-wrap {
    max-height: 65vh;
    overflow: auto;
}

.suppliers-table-wrap td:nth-child(3) {
    font-family: ui-monospace, monospace;
    white-space: nowrap;
}

.suppliers-table-wrap .product-linked {
    color: #166534;
}

.suppliers-table-wrap .product-unlinked {
    color: #b45309;
}

.suppliers-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}

.suppliers-dialog {
    border: none;
    border-radius: 12px;
    padding: 20px;
    max-width: 420px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2);
}

.suppliers-dialog-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.suppliers-link-btn {
    border: none;
    background: transparent;
    color: #1d4ed8;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
}

.suppliers-link-btn:hover {
    text-decoration: underline;
}

.nested-card {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
}

.nested-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}
