@font-face {
    font-family: FluentSystemIcons-Regular;
    src: url(ttf/FluentSystemIcons-Regular.2405fc3b.ttf) format("truetype")
}

/* Fix issues with ionicons buttons not lining up like it should */
ion-icon {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-size: 1.2em;           /* optional, scales with text */
  position: relative;
  top: -0.1em;                 /* nudge upwards */
}

.page-link {
    align-items: center;
}

div.cashups .col-form-label.col-md-6 {
    font-style: italic;
}

div.breakdown-graph-header {
    text-align: center;
    font-size: 80%;
}

.agent-colour-block {
    height: 18pt;
}

.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.no-spinner[type="number"] {
  -moz-appearance: textfield;
}

i.fa.fa-print.reprint,
i.fa.fa-print.print-report,
i.fa.fa-money.fa-buttontextblack {
    color: black;
}

i.fa.fa-money,
main#report-view i.fa-check-circle {
    color: #198754;
}

i.fa.fa-file-pdf-o,
main#report-view i.fa-times-circle {
    color: #dc3545;
}

i.fa.fa-money.fa-buttontext,
i.fa.fa-credit-card.fa-buttontext {
    color: white;
}

i.fa.fa-credit-card {
    color: #0d6efd;
}

.fa.fa-user-circle.allocate {
    color: purple;
    cursor: pointer;
}

i.fa.fa-exchange.trans-type-splynx {
    color: #ffc107;
    cursor: pointer;
}

i.fa.fa-exchange.trans-type,
i.fa.fa-pencil.update-user {
    color: #198754;
    cursor: pointer;
}

i.fa.fa-times.void-trans,
i.fa.fa-user-times.delete-user {
    color: #dc3545;
    cursor: pointer;
}

table#adminlog-table tr.info {
    background-color: #0dcaf020;
    background-blend-mode: overlay;
}

table#adminlog-table tr.success {
    background-color: #19875420;
    background-blend-mode: overlay;
}

table#adminlog-table tr.warning {
    background-color: #ffc10720;
    background-blend-mode: overlay;
}

table#adminlog-table tr.danger {
    background-color: #dc354520;
    background-blend-mode: overlay;
}

i.po-edit,
div.refresh-header ion-icon,
i.fa.fa-money.gt-cash-report,
i.fa.fa-credit-card.gt-card-report {
    cursor: pointer;
}

table#adminlog-table {
    font-size: 80%;
}

/* 0.3.8.0b140825 (BPK) - CSS Code Cleanup */
table.cashup-results td:nth-child(2) {
    text-align: left;
}

/* 0.3.8.0b140825 (BPK) - CSS Code Cleanup */
div.results-count,
input.cash-count-input,
div.cashups .form-control,
table.cashup-results td:nth-child(1),
table.cashup-results td:nth-child(5),
table#customer-search-table td:nth-child(1),
table#payments-in-run-table td:nth-child(1),
table#payments-in-run-table td:nth-child(5),
table#result-view-table td:nth-child(3),
table#result-view-table td:nth-child(4),
table#result-view-table td:nth-child(9),
table#result-view-table td:nth-child(10),
table#transactions-table td:nth-child(6),
table#invoice-results-table td:nth-child(1),
table#invoice-results-table td:nth-child(3),
table#invoice-results-table td:nth-child(4),
table#result-view-table-payout td:nth-child(3),
table#result-view-table-payout td:nth-child(8),
table#result-view-table-payout td:nth-child(9),
table#payouts-in-run-table td:nth-child(5),
table#admin-statistics-table td:nth-child(n+3):nth-child(-n+7),
table#result-view-table-cashup td:nth-child(n+3):nth-child(-n+10) {
    text-align: right;
}

/* 0.3.8.0b140825 (BPK) - CSS Code Cleanup */
label.cash-image-holder,
table#admins-table td:nth-child(5),
table#admins-table td:nth-child(7),
table#admins-table td:nth-child(8),
table#adminlog-table td:nth-child(1),
table.cashup-results.payouts td:nth-child(2),
table#invoice-results-table td:nth-child(5),
table#result-view-table-payout td:nth-child(2),
table#result-view-table-payout td:nth-child(4),
table#result-view-table-payout td:nth-child(5),
table#result-view-table-payout td:nth-child(11),
table#result-view-table-payout td:nth-child(12),
table#result-view-table-payout td:nth-child(13),
table#payments-in-run-table td:nth-child(n+6):nth-child(-n+8),
table#customer-search-table td:nth-child(2),
table#customer-search-table td:nth-child(7),
table#transactions-table td:nth-child(1),
table#transactions-table td:nth-child(3),
table#admin-statistics-table td:nth-child(n+8):nth-child(-n+9),
table#admin-statistics-table th,
table#payouts-in-run-table th,
table#payouts-in-run-table td:nth-child(2),
table#payouts-in-run-table td:nth-child(n+6):nth-child(-n+7),
table#transactions-table td:nth-child(n+9):nth-child(-n+12),
table#result-view-table td:nth-child(n+11):nth-child(-n+14) {
    text-align: center;
}

