.combos-page {
    --combos-header-color: #0b5394;
}

.combos-page .table {
    min-height: unset;
}

.combos-table tbody tr td {
    vertical-align: middle;
    padding: 0.65rem 0.75rem;
}

.combos-header {
    background: var(--combos-header-color);
    padding: 0.85rem 1.25rem;
    border-radius: 0.65rem;
    box-shadow: 0 6px 24px rgba(11, 83, 148, 0.25);
    margin-bottom: 1.25rem;
    min-height: 70px;
}

.combos-header .header-text h1,
.combos-header .header-text p {
    line-height: 1.1;
}

.combos-header .header-controls {
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.combos-header .module-header-search {
    flex: 1;
    min-width: 220px;
}

.combos-header .module-header-search .form-control {
    width: 240px;
    border-radius: 0.4rem;
}

.combos-header .module-header-search .input-group-text {
    border: none;
}

.combos-header .btn-light {
    min-width: 170px;
    color: #0b5394;
    font-weight: 600;
}

.combo-items-list {
    min-height: 220px;
    border: 1px dashed rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    background: #f8f9fa;
    max-height: 360px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.combo-item {
    display: grid;
    align-items: center;
    grid-template-columns: 1.5fr repeat(4, 1fr) auto;
    gap: 0.75rem;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    background: #fff;
}

.combo-item:last-child {
    margin-bottom: 0;
}

.combo-item-details {
    flex: 2;
}

.combo-item-field {
    max-width: 160px;
    flex: 0 0 160px;
}

.combo-item-field input {
    width: 100%;
}

@media (max-width: 992px) {
    .combo-item {
        grid-template-columns: 1fr;
    }
    .combo-item-field {
        max-width: 100%;
        flex: 1;
    }
}

.combo-item button {
    border: none;
    background: transparent;
    color: #dc3545;
    font-size: 1rem;
}

.combo-status-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

.combo-status-active {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.combo-status-inactive {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.combos-table thead {
    background: linear-gradient(135deg, #0b5394, #0d6efd);
    color: #fff;
}

.combos-table thead th {
    border-bottom: none;
    font-weight: 600;
    padding: 0.65rem 0.75rem;
}

.combos-table tbody tr {
    border-bottom: 1px solid rgba(13, 110, 253, 0.15);
}

.combos-table tbody tr:last-child {
    border-bottom: none;
}

.combos-table tbody td.text-end {
    font-weight: 500;
}

.stock-combo {
    background: rgba(13, 110, 253, 0.15);
    color: #0d6efd;
}

.product-combo {
    border-color: rgba(13, 110, 253, 0.45);
}

#comboModal .modal-header {
    background: linear-gradient(to bottom, var(--secondary-solid-color, #2c3e50), var(--primary-solid-color, #4399d3));
    color: #fff;
    border-bottom: none;
}

#comboModal .modal-header .btn-close {
    filter: invert(1);
}

#comboModal .modal-body {
    max-height: 60vh;
    overflow-y: auto;
}
