/* Таблиці */
.custom-table th {
    font-weight: 600;
    color: #495057;
    background-color: transparent !important;
    border-bottom: 2px solid #edf2f7;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}
.custom-table th a {
    color: #212529 !important;
    text-decoration: none !important;
}
.custom-table th a:hover {
    color: #198754 !important;
}
.custom-table td {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f1f3f5;
}
.custom-table tr:last-child td {
    border-bottom: none;
}
.custom-table td a:not(.btn) {
    color: #198754 !important;
    text-decoration: none !important;
}
.custom-table td a:not(.btn):hover {
    color: #146c43 !important;
}

/* Вкладки / Таби */
.tab-pills {
    background: #f8f9fa;
    padding: 4px;
    border-radius: 10px;
    display: inline-flex;
    gap: 4px;
}
.tab-pills .tab-btn {
    padding: 6px 18px;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}
.tab-pills .tab-btn.active {
    background: #ffffff;
    color: #198754;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.tab-pills .tab-btn:not(.active) {
    color: #6c757d;
}
.tab-pills .tab-btn:not(.active):hover {
    color: #212529;
}

/* Кнопка перегляду чека */
.receipt-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 5px;
    border-radius: 4px;
    color: #198754;
    transition: background-color 0.15s ease-in-out;
    vertical-align: middle;
}
.receipt-icon-btn:hover {
    background-color: #e8f5e9;
    color: #146c43;
}

/* Зелена пагінація */
.pagination {
    margin-top: 1rem;
    margin-bottom: 0;
}
.pagination .page-item .page-link {
    color: #198754;
    border-color: #dee2e6;
}
.pagination .page-item .page-link:hover {
    color: #146c43;
    background-color: #e8f5e9;
    border-color: #dee2e6;
}
.pagination .page-item.active .page-link {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}
.pagination .page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
    border-color: #198754;
}
