/**
 * List pages — filters, tables, and modern row action buttons.
 */

/* --------------------------------------------------------------------------
   List cards (filter + table sections)
   -------------------------------------------------------------------------- */

.list-page .card.shadow,
.list-page .card.mb-4 {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

.list-page .card .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0.875rem 1.25rem;
}

.list-card-title,
.list-page .card .card-header h5,
.list-page .card .card-header h6,
.list-page .card .card-header .font-weight-bold.text-primary {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #071437 !important;
    margin: 0;
    line-height: 1.4;
}

.list-page .card .card-body {
    padding: 1.25rem;
}

/* --------------------------------------------------------------------------
   Filter forms — same field sizing as standard-form
   -------------------------------------------------------------------------- */

.list-filters-form .form-label,
.register-filter-form .form-label,
.list-page .list-filters-form .form-label,
.list-page .register-filter-form .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #071437;
    margin-bottom: 0.35rem;
}

.list-filters-form .form-control,
.list-filters-form .form-select,
.register-filter-form .form-control,
.register-filter-form .form-select,
.list-page .list-filters-form .form-control,
.list-page .list-filters-form .form-select,
.list-page .register-filter-form .form-control,
.list-page .register-filter-form .form-select {
    min-height: 42px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    background-color: #fff;
    box-shadow: none !important;
    transform: none !important;
}

.list-filters-form .form-select,
.register-filter-form .form-select {
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    appearance: none;
}

.list-filters-form .form-control:focus,
.list-filters-form .form-select:focus,
.register-filter-form .form-control:focus,
.register-filter-form .form-select:focus {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15) !important;
}

.list-filters-form .btn-primary[type="submit"],
.list-page .list-filters-form .btn-primary[type="submit"],
.register-filter-form .btn-primary[type="submit"] {
    min-height: 42px;
    background: #e8f4fd !important;
    background-image: none !important;
    border: 1px solid #c5e0fc !important;
    color: #0d6efd !important;
    border-radius: 6px !important;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06) !important;
    transform: none !important;
}

.list-filters-form .btn-primary[type="submit"]::before,
.list-filters-form .btn-primary[type="submit"]::after,
.list-page .list-filters-form .btn-primary[type="submit"]::before,
.list-page .list-filters-form .btn-primary[type="submit"]::after,
.register-filter-form .btn-primary[type="submit"]::before,
.register-filter-form .btn-primary[type="submit"]::after {
    display: none !important;
}

.list-filters-form .btn-primary[type="submit"]:hover,
.list-filters-form .btn-primary[type="submit"]:focus,
.list-page .list-filters-form .btn-primary[type="submit"]:hover,
.list-page .list-filters-form .btn-primary[type="submit"]:focus,
.register-filter-form .btn-primary[type="submit"]:hover,
.register-filter-form .btn-primary[type="submit"]:focus {
    background: #d0e8fc !important;
    background-image: none !important;
    border-color: #b6d4fe !important;
    color: #0b5ed7 !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08) !important;
    transform: none !important;
}

.list-filters-form .btn-outline-secondary,
.list-filters-form a.btn-outline-secondary,
.list-page .list-filters-form .btn-outline-secondary,
.list-page .list-filters-form a.btn-outline-secondary,
.register-filter-form .btn-outline-secondary,
.register-filter-form a.btn-outline-secondary {
    min-height: 42px;
    background-color: #fff !important;
    background-image: none !important;
    border: 1px solid #ced4da !important;
    color: #495057 !important;
    border-radius: 6px !important;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06) !important;
    transform: none !important;
}

.list-filters-form .btn-outline-secondary::before,
.list-filters-form .btn-outline-secondary::after,
.list-filters-form a.btn-outline-secondary::before,
.list-filters-form a.btn-outline-secondary::after,
.list-page .list-filters-form .btn-outline-secondary::before,
.list-page .list-filters-form .btn-outline-secondary::after,
.list-page .list-filters-form a.btn-outline-secondary::before,
.list-page .list-filters-form a.btn-outline-secondary::after,
.register-filter-form .btn-outline-secondary::before,
.register-filter-form .btn-outline-secondary::after,
.register-filter-form a.btn-outline-secondary::before,
.register-filter-form a.btn-outline-secondary::after {
    display: none !important;
}