img.note-image {
    width: 100%;
}

img.coin-image {
    width: 50%;
}

#splynx-payment {
    display: none;
}

div.refresh-header {
    right: 16px;
    position: absolute;
}

div.results-view {
    display: none;
    max-height: 300px;
}

div.separator {
    margin-bottom: 8px;
}

table.results-table thead th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa; /* Optional: Matches Bootstrap's table header color */
    z-index: 1;
}

.table {
    --bs-table-bg: #fff;
    --bs-table-accent-bg: #0000;
    --bs-table-striped-color: #1b2124;
    --bs-table-striped-bg: #f7f8fc;
    --bs-table-active-color: #1b2124;
    --bs-table-active-bg: #0000001a;
    --bs-table-hover-color: #1b2124;
    --bs-table-hover-bg: rgba(0, 0, 0, .075);
    width: 100%;
    margin-bottom: 4px;
    color: #1b2124;
    vertical-align: top;
    border-color: #e9ecef;
}

table {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    border-collapse: collapse !important;
}

table {
    caption-side: bottom;
    border-collapse: collapse;
}

table.dataTable>thead .sorting.sorting_asc {
    color: #357bf2;
}

.table>:not(:last-child)>:last-child>* {
    border-bottom-color: #e9ecef;
}

.table>:not(:last-child)>:last-child>* {
    border-bottom-color: initial;
}

table.dataTable>thead .sorting {
    cursor: pointer;
    padding-right: 20px;
    position: relative;
}

table.dataTable>thead th {
    vertical-align: bottom;
    font-weight: 700;
}

.table>:not(caption)>*>* {
    padding: 7px 16px;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

table th {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: #1b2124;
    vertical-align: top;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.3;
    border-bottom-color: #e9ecef !important;
    padding-top: 8px;
    padding-bottom: 8px;
}

table th {
    font-weight: 700;
}

tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

th {
    text-align: inherit;
    text-align: -webkit-match-parent;
}

div.spl-page-panel {
    flex: 1;
    flex-flow: column;
    display: flex
;
}

.aids-clickable {
    cursor: pointer;
}

.dashboards-top-block-payment {
    margin: 0 auto 20px;
    justify-content: space-evenly;
    width: 75%;
    flex-flow: wrap;
}

.dashboards-top-block {
    margin: 0 auto 20px;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    flex-flow: wrap;
}

.dashboards-top-block-item.width-3 {
    width: calc(25% - 16px);
}

.dashboards-top-block-item {
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 5px #0000001a;
    display: flex;
    justify-content: space-between;
    position: relative;
    color: #357bf2;
    flex-flow: wrap;
    transition: .3s;
    margin-bottom: 12px;
}

.dashboards-top-block-item-title {
    display: flex;
    justify-content: flex-start;
    flex-flow: wrap;
    padding: 16px 16px 8px 16px;
    position: relative;
    z-index: 9;
    width: 100%;
}

.dashboards-top-block-item:first-child .dashboards-top-block-item-title .icon-wrap, .splynx-isp .dashboards-top-block-item:nth-child(6) .count, .splynx-isp .dashboards-top-block-item:nth-child(6) .dashboards-top-block-item-title .icon-wrap {
    color: #29cc97;
}

.dashboards-top-block-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 16px 12px 16px;
}

.dashboards-top-block-item-bottom .view {
    color: #357bf2;
}

.icon-wrap i {
    font-size: 20px;
    display: flex;
}

.dashboards-top-block-item:first-child .count, .dashboards-top-block-item:first-child .dashboards-top-block-item-title .icon-wrap, .splynx-isp .dashboards-top-block-item:nth-child(6) .count, .splynx-isp .dashboards-top-block-item:nth-child(6) .dashboards-top-block-item-title .icon-wrap {
    color: #29cc97;
}

.dashboards-top-block-item .dashboards-top-block-item-link-absolute {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

.splynx-top-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    padding: 0 0 0;
    margin: 0;
}

