body { color: #FFF; padding: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #1E1D2A; }
h1 { font-size: 28px; font-weight: 500; }
h2 { font-size: 23px; font-weight: 500; }
h3 { font-size: 18px; font-weight: 500; }

.bg-success { background: #00B989 !important; }
.bg-primary { background: #1b3439 !important; }
.bg-secondary { background: #352638 !important; }
.btn-primary { font-size: 13px; background: #00B989; background-image: linear-gradient(125deg, #00DBA2 0%, #00B989 100%, #00B888 100%); border-radius: 100px; border: none; transition: .4s ease-in-out; }
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active { background-image: linear-gradient(125deg, #00FFB7 0%, #00B989 100%, #00B888 100%); box-shadow: 0px 0px 14px #1FB899; }
.btn-secondary { font-size: 13px; background: #272637; border: 1px solid #323046; border-radius: 100px; transition: .4s ease-out; }
.btn-secondary:hover { background: #323046; border: 1px solid #393750; }
.btn-secondary .fa,
.btn-secondary .fas { color: #FD71AF; }
.btn-secondary svg { fill: #FD71AF; }
.btn-simple { padding: 13px 30px; font-size: 13px; color: #FFF; background: #00B888; border: none; border-radius: 5px; text-align: center; }
.btn-simple:hover { color: #FFF; box-shadow: 0px 0px 14px #1FB899; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 45px; min-width: 45px; }
.btn-has-label .fas { margin-right: 9px; }
.btn-outline-secondary { color: #FD71AF; border-color: #FD71AF; }
.btn-outline-secondary:hover { color: #FD71AF; background-color: #322436; border-color: #FD71AF; }
.btn-check:active + .btn-outline-secondary,
.btn-check:checked + .btn-outline-secondary,
.btn-outline-secondary.active,
.btn-outline-secondary.dropdown-toggle.show,
.btn-outline-secondary:active { color: #FFF; background-color: #FD71AF; }
.alert .btn-close { margin-top: -5px; font-size: 16px; background: transparent; }
.alert-success { border-color: #18715f; background-color: #1b3439; }
.alert-success,
.alert-success .btn-close { color: #00FFB7; }
.alert-danger { border-color: #6e3b43; background-color: #342531; }
.alert-danger,
.alert-danger .btn-close { color: #F46E6E; }
.alert-warning { border-color: #725d1a; background-color: #352e26; }
.alert-warning,
.alert-warning .btn-close { color: #FFC800; }
.list-group { border-radius: 0; }
.list-group-item { padding-top: 9px; padding-bottom: 9px; color: #FFF; background: transparent; border: none; border-bottom: 1px solid #323046; }
.list-group-item .badge { padding: 1em; font-size: 1em; font-weight: 500; min-width: 61px; }
.list-group-item .badge.bg-primary { border: 1px solid #18715f; }
.list-group-item .badge.bg-secondary { border: 1px solid #713D5C; }
.list-group-item.active { background: #FD71AF; border-color: #FD71AF; }
.list-group-item-action:focus, .list-group-item-action:hover { color: #FFF; background-color: #322436; border-color: #FD71AF; }
.text-muted { color: #A2A0B9 !important; }
.dropdown-menu { padding: 10px; background: #272637; border: 1px solid #323046; border-radius: 4px; }
.dropdown-item { color: #FFF; }
.dropdown-item:focus, .dropdown-item:hover { color: #FFF; background: #323046; }

.wrapper { display: flex; }
.sidebar { position: fixed; z-index: 999; top: 0; left: 0; overflow: hidden; display: block; flex: 0 0 186px; width: 186px; height: 100vh; background: #DE163A; background: transparent linear-gradient(180deg, #DE163A 0%, #CE0373 100%); border-radius: 0px 15px 15px 0px; transition: .2s ease-out; }
.logo { display: block; margin: 20px auto; width: 34px; height: 34px; }
.logo svg { display: block; width: 100%; height: 100%; }
.nav { overflow-x: auto; display: block; margin: 15px 0; max-height: 5500px; }
.nav a { position: relative; display: flex; align-items: center; padding: 0 30px; width: 100%; height: 46px; color: #F9D7DF; text-decoration: none; background: transparent linear-gradient(145deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 100%); transition: .2s ease-out; }
.nav a svg { opacity: .62; display: inline-block; margin-right: 11px; width: 16px; height: 16px; transition: .4s ease-out; }
.nav a:hover { color: #FFF; background: transparent linear-gradient(145deg, rgba(255,255,255,.23) 0%, rgba(255,255,255,.01) 100%); }
.nav a:hover svg,
.nav a.active svg { opacity: 1; }
.nav a.active { color: #FFF; }
.nav a.active::before { position: absolute; top: 50%; left: 14px; content: " "; margin-top: -3px; width: 6px; height: 6px; background: #FFF; border-radius: 100px; }
.logout { position: absolute; left: 50%; bottom: 12px; display: flex; align-items: center; justify-content: center; margin-left: -10px; width: 20px; height: 20px; font-size: 12px; color: #FFF; text-decoration: none; background: rgba(0,0,0,.26); border-radius: 100px; transition: .4s ease-out; }
.logout span { display: none; }
.logout:hover { opacity: .5; color: #FFF; }
.main-panel { display: block; margin-left: 186px; min-width: 0; width: calc(100% - 186px); }
.page-header { position: fixed; top: 0; left: 0; z-index: 9; display: flex; align-items: center; padding-left: 186px; width: 100%; height: 106px; border-bottom: 1px solid #323046; transition: .4s ease-out; }
/* Keep the backdrop inside the fixed header's stacking context, below its controls. */
.page-header::after { opacity: .95; content: " "; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #1E1D2A; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.page-title { position: relative; z-index: 999; margin: 0; padding: 0 30px; font-size: 28px; color: #FFF; line-height: 32px; }
.navbar { position: relative; z-index: 999; display: flex; padding: 0; width: 100%; }
.navbar .btn { display: flex; align-items: center; justify-content: center; height: 45px; min-width: 45px; }
.navbar-nav { flex-direction: row; align-items: center; justify-content: flex-end; padding: 0 30px; width: 100%; }
.navbar-nav > .nav-item { margin: 0 11.5px; }
.navbar-nav > .nav-item .bullet { margin-top: -4px; }
.navbar-nav > .nav-item:last-child { margin-right: 0; }
.navbar-nav .btn-search svg { width: 18px; height: 18px; }
.navbar-nav .dropdown-menu { position: absolute; }
.navbar-nav .dropdown-toggle::after { display: none; } 
.navbar-nav .btn-add { display: flex; align-items: center; justify-content: center; width: 39px; height: 39px; }
.navbar-nav .btn-add span { display: none; }
.navbar-nav .user-photo { display: block; width: 39px; height: 39px; }
.content { position: relative; z-index: 1; display: flex; margin: 0; padding: 106px 0 0; }
.content > .row { width: 100%; }

.menu-mini .sidebar { width: 75px; }
.menu-mini .nav a svg { margin: 0; }
.menu-mini .nav a span { display: none; }
.menu-mini .page-header { padding-left: 75px; }
.menu-mini .content { padding-left: 76px; }

.cubo-content-block { min-height: 100vh; }
.cubo-content-block .card { color: #fff; background: #272637; border-color: #323046; }
.cubo-filter-form .form-control,
.cubo-filter-form .form-select { color: #fff; background-color: #1e1d2a; border-color: #45435c; }
.cubo-filter-form .form-control::placeholder { color: #a2a0b9; }
.cubo-table { --bs-table-color: #fff; --bs-table-bg: transparent; --bs-table-border-color: #323046; --bs-table-hover-color: #fff; --bs-table-hover-bg: rgba(255,255,255,.045); }
.cubo-table thead th { color: #a2a0b9; white-space: nowrap; }
.cubo-select-column { width: 2.75rem; min-width: 2.75rem; text-align: center; }
.cubo-select-column .form-check-input { margin: 0; cursor: pointer; background-color: #1e1d2a; border-color: #5a5872; }
.cubo-select-column .form-check-input:checked,
.cubo-select-column .form-check-input:indeterminate { background-color: #00b989; border-color: #00b989; }
.cubo-bulk-toolbar { padding: .85rem 1rem; background: #272637; border: 1px solid #323046; border-radius: .5rem; }
.cubo-bulk-toolbar [data-cubo-selected-count] { min-width: 7.5rem; }
.cubo-pagination .page-numbers { display: flex; gap: .25rem; align-items: center; padding-left: 0; list-style: none; }
.cubo-pagination .page-numbers a,
.cubo-pagination .page-numbers span { display: inline-flex; min-width: 2.5rem; min-height: 2.5rem; align-items: center; justify-content: center; padding: .4rem .75rem; color: #fff; border: 1px solid #45435c; border-radius: .5rem; }
.cubo-pagination .page-numbers .current { color: #1e1d2a; background: #00b989; border-color: #00b989; }
.cubo-list-results { transition: opacity .15s ease-in-out; }
.cubo-list-results:focus { outline: 2px solid #00b989; outline-offset: .25rem; }
.cubo-async-list.is-loading .cubo-list-results { opacity: .55; pointer-events: none; }

.cubo-ajax-loading::after,
[data-cubo-edit-submit].is-submitting::after {
	content: "";
	display: inline-block;
	inline-size: .85em;
	block-size: .85em;
	margin-inline-start: .5em;
	border: .12em solid currentColor;
	border-inline-end-color: transparent;
	border-radius: 50%;
	vertical-align: -.08em;
	flex: none;
	animation: cubo-ajax-spin .8s linear infinite;
}
@keyframes cubo-ajax-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
	.cubo-ajax-loading::after,
	[data-cubo-edit-submit].is-submitting::after { animation: none; }
}
.cubo-filter-form { overflow: hidden; border-radius: .75rem; }
.cubo-filter-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 1.25rem; border-bottom: 1px solid #323046; }
.cubo-filter-header p { margin: .15rem 0 0; color: #a2a0b9; font-size: .82rem; }
.cubo-filter-title { display: flex; align-items: center; gap: .65rem; margin: 0; font-size: 1rem; font-weight: 600; }
.cubo-filter-title i { color: #fd71af; }
.cubo-filter-count { flex: 0 0 auto; padding: .3rem .65rem; color: #a2a0b9; font-size: .75rem; font-weight: 600; background: #1e1d2a; border: 1px solid #45435c; border-radius: 999px; }
.cubo-filter-count.is-active { color: #fff; border-color: #fd71af; }
.cubo-filter-body { padding: 1.25rem; }
.cubo-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1rem; align-items: end; }
.cubo-filter-field { min-width: 0; }
.cubo-filter-field--search { grid-column: span 2; }
.cubo-filter-field .form-label { margin-bottom: .35rem; font-size: .78rem; font-weight: 600; }
.cubo-search-control { position: relative; }
.cubo-search-control > i { position: absolute; top: 50%; left: .9rem; z-index: 2; color: #a2a0b9; transform: translateY(-50%); pointer-events: none; }
.cubo-search-control .form-control { padding-left: 2.65rem; }
.cubo-filter-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #323046; }
.cubo-list-loading { display: flex; position: sticky; top: 7.15rem; z-index: 5; width: fit-content; align-items: center; gap: .6rem; margin: 0 auto .75rem; padding: .55rem .85rem; color: #fff; font-size: .8rem; background: #272637; border: 1px solid #45435c; border-radius: 999px; box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.25); }
.cubo-list-loading[hidden] { display: none; }
.cubo-list-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; color: #a2a0b9; font-size: .82rem; }
.cubo-list-meta > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; }
.cubo-list-meta strong { color: #fff; font-size: .95rem; }
.cubo-list-page-count::before { margin-right: .6rem; content: "·"; }
.cubo-list-filter-note { display: inline-flex; align-items: center; gap: .45rem; }
.cubo-list-filter-note i { color: #fd71af; }
.cubo-table-shell { overflow: auto; background: #272637; border: 1px solid #323046; border-radius: .75rem; }
.cubo-table-shell:focus-visible { outline: 2px solid #00b989; outline-offset: .2rem; }
.cubo-table { min-width: 50rem; margin-bottom: 0; }
.cubo-table > :not(caption) > * > * { padding: .85rem 1rem; }
.cubo-table tbody tr { transition: background-color .15s ease, box-shadow .15s ease; }
.cubo-table tbody tr.is-selected > * { background-color: rgba(0,185,137,.1); }
.cubo-table tbody tr.is-selected > :first-child { box-shadow: inset 3px 0 #00b989; }
.cubo-item-link { color: #fff; font-weight: 600; text-decoration: none; }
.cubo-item-link:hover { color: #00ffb7; text-decoration: underline; text-underline-offset: .2rem; }
.cubo-value-pill { display: inline-flex; align-items: center; width: fit-content; max-width: 18rem; padding: .28rem .58rem; color: #fff; font-size: .76rem; line-height: 1.25; background: #323046; border: 1px solid #45435c; border-radius: 999px; }
.cubo-empty-value { color: #a2a0b9; }
.cubo-row-actions { width: 1%; white-space: nowrap; }
.cubo-row-actions .btn-sm { min-height: 2.25rem; height: auto; padding: .4rem .7rem; }
.cubo-row-actions--bill { width: 13rem; min-width: 11rem; white-space: normal; }
.cubo-row-actions--bill .btn-sm { overflow-wrap: anywhere; }
.cubo-row-actions--bill i + .cubo-bill-action-label { margin-inline-start: .45rem; }
.cubo-bulk-toolbar { position: sticky; top: 7.15rem; z-index: 4; padding: .85rem 1rem; box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.12); }
.cubo-bulk-toolbar-main { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.cubo-selected-count { display: inline-flex; min-width: 8rem; align-items: center; gap: .5rem; color: #a2a0b9; font-weight: 600; }
.cubo-bulk-toolbar.has-selection .cubo-selected-count { color: #fff; }
.cubo-bulk-toolbar.has-selection .cubo-selected-count i { color: #00b989; }
.cubo-bulk-help { display: block; margin-top: .55rem; }
.cubo-bulk-confirm { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(13rem, .65fr) auto; gap: .75rem 1rem; align-items: end; margin-top: .85rem; padding-top: .85rem; border-top: 1px solid #45435c; }
.cubo-bulk-confirm[hidden] { display: none; }
.cubo-bulk-confirm-copy { align-self: center; }
.cubo-bulk-confirm-copy strong,
.cubo-bulk-confirm-copy span { display: block; }
.cubo-bulk-confirm-copy span { color: #a2a0b9; font-size: .78rem; }
.cubo-bulk-confirm .form-label { margin: 0; }
.cubo-bulk-confirm .form-label > strong { display: block; color: #ffc800; letter-spacing: .04em; }
.cubo-bulk-confirm .form-control { min-height: 2.5rem; }
.cubo-bulk-confirm-actions { display: flex; gap: .5rem; }
.cubo-bulk-confirm .invalid-feedback { grid-column: 2 / -1; }
.cubo-empty-list { display: flex; min-height: 13rem; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; color: #a2a0b9; text-align: center; }
.cubo-empty-list-icon { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; margin-bottom: .75rem; color: #fd71af; background: #323046; border-radius: 50%; }
.cubo-empty-list strong { margin-bottom: .2rem; color: #fff; font-size: 1rem; }
.cubo-pagination { display: flex; justify-content: center; margin-top: 1rem; }
.cubo-pagination .page-numbers { flex-wrap: wrap; justify-content: center; }
.cubo-portal-list-card { overflow: hidden; }
.cubo-portal-list-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: rgba(255,255,255,.018); border-bottom: 1px solid #323046; }
.cubo-portal-list-header > div { display: flex; align-items: center; gap: .75rem; }
.cubo-portal-list-icon { display: inline-flex; width: 2.25rem; height: 2.25rem; flex: 0 0 2.25rem; align-items: center; justify-content: center; color: #fd71af; background: #323046; border-radius: .55rem; }
.cubo-portal-list-total { flex: 0 0 auto; color: #a2a0b9; font-size: .78rem; }
.cubo-portal-record-list > li { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(14rem, auto); gap: 1rem; align-items: center; }
.cubo-portal-record-list > li > strong { color: #fff; }
.cubo-portal-record-list dl { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: flex-end; margin: 0; }
.cubo-portal-record-list dl > div { display: grid; grid-template-columns: auto auto; gap: .4rem; }
.cubo-portal-record-list dt { color: #a2a0b9; font-size: .74rem; font-weight: 500; }
.cubo-portal-record-list dd { margin: 0; color: #fff; font-size: .78rem; font-weight: 600; }
.cubo-portal-empty { display: flex; min-height: 6rem; align-items: center; justify-content: center; gap: .6rem; color: #a2a0b9; }
.cubo-portal-empty i { color: #fd71af; }
.cubo-document-actions { min-width: 14rem; }
.cubo-document-actions > .btn { margin-bottom: .35rem; }
.cubo-portal-bill-table .cubo-portal-bill-open { --cubo-portal-bill-accent: #00b989; }
.cubo-portal-bill-table .cubo-portal-bill-overdue { --cubo-portal-bill-accent: #ffc800; }
.cubo-portal-bill-table .cubo-portal-bill-open > :first-child { box-shadow: inset 3px 0 var(--cubo-portal-bill-accent); }
.cubo-portal-bill-status-open { border-color: var(--cubo-portal-bill-accent); }
.cubo-portal-bill-table .cubo-portal-payment-cell { width: 40%; min-width: 18rem; }
.cubo-portal-payment-panel { padding: .72rem .78rem; text-align: start; background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: .65rem; }
.cubo-portal-bill-open .cubo-portal-payment-panel { border-inline-start: 2px solid var(--cubo-portal-bill-accent); }
.cubo-portal-payment-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .55rem; font-size: .875rem; font-weight: 600; }
.cubo-portal-payment-title i { color: var(--cubo-portal-bill-accent, currentColor); }
.cubo-portal-payment-content { display: grid; align-items: start; gap: .65rem; }
.cubo-portal-payment-with-qr { grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 7rem); }
.cubo-portal-payment-fields { display: grid; min-width: 0; gap: .65rem; font-size: .76rem; }
.cubo-portal-payment-fields:empty { display: none; }
.cubo-portal-payment-code { display: block; padding: .4rem .5rem; margin-top: .25rem; color: var(--bs-emphasis-color); background: var(--bs-tertiary-bg); border-radius: .3rem; overflow-wrap: anywhere; white-space: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.cubo-portal-payment-qr { margin: 0; }
.cubo-portal-payment-qr img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: .35rem; background: #fff; }
@media (max-width: 991.98px) {
	.cubo-list-loading,
	.cubo-bulk-toolbar { top: 5.25rem; }
	.cubo-bulk-confirm { grid-template-columns: 1fr 1fr; }
	.cubo-bulk-confirm-copy { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
	.cubo-filter-header { align-items: flex-start; flex-direction: column; gap: .65rem; }
	.cubo-filter-field--search { grid-column: span 1; }
	.cubo-filter-actions > .btn { width: 100%; }
	.cubo-list-meta { align-items: flex-start; flex-direction: column; gap: .35rem; }
	.cubo-bulk-toolbar { position: static; }
	.cubo-bulk-toolbar-main .ms-auto { width: 100%; margin-left: 0 !important; }
	.cubo-bulk-confirm { grid-template-columns: 1fr; }
	.cubo-bulk-confirm-copy,
	.cubo-bulk-confirm .invalid-feedback { grid-column: auto; }
	.cubo-bulk-confirm-actions > .btn { flex: 1 1 0; }
	.cubo-table-shell { overflow: visible; background: transparent; border: 0; border-radius: 0; }
	.cubo-table { display: block; min-width: 0; }
	.cubo-table thead { display: none; }
	.cubo-table tbody { display: grid; gap: .75rem; }
	.cubo-table tbody tr { display: block; overflow: hidden; background: #272637; border: 1px solid #323046; border-radius: .75rem; }
	.cubo-table tbody td { display: grid; grid-template-columns: minmax(7.25rem, 38%) minmax(0, 1fr); gap: .75rem; align-items: center; padding: .65rem .85rem; text-align: right; border-bottom: 1px solid #323046; }
	.cubo-table tbody td:last-child { border-bottom: 0; }
	.cubo-table tbody td::before { align-self: center; color: #a2a0b9; font-size: .72rem; font-weight: 600; text-align: left; text-transform: uppercase; content: attr(data-label); }
	.cubo-table tbody td[colspan] { display: block; padding: 0; }
	.cubo-table tbody td[colspan]::before { display: none; }
	.cubo-table tbody tr.is-selected { border-color: #00b989; box-shadow: inset 3px 0 #00b989; }
	.cubo-table tbody tr.is-selected > :first-child { box-shadow: none; }
	.cubo-primary-cell { font-size: .95rem; }
	.cubo-row-actions { width: auto; white-space: normal; }
	.cubo-row-actions > div { justify-content: flex-end !important; }
	.cubo-row-actions .btn-sm { min-height: 2.65rem; }
	.cubo-row-actions--bill { width: auto; min-width: 0; }
	.cubo-select-column { width: auto; min-width: 0; }
	.cubo-pagination .page-numbers a,
	.cubo-pagination .page-numbers span { min-width: 2.75rem; min-height: 2.75rem; }
	.cubo-portal-record-list > li { grid-template-columns: 1fr; gap: .45rem; }
	.cubo-portal-record-list dl { justify-content: flex-start; }
	.cubo-document-actions { min-width: 0; text-align: right; }
	.cubo-portal-bill-table tbody .cubo-portal-bill-open { border-inline-start: 3px solid var(--cubo-portal-bill-accent); }
	.cubo-portal-bill-table tbody .cubo-portal-bill-open > :first-child { box-shadow: none; }
	.cubo-table tbody .cubo-portal-payment-cell { width: auto; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: .4rem; }
	.cubo-portal-payment-cell .cubo-document-actions { text-align: left; }
}
@media (max-width: 359.98px) {
	.cubo-portal-payment-with-qr { grid-template-columns: minmax(0, 1fr); }
	.cubo-portal-payment-qr { width: 7rem; }
}
@media (prefers-reduced-motion: reduce) { .cubo-list-results { transition: none; } }
.cubo-menu-icon { display: inline-flex; flex: 0 0 18px; width: 18px; height: 18px; margin-right: 10px; align-items: center; justify-content: center; }
.cubo-menu-icon svg,
.cubo-menu-icon img { display: block; width: 16px; height: 16px; object-fit: contain; }
.offcanvas-header { color: #fff; }

.cubo-billing-result { display: grid; gap: 1rem; }
.cubo-billing-result.is-stale > :not(.cubo-billing-technical) { opacity: .58; }
.cubo-billing-result-header { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; border-left: 3px solid #00b989; }
.cubo-billing-result-heading { max-width: 48rem; }
.cubo-billing-badge { display: inline-flex; align-items: center; width: fit-content; padding: .32rem .65rem; color: #d8d6e8; font-size: .72rem; font-weight: 600; line-height: 1.2; background: #323046; border: 1px solid #45435c; border-radius: 100px; }
.cubo-billing-badge--success { color: #00ffb7; background: rgba(0,185,137,.12); border-color: rgba(0,255,183,.3); }
.cubo-billing-badge--warning { color: #ffc800; background: rgba(255,200,0,.1); border-color: rgba(255,200,0,.3); }
.cubo-billing-badge--danger { color: #f46e6e; background: rgba(244,110,110,.1); border-color: rgba(244,110,110,.3); }
.cubo-billing-badge--neutral { color: #d8d6e8; }
.cubo-billing-summary { display: grid; grid-template-columns: repeat(auto-fit,minmax(10rem,1fr)); gap: .75rem; }
.cubo-billing-metric { display: flex; min-height: 6.6rem; flex-direction: column; justify-content: center; padding: 1rem 1.15rem; background: #272637; border: 1px solid #323046; border-radius: .5rem; }
.cubo-billing-metric--warning { border-color: rgba(255,200,0,.45); }
.cubo-billing-metric--danger { border-color: rgba(244,110,110,.45); }
.cubo-billing-metric--success { border-color: rgba(0,255,183,.35); }
.cubo-billing-metric-label { margin-bottom: .35rem; color: #a2a0b9; font-size: .75rem; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; }
.cubo-billing-metric-value { color: #fff; font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.cubo-billing-metric-detail { margin-top: .3rem; color: #a2a0b9; }
.cubo-billing-groups { display: grid; gap: 1rem; }
.cubo-billing-selection { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.cubo-billing-choice { display: inline-flex; align-items: center; gap: .6rem; margin: 0; min-height: 2rem; cursor: pointer; }
.cubo-billing-choice .form-check-input { flex: 0 0 auto; margin: 0; cursor: pointer; }
.cubo-billing-choice--compact { justify-content: center; min-width: 2rem; }
.cubo-billing-line-origin { display: flex; align-items: flex-start; gap: .5rem; }
.cubo-billing-lines tr.is-excluded td > :not(.cubo-billing-line-origin),
.cubo-billing-lines tr.is-excluded .cubo-billing-line-origin > div,
.cubo-billing-group.is-excluded .cubo-billing-group-total { opacity: .58; }
.cubo-billing-group { overflow: hidden; }
.cubo-billing-group-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem; background: rgba(255,255,255,.018); border-color: #323046; }
.cubo-billing-eyebrow { display: block; margin-bottom: .35rem; color: #fd71af; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cubo-billing-group-total { display: flex; min-width: 10.5rem; flex-direction: column; align-items: flex-end; text-align: right; }
.cubo-billing-group-total > span { color: #a2a0b9; font-size: .75rem; }
.cubo-billing-group-total > strong { margin: .2rem 0; color: #00ffb7; font-size: 1.3rem; }
.cubo-billing-lines { min-width: 68rem; }
.cubo-billing-lines th { padding: .8rem 1rem; font-size: .72rem; letter-spacing: .035em; text-transform: uppercase; }
.cubo-billing-lines td { padding: 1rem; vertical-align: middle; }
.cubo-billing-line-total { color: #00ffb7; white-space: nowrap; }
.cubo-billing-reason { max-width: 18rem; color: #ffc800; line-height: 1.35; }
.cubo-billing-issues-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,24rem),1fr)); gap: 1rem; }
.cubo-billing-issues { overflow: hidden; }
.cubo-billing-issues--warning { border-color: rgba(255,200,0,.35) !important; }
.cubo-billing-issues--danger { border-color: rgba(244,110,110,.35) !important; }
.cubo-billing-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; color: #fff; background: rgba(255,255,255,.018); border-color: #323046; }
.cubo-billing-issue-item { display: flex; gap: .85rem; padding: 1rem 1.25rem; line-height: 1.45; }
.cubo-billing-issue-icon { display: inline-flex; width: 1.6rem; height: 1.6rem; flex: 0 0 1.6rem; align-items: center; justify-content: center; margin-top: .05rem; border-radius: 50%; }
.cubo-billing-issues--warning .cubo-billing-issue-icon { color: #ffc800; background: rgba(255,200,0,.1); }
.cubo-billing-issues--danger .cubo-billing-issue-icon { color: #f46e6e; background: rgba(244,110,110,.1); }
.cubo-billing-created { overflow: hidden; }
.cubo-billing-created-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(13rem,1fr)); gap: .75rem; padding: 1rem; }
.cubo-billing-created-item { display: grid; gap: .65rem; padding: 1rem; background: #1e1d2a; border: 1px solid #3b394f; border-radius: .5rem; }
.cubo-billing-created-total { color: #00ffb7; font-size: 1.25rem; font-weight: 600; }
.cubo-billing-empty-state { min-height: 12rem; align-items: center; justify-content: center; text-align: center; border-style: dashed !important; }
.cubo-billing-empty-state--danger { color: #f46e6e !important; border-color: rgba(244,110,110,.45) !important; }
.cubo-billing-empty-icon { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; margin-bottom: .75rem; color: #fd71af; font-size: 1rem; font-weight: 700; background: rgba(253,113,175,.1); border: 1px solid rgba(253,113,175,.25); border-radius: 50%; }
.cubo-billing-loading { min-height: 8rem; flex-direction: row; align-items: center; justify-content: center; gap: .75rem; color: #d8d6e8; }
.cubo-billing-technical { overflow: hidden; }
.cubo-billing-technical summary { padding: 1rem 1.25rem; color: #a2a0b9; font-size: .8rem; cursor: pointer; }
.cubo-billing-technical summary:hover,
.cubo-billing-technical summary:focus { color: #fff; }
.cubo-billing-technical pre { max-height: 28rem; margin: 0; padding: 1.25rem; overflow: auto; color: #d8d6e8; font-size: .75rem; white-space: pre-wrap; background: #171620; border-top: 1px solid #323046; }

@media (max-width: 1199.98px) {
	.widgets { position: static; width: 100%; margin: 2rem 0 0; }
}

@media (max-width: 991.98px) {
	.sidebar { width: min(86vw, 280px); border-radius: 0 15px 15px 0; }
	.sidebar.offcanvas-lg { visibility: hidden; }
	.sidebar.offcanvas-lg.show { visibility: visible; }
	.main-panel { margin-left: 0; width: 100%; }
	.page-header { left: 0; padding-left: 0; height: 76px; }
	.page-title { padding: 0; font-size: 1.35rem; }
	.content { padding-top: 76px; }
	.navbar-nav { padding: 0 1rem; }
	.cubo-billing-result-header,
	.cubo-billing-group-header { align-items: flex-start; flex-direction: column; }
	.cubo-billing-result-header > .cubo-billing-metric { width: 100%; min-height: auto; }
	.cubo-billing-group-total { align-items: flex-start; text-align: left; }
}

@media (min-width: 992px) {
	.sidebar.offcanvas-lg { visibility: visible !important; transform: none !important; }
}

.navbar-table { position: fixed; z-index: 9999; top: 30px; right: 300px; }
table.dataTable { margin-bottom: 60px !important; border-collapse: collapse !important; }
table.dataTable th { font-size: 14px; font-weight: 600; color: #A2A0B9; }
table.dataTable > :not(caption) > * > * { border: none; }
table.dataTable > tbody > tr.odd { background: #272637; border: 1px solid #323046; border-radius: 4px; }
table.dataTable > tbody > tr.odd,
table.dataTable > tbody > tr.even  { font-size: 13px; line-height: 14px; }
table.dataTable > tbody > tr:nth-of-type(2n+1) > *,
table.dataTable > tbody > tr > * { padding: 18px; color: #FFF; }
table.dataTable > tbody > tr > td > a { color: #A2A0B9 }
table.dataTable > tbody > tr.selected { background: #323046; border: 1px solid #323046; }
table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before {    
    top: 16%;
    right: 1em;
    font-family: "Font Awesome 5 Free";
    font-size: 11px;
    content: "\f106" !important;
    color: #FD71AF;
}
table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
    bottom: 16%; 
    right: 1em;
    font-family: "Font Awesome 5 Free";
    font-size: 11px;
    content: "\f107" !important;
    color: #FD71AF;
}
.dataTables_info { font-size: 14px; color: #A2A0B9 }
.dataTables_info span { color: #FFF; }
.dataTables_paginate .page-link,
.dataTables_paginate .page-item.disabled .page-link,
.dataTables_paginate .page-item.active .page-link { font-size: 14px; font-weight: 600; background: transparent; border: none; }
.dataTables_paginate .page-item.disabled .page-link { opacity: .5; }
.dataTables_paginate .page-item.active .page-link { color: #FD71AF; }
.widgets { position: fixed; right: 30px; width: 250px; margin-left: 30px; }
.widgets .card { margin-bottom: 32px; padding: 10px 10px 34px; background: #272637; border: 1px solid #323046; border-radius: 4px; }
.widgets .card h3 { padding: 13px 20px; color: #FFF; }
.widgets .card:last-child { margin-bottom: 0; }
.activities { display: block; overflow-x: auto; list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; max-height: calc(100vh - 530px); }
.activity { display: flex; padding: 12px; width: 100%; font-size: 13px; border-bottom: 1px solid #323046; }
.activity:last-child { border: none; }
.activity-image { display: block; width: 33px; height: 33px; margin-right: 9px; }
.activity-image img { display: block; width: 100%; height: auto; }
.activity-description { display: table; margin: 10px 0; padding: 5px 10px; font-size: 12px; background: rgba(255,255,255,.1); border-radius: 100px; }
.apps { list-style: none; display: flex; flex-wrap: wrap; margin: 0 20px; padding: 0; }
.apps > li { display: block; margin: 14px; }
.apps li:nth-child(3n) { margin-right: 0; }
.apps li:nth-child(3n+1) { margin-left: 0; }
.apps li:first-child { margin-right: 14px; }
.app-icon { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; background-color: rgba(0,0,0,.14); border-radius: 12px; }
.app-icon img { display: block; width: 100%; height: auto; max-width: 24px; max-height: 24px; }
.modal-backdrop { background: #1E1D2A; }
.modal-backdrop.show { opacity: .98; }
.modal-dialog { max-width: 920px; }
.modal-header { display: block; padding: 37.5px 30px 30px; border-color: #323046; }
.modal-header p { margin: 0; font-size: 15px; }
.modal-close { position: absolute; top: 30px; right: 30px; display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; }
.modal-close svg { width: 20px; height: 20px; }
.modal-close,
.modal-close:hover { font-size: 18px; color: #FD71AF; }
.modal-title { font-weight: 600; color: #FFF; }
.modal-body { padding: 30px; padding-bottom: 0; font-size: 14px; }
.modal-content { color: #A2A0B9; background: #1A1925; }
.modal-content .btn-group { margin: 30px 0; }
.modal-content .btn-group svg { display: inline-block; margin-right: 18px; width: 25px; height: 25px; }
.modal-content .btn-group .btn { margin-right: 20px; padding: 22px 30px; color: #FFF; background: #222130; border: 1px solid #323046; border-radius: 4px; }
.modal-content .btn-group .btn-check:active + .btn,
.modal-content .btn-group .btn-check:checked + .btn { background: #16292E; border: 1px solid #035E51; border-radius: 6px; }
.modal-content .btn-group .btn-check:active + .btn svg,
.modal-content .btn-group .btn-check:active + .btn svg path,
.modal-content .btn-group .btn-check:checked + .btn svg,
.modal-content .btn-group .btn-check:checked + .btn svg path { fill: #00FFB7; }
.modal-content .input-group svg { width: 14px; height: 14px; }
.modal-content .input-group .input-group-text { padding-left: 0; background: transparent; border: none; }
.modal-content .form-group { padding: 10px 0; }
.modal-content .form-select { max-width: 300px; 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='%23FD71AF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); }
.modal-content .form-select option,
.modal-content .form-select optgroup { margin: 0; background: #1A1925; }
.modal-content .form-select,
.modal-content .form-control { padding-left: 0; padding-right: 0; color: #FFF; background-color: transparent; border: 0px solid #1A1925; border-radius: 0; transition: .4s; }
.modal-content .form-control:focus { border-bottom: 1px solid #323046; box-shadow: none; }
.modal-footer { padding: 30px; justify-content: unset; border: none; }
.modal-footer .btn { margin: 0; }
.modal.modal-right { transition: opacity .15s linear; }
.modal.modal-right .modal-dialog { margin-top: 106px; margin-bottom: 0; margin-right: 0; transform: translate(50px, 0); transition: transform .15s linear; }
.modal.modal-right.show .modal-dialog { transform: none; }
.modal.modal-right:not(.show) { opacity: 0; }

/* ACF editor: bridge the generated fields to the original modal form layout. */
/* Select2 attaches dropdowns to body; keep the sticky actions in the same stacking context. */
.content.cubo-edit-content { z-index: auto; }
.cubo-edit-panel { width: 100%; max-width: 920px; margin: 0 auto; }
.cubo-edit-page-heading { position: relative; z-index: 999; min-width: 0; }
.cubo-edit-page-heading .page-title { padding: 0; overflow: hidden; font-size: 1.3rem; text-overflow: ellipsis; white-space: nowrap; }
.cubo-page-context { display: block; margin-bottom: .1rem; color: #a2a0b9; font-size: .68rem; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.cubo-edit-save-top { position: relative; z-index: 999; flex: 0 0 auto; }
.cubo-edit-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cubo-back-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; color: #fff; font-weight: 600; text-decoration: none; }
.cubo-back-link i { color: #fd71af; }
.cubo-back-link:hover { color: #fd71af; }
.cubo-edit-status { color: #a2a0b9; font-size: .78rem; text-align: right; }
.cubo-edit-panel.has-unsaved-changes .cubo-edit-status { color: #ffc800; }
.cubo-edit-panel > .modal-content { overflow: visible; border: 1px solid #323046; border-radius: .75rem; box-shadow: 0 1rem 3rem rgba(0,0,0,.16); }
.cubo-edit-panel > .modal-content > .modal-header { border-radius: .75rem .75rem 0 0; }
.cubo-edit-eyebrow { display: block; margin-bottom: .25rem; color: #fd71af; font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.cubo-edit-error-summary { margin: 1.25rem 1.25rem 0; }
.cubo-edit-form > .acf-fields { display: flex; flex-wrap: wrap; padding: 20px; }
.cubo-edit-form > .acf-fields::after { display: none; }
.cubo-edit-form > .acf-fields > .acf-field {
	flex: 1 0 100%;
	width: 100%;
	min-width: 0;
	padding: 10px;
	border: 0;
}
.cubo-edit-form > .acf-fields > .acf-field[data-width] { flex: 0 0 auto; }
.cubo-edit-form .acf-label { margin: 0 0 5px; }
.cubo-edit-form .acf-label label { color: #fff; font-size: 12px; font-weight: 500; }
.cubo-edit-form .acf-label .description,
.cubo-edit-form .acf-input .description { color: #ccc; font-size: 12px; font-weight: 200; }
.cubo-edit-form .acf-required { color: #FD71AF; }
.cubo-edit-form .acf-input input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="button"]):not([type="submit"]),
.cubo-edit-form .acf-input textarea,
.cubo-edit-form .acf-input select {
	width: 100%;
	min-height: 45px;
	padding: 0 15px;
	color: #fff;
	background-color: #222130;
	border: 1px solid #45435c;
	border-radius: .5rem;
	box-shadow: none;
	transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out, background-color .2s ease-in-out;
}
.cubo-edit-form .acf-input textarea { min-height: 110px; padding-top: 12px; padding-bottom: 12px; }
.cubo-edit-form .acf-input select {
	max-width: 100%;
	padding-right: 35px;
	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='%23FD71AF' 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 .75rem center;
	background-size: 16px 12px;
	appearance: none;
}
.cubo-edit-form .acf-input select option,
.cubo-edit-form .acf-input select optgroup { color: #fff; background: #1A1925; }
.cubo-edit-form .acf-input input::placeholder,
.cubo-edit-form .acf-input textarea::placeholder { color: #999; }
.cubo-edit-form .acf-input input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):hover,
.cubo-edit-form .acf-input input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):focus,
.cubo-edit-form .acf-input textarea:hover,
.cubo-edit-form .acf-input textarea:focus,
.cubo-edit-form .acf-input select:hover,
.cubo-edit-form .acf-input select:focus { border-color: #00b989; outline: 0; box-shadow: 0 0 0 .2rem rgba(0,185,137,.13); }
.cubo-edit-form .acf-input input:disabled,
.cubo-edit-form .acf-input textarea:disabled,
.cubo-edit-form .acf-input select:disabled { color: #7f7f7f; background-color: rgba(0,0,0,.25); }
.cubo-edit-form .select2-container { width: 100% !important; max-width: 100%; color: #fff; }
.cubo-edit-form .select2-container.-acf { z-index: 5; }
/* ACF adds -acf after Select2 clones its body-level dropdown container. */
/* Limit this layer to the editor; modal dropdowns keep their own stacking. */
body.cubo-edit-screen:not(.modal-open) > .select2-container--open { z-index: 5; }
.cubo-edit-form .select2-container .select2-selection--single,
.cubo-edit-form .select2-container .select2-selection--multiple {
	min-height: 45px;
	color: #fff;
	background: #222130;
	border: 1px solid #45435c;
	border-radius: .5rem;
}
.cubo-edit-form .select2-container .select2-selection--single:hover,
.cubo-edit-form .select2-container .select2-selection--single:focus,
.cubo-edit-form .select2-container .select2-selection--multiple:hover,
.cubo-edit-form .select2-container .select2-selection--multiple:focus-within { border-color: #00b989; box-shadow: 0 0 0 .2rem rgba(0,185,137,.13); }
.cubo-edit-form .select2-container .select2-selection--single .select2-selection__rendered { padding-left: 15px; color: #fff; line-height: 45px; }
.cubo-edit-form .select2-container .select2-selection--single .select2-selection__arrow { height: 43px; }
.cubo-edit-form .select2-container .select2-selection--multiple .select2-selection__choice { color: #fff; background: #272637; border-color: #45435c; }
.cubo-edit-form .acf-table { color: #fff; background: #222130; border-color: #323046; }
.cubo-edit-form .acf-table > thead > tr > th { color: #A2A0B9; background: #272637; border-color: #323046; }
.cubo-edit-form .acf-table > tbody > tr > td,
.cubo-edit-form .acf-repeater .acf-row-handle { color: #fff; background: #222130; border-color: #323046; }
.cubo-edit-form .acf-switch.-on { background: #00B989; border-color: #00B989; }
.cubo-edit-form .acf-error-message { color: #F46E6E; background: #342531; border-color: #6e3b43; }
.cubo-edit-form .acf-field.acf-error > .acf-label label { color: #F46E6E; }
.cubo-edit-form .acf-form-submit { position: sticky; bottom: 0; z-index: 6; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 15px 30px; background: rgba(26,25,37,.96); border: 0; border-top: 1px solid #323046; border-radius: 0 0 .75rem .75rem; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cubo-edit-form .acf-form-submit .cubo-edit-cancel { margin-right: auto; }
.cubo-edit-form .acf-form-submit .acf-spinner { margin: 0; }
.cubo-edit-form .acf-repeater .acf-actions .acf-button,
.cubo-edit-form .acf-repeater .acf-row-handle a { min-width: 2.75rem; min-height: 2.75rem; }
.cubo-edit-form .acf-repeater { max-width: 100%; overflow-x: auto; }

@media (max-width: 767.98px) {
	.cubo-edit-panel .modal-header { padding: 25px 20px 20px; }
	.cubo-edit-form > .acf-fields { padding: 10px; }
	.cubo-edit-form > .acf-fields > .acf-field[data-width] { width: 100% !important; }
	.cubo-edit-nav { align-items: flex-start; flex-direction: column; gap: .2rem; }
	.cubo-edit-status { text-align: left; }
	.cubo-edit-form .acf-form-submit { flex-wrap: wrap; padding: 12px 20px; }
	.cubo-edit-form .acf-form-submit .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
	.cubo-edit-form .acf-input input,
	.cubo-edit-form .acf-input textarea,
	.cubo-edit-form .acf-input select { transition: none; }
}

.datepicker td, .datepicker th { width: 30px; height: 30px; color: #FFF; }
.datepicker .datepicker-switch:hover, .datepicker .next:hover, .datepicker .prev:hover, .datepicker tfoot tr th:hover,
.datepicker table tr td span.focused, .datepicker table tr td span:hover,
.datepicker table tr td.day.focused, .datepicker table tr td.day:hover { background: #1A1925; border-radius: 6px; }
.datepicker-dropdown.datepicker-orient-top::before { border: none; }
.datepicker-dropdown.datepicker-orient-top::after { border-top-color: #272637; }
.datepicker-dropdown::after { border-bottom-color: #272637; }
.datepicker table tr td.active.active, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover.active, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active:active, .datepicker table tr td.active:hover.active, .datepicker table tr td.active:hover:active { color: #1A1925; background: #FFF; }