.list-filters-form .btn-outline-secondary:hover,
.list-filters-form .btn-outline-secondary:focus,
.list-filters-form a.btn-outline-secondary:hover,
.list-filters-form a.btn-outline-secondary:focus,
.list-page .list-filters-form .btn-outline-secondary:hover,
.list-page .list-filters-form .btn-outline-secondary:focus,
.list-page .list-filters-form a.btn-outline-secondary:hover,
.list-page .list-filters-form a.btn-outline-secondary:focus,
.register-filter-form .btn-outline-secondary:hover,
.register-filter-form .btn-outline-secondary:focus,
.register-filter-form a.btn-outline-secondary:hover,
.register-filter-form a.btn-outline-secondary:focus {
    background-color: #f8f9fa !important;
    background-image: none !important;
    border-color: #adb5bd !important;
    color: #212529 !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08) !important;
    transform: none !important;
}

/* --------------------------------------------------------------------------
   Data tables — consistent typography and borders
   -------------------------------------------------------------------------- */

.list-page .table {
    font-size: 0.875rem;
    color: #212529;
    margin-bottom: 0;
    border: 1px solid #f0f2f5 !important;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 6px;
}

.list-page .table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057 !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #f8f9fa !important;
    background-image: none !important;
    border: none !important;
    border-right: 1px solid #f0f2f5 !important;
    border-bottom: 1px solid #e9ecef !important;
    padding: 0.75rem;
    vertical-align: middle;
    white-space: nowrap;
    position: relative;
}

.list-page .table thead th:last-child {
    border-right: none !important;
}

.list-page .table thead th::after {
    display: none !important;
}

.list-page .table tbody td {
    vertical-align: middle;
    border: none !important;
    border-right: 1px solid #f5f6f8 !important;
    border-bottom: 1px solid #f5f6f8 !important;
    color: #212529;
    padding: 0.75rem;
    background-color: #fff;
}

.list-page .table tbody td:last-child {
    border-right: none !important;
}

.list-page .table tbody tr:last-child td {
    border-bottom: none !important;
}

.list-page .table tbody tr:hover td {
    background-color: #f8f9fa;
}

.list-page .table tbody td a:not(.btn) {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.list-page .table tbody td a:not(.btn):hover {
    text-decoration: underline;
}

.list-page .table .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 6px;
}

/* Inline table editors (banking categories, etc.) — match standard-form flat fields */
.list-page .table .form-control,
.list-page .table .form-select,
.list-page .table .form-control-sm,
.list-page .table .form-select-sm {
    min-height: 34px !important;
    height: 34px !important;
    padding: 0.35rem 0.65rem !important;
    font-size: 0.8125rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #212529 !important;
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    transform: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.list-page .table .form-select,
.list-page .table .form-select-sm {
    padding-right: 2rem !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.5rem center !important;
    background-size: 14px 10px !important;
    appearance: none !important;
}

.list-page .table .form-control:hover,
.list-page .table .form-select:hover,
.list-page .table .form-control-sm:hover,
.list-page .table .form-select-sm:hover {
    border-color: #ced4da !important;
    box-shadow: none !important;
    transform: none !important;
}

.list-page .table .form-control:focus,
.list-page .table .form-select:focus,
.list-page .table .form-control-sm:focus,
.list-page .table .form-select-sm:focus {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15) !important;
    background-color: #fff !important;
    transform: none !important;
    outline: none !important;
}

.list-page .table .form-control:disabled,
.list-page .table .form-select:disabled,
.list-page .table .form-control[readonly] {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    opacity: 1 !important;
}

/* Soft pastel table badges — readable (fixes yellow bg-primary + white text) */
.list-page .table .badge.bg-primary,
.list-page .table .badge.bg-primary.text-white,
.list-data-table .badge.bg-primary,
.card .table .badge.bg-primary {
    background: #e8f4fd !important;
    background-image: none !important;
    color: #0d6efd !important;
    border: 1px solid #b6d4fe !important;
}

.list-page .table .badge.bg-info,
.list-page .table .badge.bg-info.text-white,
.list-data-table .badge.bg-info,
.card .table .badge.bg-info {
    background: #e7f7fb !important;
    background-image: none !important;
    color: #087990 !important;
    border: 1px solid #9eeaf9 !important;
}

.list-page .table .badge.bg-success,
.list-page .table .badge.bg-success.text-white,
.list-data-table .badge.bg-success {
    background: #e8f6ee !important;
    background-image: none !important;
    color: #0f5132 !important;
    border: 1px solid #badbcc !important;
}