.splynx-top-nav .splynx-breadcrumbs {
    display: inline-flex;
    align-self: flex-start;
    justify-self: center;
    white-space: nowrap;
    margin: 24px auto 24px 0;
    min-width: 350px;
}

.splynx-top-nav .splynx-breadcrumbs li {
    list-style: none;
    display: inline-block;
    padding-right: 4px;
}

.splynx-top-nav .splynx-breadcrumbs li:only-child {
    margin-top: 4px;
}

.splynx-top-nav .splynx-breadcrumbs li:last-child {
    display: flex;
    align-items: center;
    min-width: 99%;
}

.splynx-top-nav .splynx-breadcrumbs li:last-child a {
    padding-right: 8px;
    pointer-events: none;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #1b2124;
}

.splynx-top-nav .splynx-breadcrumbs li a:before {
    content: "";
    display: block;
    width: 0;
    height: 1px;
    background: #357bf2;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: .2s;
}

.splynx-top-nav .splynx-breadcrumbs li a:after {
    content: "";
    display: block;
    width: 0;
    height: 13px;
    border-right: 1px solid #6c757d;
    transform: translateY(0) rotate(16deg);
    position: absolute;
    right: 4px;
    top: 4px;
}

.splynx-top-nav .splynx-breadcrumbs li:last-child a:after, .splynx-top-nav .splynx-breadcrumbs li:last-child a:before {
    display: none;
}

.splynx-top-nav .splynx-breadcrumbs li a {
    color: #357bf2;
    text-decoration: none;
    display: block;
    line-height: 20px;
    padding-right: 12px;
    position: relative;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.card-block {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: initial;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 16px 16px;
    box-shadow: unset;
}

.card-block .card-block-header {
    background: none;
    border-bottom: 0;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-block .card-block-body {
    margin-top: 20px;
}

.card-block .card-block-header .h4, .card-block .card-block-header h4, .card-block .card-block-header strong {
    order: 2;
    margin-right: auto;
    font-size: 16px !important;
    line-height: 24px;
    font-weight: 600;
}

.col-form-label {
    text-align: right;
    font-size: 12px;
    line-height: 1.3;
    padding-top: 7px;
    padding-bottom: 4px;
    margin-bottom: 0;
}

.card-block .form-text {
    color: #1b2124;
    display: block;
    text-align: left;
}

label {
    display: inline-block;
}

.form-horizontal .row .col-md-8 {
    position: relative;
}

.form-horizontal .row:first-of-type {
    margin-top: 0;
}

.form-horizontal .row {
    align-items: center;
}

.form-text {
    margin-top: 0 !important;
    text-align: right;
    /* font-size: 14px !important; */
    line-height: 1.3;
    padding-top: 7px !important;
    display: flex;
    padding-bottom: 5px;
}

.row {
    --bs-gutter-x: 16px;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
}

.bg-purple {
    background-color: #7d4fff !important;
}

i[class*=" icon-"]:before, i[class^=icon-]:before {
    font-family: FluentSystemIcons-Regular !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.color-white {
    color: var(--bs-white);
}

.bg-secondary {
    background-color: #6c757d !important;
}

.splynx-top-nav .splynx-breadcrumbs ul {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-flow: wrap;
    margin-top: -4px;
    width: 100%;
    min-width: 350px;
}

.btn-icon-lg {
    padding: 0 !important;
    height: 40px;
    width: 40px;
    min-width: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.btn-icon-lg i {
    display: flex;
    font-size: 22px;
}

.btn-icon-lg i, .btn-icon-md {
    justify-content: center;
    align-items: center;
}

a {
    text-decoration: none;
}

a {
    color: #357bf2;
    text-decoration: underline;
}
*, :after, :before {
    box-sizing: border-box;
}

.me-12 {
    margin-right: 12px !important;
}

.content.active {
    display: flex;
    flex-flow: column;
    width: 100%;
}

.loading-section {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

/* Wizard modal: breathing room without clipping content */
#md-stepper .modal-dialog:not(.modal-fullscreen) {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Hide step labels on the stepper header to keep it compact */
#md-stepper .bs-stepper-label {
    display: none;
}

/* Compact step triggers so all 11 circles fit horizontally */
#md-stepper .bs-stepper-header .step-trigger {
    padding: 8px;
}

/* Adoption type cards hover/selected styling */
#md-stepper .adoption-type-card {
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#md-stepper .adoption-type-card:hover {
    border-color: #0d6efd;
}

#md-stepper .adoption-type-card.selected {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

/* Disable adoption type cards during wizard lock */
#md-stepper .adoption-type-card.wizard-locked {
    pointer-events: none;
    opacity: 0.6;
}