.list-page .table .badge.bg-warning,
.list-page .table .badge.bg-warning.text-white,
.list-data-table .badge.bg-warning {
    background: #fff4e5 !important;
    background-image: none !important;
    color: #856404 !important;
    border: 1px solid #ffe69c !important;
}

.list-page .table .badge.bg-danger,
.list-page .table .badge.bg-danger.text-white,
.list-data-table .badge.bg-danger {
    background: #fdecea !important;
    background-image: none !important;
    color: #842029 !important;
    border: 1px solid #f5c2c7 !important;
}

.list-page .table .badge.bg-secondary,
.list-page .table .badge.bg-secondary.text-white,
.list-data-table .badge.bg-secondary {
    background: #eef1f5 !important;
    background-image: none !important;
    color: #495057 !important;
    border: 1px solid #dee2e6 !important;
}

.list-page .table .badge.bg-dark,
.list-page .table .badge.bg-dark.text-white,
.list-data-table .badge.bg-dark {
    background: #e9ecef !important;
    background-image: none !important;
    color: #212529 !important;
    border: 1px solid #ced4da !important;
}

/* Doc type chips (Quote / Estimate / invoice types) */
.list-page .badge-doc-type,
.list-data-table .badge-doc-type {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 6px;
    border: 1px solid transparent;
}

.list-page .badge-doc-type-quote,
.list-data-table .badge-doc-type-quote {
    background: #e8f4fd !important;
    color: #0d6efd !important;
    border-color: #b6d4fe !important;
}

.list-page .badge-doc-type-estimate,
.list-data-table .badge-doc-type-estimate {
    background: #e7f7fb !important;
    color: #087990 !important;
    border-color: #9eeaf9 !important;
}

.list-page .badge-doc-type-domestic,
.list-data-table .badge-doc-type-domestic {
    background: #e8f4fd !important;
    color: #0d6efd !important;
    border-color: #b6d4fe !important;
}

.list-page .badge-doc-type-international,
.list-data-table .badge-doc-type-international {
    background: #e7f7fb !important;
    color: #087990 !important;
    border-color: #9eeaf9 !important;
}

.list-page .badge-doc-type-bill_of_supply,
.list-data-table .badge-doc-type-bill_of_supply {
    background: #e8f6ee !important;
    color: #0f5132 !important;
    border-color: #badbcc !important;
}

.list-page .badge-doc-type-credit_note,
.list-data-table .badge-doc-type-credit_note {
    background: #fff4e5 !important;
    color: #856404 !important;
    border-color: #ffe69c !important;
}

/* Column headers — always left-aligned; action cells stay right-aligned */
.list-page .table thead th,
.list-data-table thead th,
.detail-page .table thead th {
    text-align: left !important;
}

.list-page .table td.table-actions-cell,
.list-data-table td.table-actions-cell,
.detail-page .table td.table-actions-cell {
    text-align: right !important;
}

/* Embedded list tables (e.g. profile tabs) — match list-page table styling */
.list-data-table {
    font-size: 0.875rem;
    color: #212529;
    margin-bottom: 0;
    border: 1px solid #f0f2f5 !important;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 6px;
}

.list-data-table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057 !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #f8f9fa !important;
    background-image: none !important;
    border: none !important;
    border-right: 1px solid #f0f2f5 !important;
    border-bottom: 1px solid #e9ecef !important;
    padding: 0.75rem;
    vertical-align: middle;
    white-space: nowrap;
    position: relative;
}

.list-data-table thead th:last-child {
    border-right: none !important;
}

.list-data-table thead th::after {
    display: none !important;
}

.list-data-table tbody td {
    vertical-align: middle;
    border: none !important;
    border-right: 1px solid #f5f6f8 !important;
    border-bottom: 1px solid #f5f6f8 !important;
    color: #212529;
    padding: 0.75rem;
    background-color: #fff;
}

.list-data-table tbody td:last-child {
    border-right: none !important;
}

.list-data-table tbody tr:last-child td {
    border-bottom: none !important;
}

.list-data-table tbody tr:hover td {
    background-color: #f8f9fa;
}

.list-data-table .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.list-page .lead.text-muted,
.list-page .text-center .text-muted {
    font-size: 0.9375rem !important;
}

/* DataTables controls */
.list-page .dataTables_wrapper .dataTables_length,
.list-page .dataTables_wrapper .dataTables_filter,
.list-page .dataTables_wrapper .dataTables_info,
.list-page .dataTables_wrapper .dataTables_paginate {
    font-size: 0.875rem;
    color: #495057;
}

.list-page .dataTables_wrapper .dataTables_length select,
.list-page .dataTables_wrapper .dataTables_filter input {
    min-height: 38px;
    font-size: 0.875rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.375rem 0.75rem;
}

/* Modern pagination — rounded buttons, solid active page (all modules) */
.list-page .pagination {
    gap: 0.35rem;
}

.list-page .pagination .page-link,
.list-page .dataTables_wrapper .dataTables_paginate .paginate_button .page-link,
.list-page .dataTables_wrapper .dataTables_paginate .paginate_button:not(:has(.page-link)) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 2.25rem !important;
    min-height: 2.25rem !important;
    padding: 0.35rem 0.75rem !important;
    margin: 0 !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #495057 !important;
    background: #fff !important;
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    transform: none !important;
}

.list-page .pagination .page-item.active .page-link,
.list-page .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.list-page .dataTables_wrapper .dataTables_paginate .paginate_button.current .page-link,
.list-page .dataTables_wrapper .dataTables_paginate .paginate_button.active .page-link {
    color: #fff !important;
    background: #0d6efd !important;
    border-color: #0d6efd !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}

.list-page .pagination .page-item.disabled .page-link,
.list-page .dataTables_wrapper .dataTables_paginate .paginate_button.disabled .page-link {
    color: #adb5bd !important;
    background: #fff !important;
    border-color: #dee2e6 !important;
}

.list-page .dataTables_wrapper .dataTables_info {
    color: #495057 !important;
    font-weight: 500 !important;
}

.list-page .dataTables_wrapper .row:has(.dataTables_info),
.list-page .dataTables_wrapper .row:has(.dataTables_paginate) {
    align-items: center;
}

/* Tab section "New …" CTAs (e.g. Purchase Invoices) — solid blue, not yellow primary */
.list-page .tab-content .tab-pane > .d-flex .btn.btn-primary,
.list-page .tab-pane > .d-flex.justify-content-between .btn.btn-primary,
.list-page .tab-pane > .d-flex.align-items-center .btn.btn-primary,
.list-page .tab-pane > .row .btn.btn-primary {
    background: #0d6efd !important;
    background-image: none !important;
    border: 1px solid #0d6efd !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    transform: none !important;
}

.list-page .tab-content .tab-pane > .d-flex .btn.btn-primary:hover,
.list-page .tab-content .tab-pane > .d-flex .btn.btn-primary:focus,
.list-page .tab-pane > .d-flex.justify-content-between .btn.btn-primary:hover,
.list-page .tab-pane > .d-flex.justify-content-between .btn.btn-primary:focus,
.list-page .tab-pane > .d-flex.align-items-center .btn.btn-primary:hover,
.list-page .tab-pane > .d-flex.align-items-center .btn.btn-primary:focus,
.list-page .tab-pane > .row .btn.btn-primary:hover,
.list-page .tab-pane > .row .btn.btn-primary:focus {
    background: #0b5ed7 !important;
    background-image: none !important;
    border-color: #0a58ca !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

.list-page .tab-content .tab-pane > .d-flex .btn.btn-primary::before,
.list-page .tab-content .tab-pane > .d-flex .btn.btn-primary::after,
.list-page .tab-pane > .row .btn.btn-primary::before,
.list-page .tab-pane > .row .btn.btn-primary::after {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Modern icon action buttons (filled pastel style)
   -------------------------------------------------------------------------- */

/* Keep action buttons on a single row */
.list-page .table thead th:last-child,
.list-page .table tbody td:last-child,
.list-page .table .table-actions-cell,
.list-data-table thead th:last-child,
.list-data-table tbody td:last-child,
.list-data-table .table-actions-cell {
    white-space: nowrap;
    width: 1%;
}

.list-page .table tbody td:last-child,
.list-page .table .table-actions-cell,
.list-data-table tbody td:last-child,
.list-data-table .table-actions-cell {
    vertical-align: middle;
}

.list-page .table .btn-group,
.list-page .table .table-actions-group,
.list-data-table .btn-group,
.list-data-table .table-actions-group {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.25rem;
    vertical-align: middle;
}

.list-page .table .btn-group > .btn {
    border-radius: 8px !important;
}

.list-page .table .btn-sm,
.list-page .table td .btn-sm {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-height: 34px;
    min-width: 34px;
    flex-shrink: 0;
    padding: 0 !important;
    margin: 0;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06) !important;
    transform: none !important;
    font-size: 0.875rem !important;
    line-height: 1 !important;
}

.list-page .table .btn-sm::before,
.list-page .table .btn-sm::after {
    display: none !important;
}

/* View */
.list-page .table .btn-sm.btn-info,
.list-page .table .btn-sm.btn-outline-primary,
.list-page .table .btn-sm.btn-outline-info:has(.fa-eye) {
    background: #e8f4fd !important;
    background-image: none !important;
    color: #0d6efd !important;
}

.list-page .table .btn-sm.btn-info:hover,
.list-page .table .btn-sm.btn-info:focus,
.list-page .table .btn-sm.btn-outline-primary:hover,
.list-page .table .btn-sm.btn-outline-primary:focus,
.list-page .table .btn-sm.btn-outline-info:has(.fa-eye):hover,
.list-page .table .btn-sm.btn-outline-info:has(.fa-eye):focus {
    background: #d0e8fc !important;
    color: #0b5ed7 !important;
}

/* Edit */
.list-page .table .btn-sm.btn-warning,
.list-page .table .btn-sm.btn-primary:not(.dropdown-toggle),
.list-page .table .btn-sm.btn-outline-secondary,
.list-page .table .btn-sm.btn-outline-primary:has(.fa-edit) {
    background: #e8f6ee !important;
    background-image: none !important;
    color: #198754 !important;
}

.list-page .table .btn-sm.btn-warning:hover,
.list-page .table .btn-sm.btn-warning:focus,
.list-page .table .btn-sm.btn-primary:not(.dropdown-toggle):hover,
.list-page .table .btn-sm.btn-primary:not(.dropdown-toggle):focus,
.list-page .table .btn-sm.btn-outline-secondary:hover,
.list-page .table .btn-sm.btn-outline-secondary:focus,
.list-page .table .btn-sm.btn-outline-primary:has(.fa-edit):hover,
.list-page .table .btn-sm.btn-outline-primary:has(.fa-edit):focus {
    background: #d1eddb !important;
    color: #157347 !important;
}

/* Send / notify — exclude eye-icon view buttons mislabeled as outline-info */
.list-page .table .btn-sm.btn-outline-info:not(:has(.fa-eye)) {
    background: #ede9fe !important;
    background-image: none !important;
    color: #6366f1 !important;
}

.list-page .table .btn-sm.btn-outline-info:not(:has(.fa-eye)):hover,
.list-page .table .btn-sm.btn-outline-info:not(:has(.fa-eye)):focus {
    background: #ddd6fe !important;
    color: #4f46e5 !important;
}

/* Delete */
.list-page .table .btn-sm.btn-danger,
.list-page .table .btn-sm.btn-outline-danger {
    background: #fdecea !important;
    background-image: none !important;
    color: #dc3545 !important;
}

.list-page .table .btn-sm.btn-danger:hover,
.list-page .table .btn-sm.btn-danger:focus,
.list-page .table .btn-sm.btn-outline-danger:hover,
.list-page .table .btn-sm.btn-outline-danger:focus {
    background: #f9d3d0 !important;
    color: #bb2d3b !important;
}

/* Download / export / document */
.list-page .table .btn-sm.btn-success,
.list-page .table .btn-sm.btn-secondary,
.list-page .table .btn-sm.btn-outline-success {
    background: #eef1f5 !important;
    background-image: none !important;
    color: #495057 !important;
}

.list-page .table .btn-sm.btn-success:hover,
.list-page .table .btn-sm.btn-success:focus,
.list-page .table .btn-sm.btn-secondary:hover,
.list-page .table .btn-sm.btn-secondary:focus,
.list-page .table .btn-sm.btn-outline-success:hover,
.list-page .table .btn-sm.btn-outline-success:focus {
    background: #dde2e8 !important;
    color: #212529 !important;
}

/* Shipping / e-way bill */
.list-page .table .btn-sm.btn-outline-warning {
    background: #fff4e5 !important;
    background-image: none !important;
    color: #d97706 !important;
}

.list-page .table .btn-sm.btn-outline-warning:hover,
.list-page .table .btn-sm.btn-outline-warning:focus {
    background: #ffe8cc !important;
    color: #b45309 !important;
}

.list-page .table .btn-sm.disabled,
.list-page .table .btn-sm:disabled {
    opacity: 0.45;
    pointer-events: none;
}
