@font-face {
    font-family: Vazirmatn;
    src: url('/fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: Vazirmatn;
    src: url('/fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 600 900;
    font-style: normal;
    font-display: swap
}

:root {
    --brand: #d8b86d;
    --brand-hover: #ebce8c;
    --deep: #0d0f12;
    --soft: #302a1f;
    --ink: #f2eee6;
    --muted: #a7a9ae;
    --line: #343941;
    --bg: #111316;
    --danger: #ff9b9f;
    --success: #86d4ad;
    --bs-primary: #d8b86d;
    --bs-primary-rgb: 216, 184, 109;
    --bs-body-font-family: Vazirmatn, Tahoma, Arial, sans-serif;
    --bs-body-color: #f2eee6;
    --bs-body-bg: #111316;
    --bs-border-color: #343941;
    --bs-link-color: #d8b86d;
    --bs-link-hover-color: #ebce8c;
    --bs-focus-ring-color: rgba(216, 184, 109, .18)
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font: 14px/1.85 Vazirmatn, Tahoma, Arial, sans-serif;
    -webkit-font-smoothing: antialiased
}

.ltr {
    direction: ltr !important;
}

a {
    color: var(--brand);
    text-decoration: none
}

a:hover {
    color: var(--brand-hover)
}

button,
input.rv-control,
select.rv-control,
textarea.rv-control {
    font: inherit
}

button,
a,
input.rv-control,
select.rv-control,
textarea.rv-control {
    touch-action: manipulation
}

.button:disabled,
.rv-btn:disabled,
button:not([class]):disabled {
    opacity: .55;
    cursor: wait
}

button,
.button,
a {
    -webkit-tap-highlight-color: transparent
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1 {
    font-size: 26px;
    line-height: 1.6;
    font-weight: 700;
    margin-bottom: 7px;
    letter-spacing: -.7px
}

h2 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 17px
}

h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7
}

p {
    margin-bottom: 16px
}

.muted,
small {
    color: var(--muted)
}

small {
    font-size: 12px
}

.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle
}

.button,
button:where(:not([class]), .primary, .secondary, .danger, .button-small) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    min-height: 43px;
    padding: 9px 18px;
    background: var(--brand);
    color: #1b1e23;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.75;
    transition: background .15s, border-color .15s, color .15s
}

.button:hover,
button:where(:not([class]), .primary, .secondary, .danger, .button-small):hover {
    background: var(--brand-hover);
    color: #1b1e23
}

.button.secondary,
button.secondary {
    background: var(--soft);
    color: var(--brand);
    border-color: transparent
}

.button.secondary:hover,
button.secondary:hover {
    background: #302a1f;
    color: var(--brand-hover)
}

.button.danger,
button.danger {
    background: var(--danger)
}

.button-small,
button.button-small {
    min-height: 36px;
    padding: 6px 13px;
    font-size: 12px
}

.button .icon {
    width: 18px;
    height: 18px
}

.icon-button {
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0
}

.icon-button:hover {
    color: var(--brand);
    background: var(--soft)
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #d8b86d;
    outline-offset: 3px
}

.skip-link {
    position: fixed;
    top: -80px;
    right: 20px;
    z-index: 1200;
    padding: 8px 16px;
    background: white;
    color: var(--brand);
    border: 2px solid var(--brand);
    border-radius: 8px
}

.skip-link:focus {
    top: 10px
}

/* Application shell */
.shell {
    min-height: 100vh;
    padding-right: 240px
}

.sidebar {
    width: 240px;
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1040;
    background: var(--brand);
    color: #1b1e23;
    display: flex;
    flex-direction: column;
    padding: 30px 16px 20px
}

.sidebar-brand-row {
    padding: 0 12px 29px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: #1b1e23;
    letter-spacing: -1px
}

.brand:hover {
    color: #1b1e23
}

.brand-symbol {
    width: 43px;
    height: 43px;
    background: #1b1e23;
    color: var(--brand);
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex-shrink: 0
}

.brand-symbol .icon {
    width: 30px;
    height: 30px;
    stroke-width: 2
}

.brand small {
    display: block;
    color: #a7a9ae;
    font: 9px/1.4 Arial, sans-serif;
    letter-spacing: 4px;
    margin-top: 5px;
    padding-right: 2px
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #665334 transparent;
    padding: 0 0 18px;
    min-height: 0
}

.nav-label {
    font-size: 10px;
    font-weight: 400;
    color: #a7a9ae;
    padding: 17px 14px 7px;
    letter-spacing: .15px
}

.nav-label:first-child {
    padding-top: 0
}

.sidebar .rv-nav-link {
    color: #f2eee6;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    min-height: 44px;
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.65;
    transition: background .15s, color .15s
}

.sidebar .rv-nav-link .icon {
    width: 19px;
    height: 19px;
    opacity: .85
}

.sidebar .rv-nav-link:hover {
    background: #d8b86d;
    color: #1b1e23
}

.sidebar .rv-nav-link.active {
    background: #1b1e23;
    color: var(--brand);
    font-weight: 700
}

.sidebar .rv-nav-link.active .icon {
    opacity: 1
}

.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid #665334;
    padding: 19px 12px 0;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    color: #f2eee6;
    flex-shrink: 0
}

.sidebar-footer small {
    display: block;
    color: #a7a9ae;
    font-size: 9px;
    margin-top: 2px
}

.sidebar-footer-dot {
    width: 7px;
    height: 7px;
    background: #d8b86d;
    border-radius: 50%;
    flex-shrink: 0
}

.workspace {
    min-width: 0
}

.topbar {
    height: 86px;
    background: #1b1e23;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 34px
}

.topbar-context,
.account {
    display: flex;
    align-items: center;
    gap: 14px
}

.topbar-context {
    font-size: 12px
}

.topbar-context strong {
    font-size: 12px;
    font-weight: 400
}

.topbar-home {
    color: #a7a9ae;
    display: flex
}

.topbar-home .icon {
    width: 17px;
    height: 17px
}

.topbar-breadcrumb {
    color: #a7a9ae
}

.breadcrumb-chevron {
    color: #787d86;
    width: 13px;
    height: 13px
}

.account {
    gap: 16px
}

.account form {
    margin: 0
}

.notifications-button {
    margin-left: 4px
}

.account-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink)
}

.account-profile:hover {
    color: var(--ink)
}

.avatar {
    width: 39px;
    height: 39px;
    border-radius: 11px;
    background: var(--soft);
    color: var(--brand);
    display: grid;
    place-items: center
}

.account-label strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.account-label small {
    display: block;
    font-size: 9px;
    color: #a7a9ae
}

.logout-button {
    border-right: 1px solid var(--line);
    border-radius: 0;
    padding-right: 15px;
    width: 35px
}

.content {
    padding: 34px;
    max-width: 1580px;
    margin: 0 auto;
    min-width: 0
}

.pagehead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 27px
}

.pagehead p {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.9
}

.pagehead h2 {
    margin-bottom: 0
}

.eyebrow {
    font-size: 11px;
    color: var(--brand);
    margin-bottom: 6px
}

.note {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--line);
    padding: 22px 0 0;
    margin-top: 32px;
    color: #a7a9ae;
    font-size: 10px
}

.menu-toggle,
.sidebar-close,
.sidebar-backdrop {
    display: none
}

/* Shared content, without overriding Bootstrap layout utilities. */
.rv-card {
    display: block;
    min-width: 0;
    background: #1b1e23;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: none;
    color: var(--ink)
}

.content>.grid,
.content>.rv-card>.grid,
.content form>.grid,
.content details>.grid,
.content>[wire\:id]>.grid,
.content .grid>.rv-card>.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px
}

.content .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.content .grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.content .grid>.rv-card {
    margin-bottom: 0
}

.stack {
    display: grid;
    gap: 16px
}

.full {
    grid-column: 1/-1
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.field {
    margin-bottom: 18px
}

.field small {
    display: block;
    margin-top: 6px;
    font-size: 11px
}

.field:last-child {
    margin-bottom: 0
}

label.rv-label:not(.form-check-label) {
    display: block;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 7px
}

input.rv-control:not([type=checkbox]):not([type=radio]):not([type=hidden]),
select.rv-control,
textarea.rv-control {
    width: 100%;
    border: 1px solid #343941;
    border-radius: 7px;
    padding: 10px 12px;
    background: #1b1e23;
    color: var(--ink);
    outline: none;
    min-height: 44px;
    font-weight: 400;
    font-size: 13px;
    transition: border-color .15s, box-shadow .15s
}

input.rv-control::placeholder,
textarea.rv-control::placeholder {
    color: #a7a9ae;
    opacity: 1
}

input.rv-control:focus,
select.rv-control:focus,
textarea.rv-control:focus {
    border-color: #d8b86d;
    box-shadow: 0 0 0 3px #d8b86d26
}

input.rv-control[type=file] {
    font-size: 11px !important;
    padding: 7px !important
}

input.rv-control[type=file]::file-selector-button {
    border: 0;
    background: var(--soft);
    color: var(--brand);
    padding: 5px 9px;
    border-radius: 4px;
    margin-left: 10px;
    font-family: inherit
}

input.rv-control[type=checkbox],
input.rv-control[type=radio] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
    vertical-align: middle
}

label.rv-label>input.rv-control,
label.rv-label>select.rv-control,
label.rv-label>textarea.rv-control {
    margin-top: 7px
}

textarea.rv-control {
    min-height: 108px;
    resize: vertical
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 24px
}

.actions label.rv-label {
    margin: 0
}

.actions input.rv-control[type=checkbox] {
    margin-top: 0
}

.actions>a:not(.button) {
    font-size: 12px
}

.checklist {
    display: flex;
    gap: 12px 18px;
    flex-wrap: wrap
}

.checklist label.rv-label {
    font-weight: 400;
    font-size: 12px
}

.checklist input.rv-control {
    margin: 0 0 0 4px
}

.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    align-items: end
}

.filters>* {
    max-width: 190px
}

.filters label.rv-label {
    margin-bottom: 0
}

.divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 25px 0;
    opacity: 1
}

details {
    margin-bottom: 16px
}

summary {
    cursor: pointer;
    font-weight: 700;
    padding: 8px 0;
    font-size: 12px
}

.rv-badge:not([class*="bg-"]) {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    background: var(--soft);
    color: var(--brand);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.6;
    white-space: nowrap
}

.rv-badge.warn {
    color: #d8b86d;
    background: #3a3020
}

.rv-badge.bad {
    color: var(--danger);
    background: #3e2a2e
}

.rv-badge.success {
    color: var(--success);
    background: #263b34
}

.rv-notice {
    padding: 15px 18px;
    border-radius: 9px;
    margin-bottom: 22px;
    background: var(--soft);
    border: 1px solid #665334;
    color: #d8b86d;
    font-size: 12px
}

.rv-notice.error {
    background: #3e2a2e;
    color: #ff9b9f;
    border-color: #6a4249
}

.rv-notice ul {
    margin: 0;
    padding-right: 20px
}

.rv-notice a {
    font-weight: 700
}

.empty {
    padding: 48px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 12px
}

.empty-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    background: #23272e;
    border-radius: 15px;
    color: #d8b86d
}

.empty-icon .icon {
    width: 26px;
    height: 26px
}

.money {
    font-weight: 700;
    font-size: 30px;
    font-variant-numeric: tabular-nums
}

.money small {
    font-weight: 400;
    font-size: 12px
}

.mono {
    font-family: Vazirmatn, ui-monospace, monospace;
    direction: ltr;
    display: inline-block;
    font-variant-numeric: tabular-nums
}

.pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere
}

.json {
    font-family: monospace;
    direction: ltr;
    text-align: left;
    font-size: 12px
}

.stats {
    margin-bottom: 24px
}

.stat {
    padding: 21px
}

.stat strong {
    display: block;
    font-size: 29px;
    line-height: 1.5;
    margin: 8px 0;
    font-weight: 700;
    font-variant-numeric: tabular-nums
}

.stat small {
    font-size: 10px
}

.service-mark {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: var(--soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 21px;
    margin-bottom: 22px
}

.service-card {
    position: relative;
    padding: 27px;
    display: flex
}

.service-card h2 {
    font-size: 16px;
    margin-bottom: 10px
}

.service-card p {
    flex: 1;
    font-size: 12px;
    line-height: 2
}

.service-card .rv-badge {
    align-self: flex-start
}

.service-card .price {
    font-size: 23px;
    font-weight: 700;
    margin: 22px 0
}

.service-card .price small {
    font-size: 12px;
    font-weight: 400
}

.service-card .button {
    margin-top: 10px;
    font-size: 11px
}

.banner {
    background: var(--brand);
    color: #1b1e23;
    border-color: var(--brand)
}

.banner p {
    color: #a7a9ae;
    max-width: 650px
}

.banner .button {
    background: #1b1e23;
    color: var(--brand)
}

.banner .button:hover {
    background: #302a1f
}

.steps {
    display: flex;
    gap: 12px;
    margin: 22px 0 30px
}

.step {
    flex: 1;
    padding: 12px 16px;
    border-bottom: 3px solid #343941;
    color: var(--muted);
    font-size: 12px
}

.step.active {
    color: var(--brand);
    border-color: var(--brand);
    font-weight: 700
}

.timeline {
    border-right: 2px solid var(--line);
    padding-right: 21px
}

.timeline article {
    position: relative;
    margin-bottom: 22px
}

.timeline article:before {
    content: '';
    position: absolute;
    right: -27px;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
    outline: 4px solid white
}

.message {
    padding: 17px 20px;
    border-radius: 10px;
    background: #23272e;
    margin-bottom: 16px;
    max-width: 85%
}

.message.operator {
    background: var(--soft);
    margin-right: auto
}

/* Tables and Bootstrap controls */
.table-wrap,
.rv-table-responsive {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch
}

table.rv-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 12px
}

.rv-table {
    --bs-table-color: var(--ink);
    --bs-table-striped-bg: #23272e;
    --bs-table-hover-bg: #23272e;
    --bs-table-border-color: var(--line);
    margin-bottom: 0
}

table.rv-table th,
.rv-table>thead>tr>th {
    background: #23272e;
    color: #a7a9ae;
    font-weight: 400;
    font-size: 11px;
    white-space: nowrap
}

table.rv-table th,
table.rv-table td,
.rv-table>:not(caption)>*>* {
    padding: 16px 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle
}

table.rv-table tr:last-child td {
    border-bottom: 0
}

table.rv-table th .d-flex {
    gap: 7px
}

table.rv-table th svg,
table.rv-table td svg,
.rv-pagination svg,
.rv-dropdown-toggle svg,
.rv-input-group svg {
    width: 16px;
    max-width: 16px;
    height: 16px;
    flex-shrink: 0
}

table.rv-table td .button {
    padding: 5px 10px;
    min-height: 30px;
    font-size: 11px
}

table.rv-table td .actions {
    margin-top: 0;
    gap: 6px
}

.rv-btn {
    --bs-btn-font-size: 12px;
    --bs-btn-padding-x: 13px;
    --bs-btn-padding-y: 9px;
    --bs-btn-border-radius: 7px;
    font-family: inherit;
    box-shadow: none !important
}

.rv-btn-primary {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-hover);
    --bs-btn-hover-border-color: var(--brand-hover);
    --bs-btn-active-bg: var(--brand-hover);
    --bs-btn-active-border-color: var(--brand-hover)
}

.rv-btn-secondary,
.rv-btn-outline-secondary {
    --bs-btn-color: #a7a9ae;
    --bs-btn-bg: #1b1e23;
    --bs-btn-border-color: #343941;
    --bs-btn-hover-bg: #23272e;
    --bs-btn-hover-color: var(--brand);
    --bs-btn-hover-border-color: #665334;
    --bs-btn-active-bg: #302a1f;
    --bs-btn-active-color: var(--brand);
    --bs-btn-active-border-color: #665334
}

.rv-btn-sm {
    --bs-btn-font-size: 11px;
    --bs-btn-padding-y: 6px;
    --bs-btn-padding-x: 10px
}

.rv-input,
.rv-select {
    font-size: 12px !important;
    border-color: #343941;
    min-height: 40px !important
}

.rv-input-group {
    flex-wrap: nowrap
}

.rv-input-group input.rv-control {
    min-width: 110px
}

.rv-input-group .rv-btn {
    flex-shrink: 0
}

.rv-input-group-text {
    background: #23272e;
    color: #a7a9ae;
    border-color: #343941
}

.rv-dropdown-menu {
    font-size: 12px;
    border-color: var(--line);
    padding: 7px;
    border-radius: 9px;
    box-shadow: 0 8px 28px #00000040
}

.rv-dropdown-item {
    border-radius: 5px;
    padding: 7px 10px
}

.rv-dropdown-item:active {
    background: var(--brand)
}

.rv-dropdown-menu label.rv-label {
    font-size: 12px;
    font-weight: 400
}

.rv-pagination {
    margin-top: 22px;
    --bs-pagination-color: #a7a9ae;
    --bs-pagination-border-color: #343941;
    --bs-pagination-border-radius: 6px;
    --bs-pagination-hover-color: var(--brand);
    --bs-pagination-hover-bg: #302a1f;
    --bs-pagination-active-bg: var(--brand);
    --bs-pagination-active-border-color: var(--brand);
    --bs-pagination-font-size: 12px;
    gap: 4px
}

.rv-pagination .rv-page-link {
    border-radius: 6px !important;
    min-width: 33px;
    text-align: center
}

.rv-pagination p {
    font-size: 11px;
    color: var(--muted)
}

.rv-pagination nav {
    width: 100%
}

.rv-pagination nav>div {
    gap: 12px
}

.rv-page-item.disabled .rv-page-link {
    background: #23272e;
    color: #787d86
}

.rv-card>[wire\:id]>.d-md-flex {
    gap: 15px
}

.rv-card>[wire\:id]>.d-md-flex>.d-md-flex {
    gap: 8px
}

.laravel-livewire-tables-cursor {
    cursor: pointer
}

.laravel-livewire-tables-cursor:hover {
    color: var(--brand)
}

/* Dashboard */
.dashboard-heading {
    margin-bottom: 27px
}

.dashboard-heading h1 {
    font-size: 25px
}

.dashboard-heading .eyebrow {
    color: #a7a9ae;
    font-size: 11px;
    margin-bottom: 3px
}

.dashboard-heading .button {
    min-height: 43px
}

.dashboard-date {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #a7a9ae;
    font-size: 11px
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 23px
}

.dashboard-stats .stat {
    margin: 0;
    padding: 21px 20px
}

.stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px
}

.stat-top>span:first-child {
    font-size: 11px;
    color: #a7a9ae
}

.stat-icon {
    width: 37px;
    height: 37px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #302a1f;
    color: var(--brand)
}

.stat-icon.amber {
    background: #3a3020;
    color: #d8b86d
}

.stat-icon.cyan {
    background: #263640;
    color: #88c0df
}

.stat-icon.green {
    background: #263b34;
    color: #86d4ad
}

.dashboard-stats .stat strong {
    font-size: 29px;
    margin: 9px 0 2px
}

.dashboard-stats .stat small {
    font-size: 10px;
    color: #a7a9ae
}

.dashboard-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 27px 28px;
    margin-bottom: 24px
}

.dashboard-banner-icon {
    width: 67px;
    height: 67px;
    flex-shrink: 0;
    border: 1px solid #665334;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #f2eee6;
    background: #d8b86d
}

.dashboard-banner-icon .icon {
    width: 33px;
    height: 33px;
    stroke-width: 1.4
}

.dashboard-banner-copy {
    flex: 1
}

.dashboard-banner h2 {
    font-size: 17px;
    margin: 0 0 5px
}

.dashboard-banner p {
    font-size: 11px;
    margin: 0;
    line-height: 1.9
}

.dashboard-banner .button {
    font-size: 12px;
    white-space: nowrap
}

.dashboard-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
    gap: 23px
}

.dashboard-columns>.rv-card {
    margin-bottom: 0
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px
}

.section-heading h2 {
    margin: 0;
    font-size: 15px
}

.section-heading>a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px
}

.section-heading .icon {
    width: 15px;
    height: 15px
}

.recent-list {
    margin: 0 -5px
}

.recent-order {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 5px;
    border-bottom: 1px solid #343941
}

.recent-order:first-child {
    padding-top: 3px
}

.recent-order:last-child {
    border-bottom: 0;
    padding-bottom: 3px
}

.recent-order-mark {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    background: #23272e;
    border-radius: 8px;
    color: #d8b86d;
    flex-shrink: 0
}

.recent-order-mark .icon {
    width: 18px;
    height: 18px
}

.recent-order-info {
    min-width: 0;
    flex: 1
}

.recent-order-info>a {
    font-size: 12px;
    font-weight: 700;
    color: #f2eee6;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 290px
}

.recent-order-info>a:hover {
    color: var(--brand)
}

.recent-order-info small {
    font-size: 9px;
    color: #a7a9ae;
    display: block;
    margin-top: 3px
}

.recent-order .rv-badge {
    font-size: 9px;
    padding: 4px 8px
}

.overview-card .section-heading {
    margin-bottom: 20px
}

.wallet-icon {
    width: 34px;
    height: 34px;
    background: var(--soft);
    border-radius: 9px;
    color: var(--brand);
    display: grid;
    place-items: center
}

.wallet-summary {
    background: #23272e;
    border: 1px solid #343941;
    border-radius: 9px;
    padding: 19px 20px;
    margin-bottom: 17px
}

.wallet-summary>small {
    font-size: 10px
}

.wallet-summary .money {
    font-size: 29px;
    margin: 5px 0 0;
    color: #d8b86d
}

.wallet-summary .money small {
    font-size: 10px;
    margin-right: 4px
}

.overview-card>.muted {
    font-size: 10px;
    line-height: 2
}

.overview-card>.button {
    width: 100%;
    font-size: 11px
}

.support-block {
    display: flex;
    align-items: flex-start;
    gap: 12px
}

.support-block>.icon {
    margin-top: 5px;
    color: #d8b86d;
    width: 23px;
    height: 23px
}

.support-block h3 {
    font-size: 12px;
    margin-bottom: 5px
}

.support-block p {
    font-size: 10px;
    line-height: 1.9;
    margin-bottom: 9px
}

.support-block a {
    font-size: 11px
}

.operator-overview-icon {
    width: 55px;
    height: 55px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--brand);
    margin-bottom: 16px
}

.operator-overview-icon .icon {
    width: 28px;
    height: 28px
}

/* Public account pages */
.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)
}

.auth-aside {
    background: var(--brand);
    color: #1b1e23;
    padding: 43px 13%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh
}

.auth-aside>.brand {
    align-self: flex-start
}

.auth-story {
    padding: 65px 0;
    max-width: 450px
}

.auth-kicker {
    display: block;
    color: #a7a9ae;
    font-size: 11px;
    margin-bottom: 17px
}

.auth-aside h1 {
    font-size: 39px;
    line-height: 1.8;
    letter-spacing: -1px;
    margin-bottom: 21px
}

.auth-aside p {
    color: #a7a9ae;
    font-size: 12px;
    line-height: 2.3;
    max-width: 360px
}

.auth-journey {
    display: flex;
    align-items: flex-start;
    margin: 45px 0 36px;
    gap: 11px;
    max-width: 375px
}

.auth-journey>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    flex-shrink: 0
}

.auth-journey span {
    width: 61px;
    height: 61px;
    background: #d8b86d;
    border: 1px solid #665334;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #1b1e23
}

.auth-journey span .icon {
    width: 27px;
    height: 27px;
    stroke-width: 1.4
}

.auth-journey b {
    font-size: 9px;
    font-weight: 400;
    color: #a7a9ae
}

.auth-journey i {
    height: 1px;
    background: #665334;
    flex: 1;
    margin-top: 30px
}

.auth-feature-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    color: #a7a9ae;
    font-size: 11px
}

.auth-feature-list>span {
    display: flex;
    gap: 9px;
    align-items: center
}

.auth-feature-list .icon {
    width: 16px;
    height: 16px;
    color: #d8b86d
}

.auth-aside-footer {
    font-size: 10px;
    color: #a7a9ae;
    border-top: 1px solid #665334;
    padding-top: 21px
}

.auth-form {
    background: #1b1e23;
    padding: 65px 55px;
    display: grid;
    place-items: center
}

.auth-inner {
    width: 100%;
    max-width: 360px
}

.auth-form-symbol {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    margin-bottom: 25px
}

.auth-form-symbol .icon {
    width: 24px;
    height: 24px
}

.auth-inner h1 {
    font-size: 23px;
    margin-bottom: 9px
}

.auth-inner>.muted {
    font-size: 11px;
    line-height: 2
}

.auth-inner .eyebrow {
    font-size: 10px;
    margin-bottom: 4px
}

.auth-inner form {
    margin-top: 28px
}

.auth-inner .field {
    margin-bottom: 20px
}

.auth-inner input.rv-control {
    min-height: 47px
}

.auth-inner label.rv-label {
    font-size: 11px
}

.auth-inner form>button {
    min-height: 47px
}

.auth-inner>.muted:last-of-type {
    font-size: 11px
}

.auth-inner>.muted a {
    font-weight: 700
}

.auth-inner>p {
    font-size: 12px
}

.auth-security {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    color: #a7a9ae;
    margin-top: 33px
}

.auth-security .icon {
    width: 14px;
    height: 14px
}

/* Account setup is deliberately outside the app navigation. */
.onboarding-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.onboarding-header {
    max-width: 1100px;
    width: 100%;
    padding: 29px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto
}

.brand-dark {
    color: var(--brand);
    font-size: 27px
}

.brand-dark .brand-symbol {
    background: var(--brand);
    color: white;
    width: 40px;
    height: 40px
}

.brand-dark small {
    color: #a7a9ae;
    font-size: 8px
}

.onboarding-account {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #a7a9ae;
    font-size: 12px
}

.onboarding-account form {
    margin: 0
}

.onboarding-content {
    width: 100%;
    max-width: 980px;
    padding-top: 24px;
    flex: 1
}

.onboarding-content .pagehead {
    margin-bottom: 23px
}

.onboarding-content h1 {
    font-size: 25px
}

.onboarding-footer {
    font-size: 10px;
    color: #a7a9ae;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px 28px
}

.onboarding-footer .icon {
    width: 14px;
    height: 14px
}

[x-cloak],
[wire\:cloak],
[hidden] {
    display: none !important
}

@media(min-width:1500px) {
    .content {
        padding: 40px 44px
    }

    .topbar {
        padding-left: 44px;
        padding-right: 44px
    }

    .dashboard-stats .stat {
        padding: 24px
    }

    .dashboard-columns {
        grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr)
    }
}

@media(max-width:1199px) {
    .shell {
        padding-right: 218px
    }

    .sidebar {
        width: 218px;
        padding-right: 12px;
        padding-left: 12px
    }

    .sidebar .rv-nav-link {
        font-size: 12px;
        padding: 10px 12px;
        gap: 10px
    }

    .content {
        padding: 28px 24px
    }

    .topbar {
        padding: 0 24px
    }

    .dashboard-stats {
        gap: 13px
    }

    .dashboard-stats .stat {
        padding: 17px 15px
    }

    .stat-top>span:first-child {
        font-size: 10px
    }

    .stat-icon {
        width: 32px;
        height: 32px
    }

    .dashboard-columns {
        grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
        gap: 18px
    }

    .rv-card {
        padding: 21px
    }

    .dashboard-banner {
        padding: 23px
    }

    .dashboard-banner-icon {
        display: none
    }

    .dashboard-banner h2 {
        font-size: 16px
    }

    .dashboard-banner p {
        font-size: 10px
    }

    .dashboard-banner .button {
        font-size: 11px
    }

    .auth-aside {
        padding-left: 10%;
        padding-right: 10%
    }

    .auth-aside h1 {
        font-size: 33px
    }

    .auth-form {
        padding: 50px 40px
    }

    .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .content .grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:991px) {
    .shell {
        padding-right: 0
    }

    .sidebar {
        width: 250px;
        transform: translateX(100%);
        transition: transform .2s ease;
        padding: 27px 16px 20px;
        z-index: 1055
    }

    .sidebar.is-open {
        transform: translateX(0)
    }

    .sidebar .rv-nav-link {
        font-size: 12px;
        min-height: 44px
    }

    .sidebar-brand-row {
        padding-bottom: 28px
    }

    .sidebar-close {
        display: inline-flex;
        color: #f2eee6;
        width: 30px;
        height: 30px
    }

    .sidebar-close:hover {
        background: #d8b86d;
        color: white
    }

    .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1050;
        background: #00000080;
        border: 0;
        border-radius: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        cursor: pointer
    }

    .menu-toggle {
        display: inline-flex;
        margin-right: -6px
    }

    .menu-open {
        overflow: hidden
    }

    .topbar {
        height: 74px
    }

    .topbar-home {
        display: none
    }

    .topbar-context {
        gap: 10px
    }

    .content {
        padding: 27px 24px
    }

    .dashboard-columns {
        grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr)
    }

    .content .grid.four:not(.stats) {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .auth-aside {
        padding: 35px 10%
    }

    .auth-aside h1 {
        font-size: 29px
    }

    .auth-aside p {
        font-size: 11px
    }

    .auth-journey {
        gap: 7px
    }

    .auth-journey span {
        width: 51px;
        height: 51px
    }

    .auth-journey i {
        margin-top: 25px
    }

    .auth-journey b {
        font-size: 8px
    }

    .auth-form {
        padding: 45px 30px
    }

    .auth-story {
        padding: 55px 0
    }
}

@media(max-width:767px) {
    .topbar {
        padding: 0 18px;
        height: 68px
    }

    .topbar-breadcrumb,
    .breadcrumb-chevron,
    .account-label {
        display: none
    }

    .topbar-context strong {
        font-size: 11px
    }

    .account {
        gap: 10px
    }

    .avatar {
        width: 35px;
        height: 35px;
        border-radius: 9px
    }

    .notifications-button {
        margin-left: 0
    }

    .logout-button {
        width: 31px;
        padding-right: 10px
    }

    .content {
        padding: 25px 17px
    }

    .pagehead {
        gap: 14px;
        margin-bottom: 22px
    }

    .pagehead h1 {
        font-size: 22px
    }

    .pagehead p {
        font-size: 11px
    }

    .pagehead>.button {
        font-size: 11px;
        padding: 8px 12px
    }

    .dashboard-heading {
        align-items: flex-start
    }

    .dashboard-heading h1 {
        font-size: 23px
    }

    .dashboard-heading .eyebrow {
        font-size: 10px
    }

    .dashboard-heading .button {
        font-size: 10px;
        gap: 4px;
        padding: 9px 11px;
        white-space: nowrap;
        min-height: 39px;
        margin-top: 7px
    }

    .dashboard-heading .button .icon {
        width: 16px;
        height: 16px
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 19px
    }

    .dashboard-stats .stat {
        padding: 17px
    }

    .dashboard-stats .stat strong {
        font-size: 27px
    }

    .stat-top>span:first-child {
        font-size: 11px
    }

    .stat-icon {
        width: 32px;
        height: 32px
    }

    .stat-icon .icon {
        width: 18px;
        height: 18px
    }

    .dashboard-banner {
        padding: 23px;
        display: block;
        margin-bottom: 19px
    }

    .dashboard-banner h2 {
        font-size: 16px
    }

    .dashboard-banner p {
        font-size: 11px;
        line-height: 2
    }

    .dashboard-banner .button {
        margin-top: 17px;
        min-height: 38px;
        padding: 7px 13px;
        font-size: 11px
    }

    .dashboard-columns {
        grid-template-columns: 1fr;
        gap: 19px
    }

    .rv-card {
        padding: 21px;
        margin-bottom: 19px
    }

    .recent-order-info>a {
        max-width: 100%;
        font-size: 12px
    }

    .content>.grid,
    .content>.rv-card>.grid,
    .content form>.grid,
    .content details>.grid,
    .content>[wire\:id]>.grid,
    .content .grid>.rv-card>.grid,
    .content .grid.three,
    .content .grid.four:not(.stats) {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .content .grid.four.stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px
    }

    .stats .stat {
        padding: 17px
    }

    .stats .stat strong {
        font-size: 25px
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0
    }

    .form-row>.field {
        margin-bottom: 18px
    }

    .form-row>.field:last-child {
        margin-bottom: 0
    }

    .form-row>label.rv-label {
        margin-bottom: 16px
    }

    .full {
        grid-column: auto
    }

    .note {
        margin-top: 26px;
        font-size: 9px;
        display: block;
        text-align: center;
        padding-top: 18px
    }

    .note>span:last-child {
        display: none
    }

    .message {
        max-width: 100%
    }

    .steps {
        gap: 5px
    }

    .step {
        padding: 10px 5px;
        font-size: 10px
    }

    .filters>* {
        max-width: none;
        flex: 1 1 130px
    }

    .filters>button,
    .filters>.button {
        flex: 0 1 auto
    }

    .auth-shell {
        display: block
    }

    .auth-aside {
        min-height: auto;
        padding: 24px 27px;
        display: block
    }

    .auth-aside .brand {
        font-size: 27px
    }

    .auth-aside .brand-symbol {
        width: 39px;
        height: 39px
    }

    .auth-story,
    .auth-aside-footer {
        display: none
    }

    .auth-form {
        min-height: calc(100vh - 91px);
        padding: 40px 27px;
        align-items: start
    }

    .auth-inner {
        max-width: 400px
    }

    .auth-form-symbol {
        margin-bottom: 22px;
        width: 46px;
        height: 46px
    }

    .auth-inner h1 {
        font-size: 23px
    }

    .auth-inner>.muted {
        font-size: 12px
    }

    .auth-inner label.rv-label {
        font-size: 12px
    }

    .onboarding-header {
        padding: 24px 20px
    }

    .onboarding-account {
        gap: 10px;
        font-size: 11px
    }

    .onboarding-account .button {
        font-size: 10px;
        padding: 6px 10px;
        min-height: 34px
    }

    .onboarding-account .button .icon {
        width: 15px;
        height: 15px
    }

    .onboarding-content {
        padding-top: 18px
    }

    .onboarding-content h1 {
        font-size: 22px
    }

    .onboarding-content .pagehead {
        flex-wrap: wrap
    }

    .onboarding-content .brand {
        font-size: 24px
    }

    .onboarding-content .rv-card {
        padding: 21px
    }

    .rv-input-group {
        max-width: 100%
    }

    table.rv-table th,
    table.rv-table td,
    .rv-table>:not(caption)>*>* {
        padding: 13px 11px
    }

    .rv-pagination {
        flex-wrap: wrap
    }

    .rv-pagination nav>div {
        flex-wrap: wrap
    }
}

@media(max-width:380px) {
    .topbar-context strong {
        display: none
    }

    .pagehead.dashboard-heading {
        flex-wrap: wrap
    }

    .dashboard-heading .button {
        margin-top: 0
    }

    .dashboard-stats .stat {
        padding: 14px 13px
    }

    .stat-top>span:first-child {
        font-size: 10px
    }

    .stat-icon {
        width: 28px;
        height: 28px
    }

    .recent-order {
        gap: 9px
    }

    .recent-order-mark {
        width: 33px;
        height: 33px
    }

    .recent-order-info>a {
        font-size: 11px
    }

    .recent-order .rv-badge {
        font-size: 8px;
        padding: 4px 5px
    }

    .brand-dark {
        font-size: 23px
    }

    .onboarding-account>.mono {
        font-size: 10px
    }

    .onboarding-header {
        gap: 10px
    }

    .onboarding-account .button .icon {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important
    }
}

/* List actions shared by the Livewire data tables. */
.datatable-card {
    padding: 23px;
    overflow: visible
}

.datatable-card>h2 {
    margin-bottom: 19px
}

.datatable-card>.muted {
    font-size: 12px
}

.datatable-card .rv-table {
    min-width: 600px
}

.datatable-card .rv-table thead th:first-child {
    border-top-right-radius: 7px
}

.datatable-card .rv-table thead th:last-child {
    border-top-left-radius: 7px
}

.datatable-card .d-md-flex {
    gap: 9px
}

.datatable-card .rv-table-responsive {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-top: 15px
}

.datatable-card .rv-table-responsive .rv-table td:first-child,
.datatable-card .rv-table-responsive .rv-table th:first-child {
    padding-right: 17px
}

.datatable-card .rv-table-responsive .rv-table td:last-child,
.datatable-card .rv-table-responsive .rv-table th:last-child {
    padding-left: 17px
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap
}

.table-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap
}

.table-action:hover {
    text-decoration: underline;
    text-underline-offset: 3px
}

.table-status {
    font-size: 10px !important
}

.rv-badge.table-status-success {
    color: #86d4ad;
    background: #263b34
}

.rv-badge.table-status-muted {
    color: #ff9b9f;
    background: #3e2a2e
}

.wallet-balance {
    background: #302a1f;
    border-color: #665334;
    max-width: 440px;
    padding: 26px 28px
}

.wallet-balance>.muted {
    font-size: 12px;
    color: #a7a9ae
}

.wallet-balance .money {
    margin: 9px 0 0;
    font-size: 35px;
    color: #d8b86d
}

.wallet-balance .money small {
    color: #a7a9ae
}

.service-card {
    flex-direction: column
}

@media(max-width:767px) {
    .datatable-card {
        padding: 17px
    }

    .datatable-card .d-md-flex {
        gap: 8px
    }

    .wallet-balance {
        max-width: none
    }

    .datatable-card .rv-table-responsive {
        margin-top: 12px
    }
}

/* Keep pagination selection visible despite shared button styles. */
.datatable-card .rv-pagination .rv-page-item:not(.active):not(.disabled) .rv-page-link {
    background: #1b1e23;
    color: var(--ink);
    border: 1px solid var(--line)
}

.datatable-card .rv-pagination .rv-page-item.active .rv-page-link {
    background: var(--brand);
    border-color: var(--brand);
    color: #1b1e23
}

.datatable-card .rv-pagination .rv-page-item.disabled .rv-page-link {
    background: #111316;
    color: #787d86;
    border-color: var(--line)
}

/* Rahvara 1.2 — charcoal surfaces, warm gold accents and readable controls. */
:root,
[data-bs-theme=dark] {
    color-scheme: dark;
    --surface: #1b1e23;
    --surface-raised: #23272e;
    --gold-ink: #201b11;
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--bg);
    --bs-secondary-color: var(--muted);
    --bs-secondary-bg: var(--surface-raised);
    --bs-tertiary-bg: var(--surface-raised);
    --bs-emphasis-color: var(--ink);
    --bs-border-color: var(--line);
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: 216, 184, 109;
    --bs-link-hover-color: var(--brand-hover);
    --bs-link-hover-color-rgb: 235, 206, 140
}

::selection {
    background: #d8b86d40;
    color: var(--ink)
}

body {
    background: var(--bg)
}

a:focus-visible,
button:focus-visible {
    outline-color: var(--brand)
}

.button,
button:where(:not([class]), .primary, .secondary, .danger, .button-small) {
    color: var(--gold-ink)
}

.button:hover,
button:where(:not([class]), .primary, .secondary, .danger, .button-small):hover {
    color: var(--gold-ink)
}

.button.secondary,
button.secondary {
    background: var(--surface-raised);
    border-color: var(--line);
    color: var(--ink)
}

.button.secondary:hover,
button.secondary:hover {
    background: #302b20;
    border-color: #796239;
    color: var(--brand-hover)
}

.button.danger,
button.danger {
    background: #743e44;
    color: #fff
}

.icon-button:hover {
    color: var(--brand);
    background: var(--soft)
}

.skip-link {
    background: var(--surface);
    color: var(--brand)
}

.shell {
    padding-right: 256px
}

.sidebar {
    width: 256px;
    background: #15171b;
    border-left: 1px solid #343129;
    padding: 25px 15px 20px
}

.sidebar-brand-row {
    padding: 0 5px 28px;
    gap: 8px
}

.brand {
    line-height: 1;
    letter-spacing: 0
}

.brand-plaque {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f6f0e2;
    border: 1px solid #f9e7bb;
    border-radius: 9px;
    padding: 9px 12px;
    width: 185px;
    box-shadow: 0 4px 18px #0000001a
}

.brand-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain
}

.sidebar-nav {
    gap: 5px;
    scrollbar-color: #5e5340 transparent;
    padding-bottom: 22px
}

.nav-label {
    color: #96999f;
    font-size: 11px;
    padding: 10px 13px 10px
}

.sidebar .rv-nav-link {
    color: #c3c5ca;
    font-size: 12px;
    min-height: 44px;
    padding: 11px 13px;
    gap: 11px
}

.sidebar .rv-nav-link:hover {
    background: #25272c;
    color: #f2eee6
}

.sidebar .rv-nav-link.active {
    background: #d8b86d;
    color: #201b11
}

.sidebar .rv-nav-link.active .icon {
    color: #201b11
}

.nav-group {
    margin: 0
}

button.nav-group-toggle {
    width: 100%;
    background: transparent !important;
    color: #c3c5ca !important;
    border: 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 400;
    min-height: 45px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    text-align: right
}

button.nav-group-toggle:hover {
    background: #25272c !important;
    color: #f2eee6 !important
}

.nav-group-toggle>.icon {
    width: 19px;
    height: 19px
}

.nav-group-toggle>span {
    flex: 1
}

.nav-group-toggle .nav-chevron {
    width: 14px;
    height: 14px;
    color: #8d929a;
    transition: transform .15s
}

.nav-chevron.is-expanded {
    transform: rotate(180deg)
}

.nav-group.has-active>button.nav-group-toggle {
    color: var(--brand) !important
}

.nav-submenu {
    margin: 3px 21px 9px 7px;
    padding: 1px 12px 1px 0;
    border-right: 1px solid #3d3930
}

.sidebar .nav-child {
    padding: 9px 10px;
    min-height: 39px;
    font-size: 11px;
    gap: 9px;
    line-height: 1.8;
    margin: 2px 0
}

.sidebar .nav-child.active {
    color: #ecd298;
    background: #302a1f;
    font-weight: 700
}

.nav-child-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
    opacity: .6
}

.nav-child.active .nav-child-dot {
    width: 5px;
    height: 5px;
    opacity: 1
}

.sidebar-footer {
    border-top-color: #343129;
    color: #ccc8be;
    gap: 8px;
    padding: 19px 5px 0;
    font-size: 10px
}

.sidebar-footer small {
    color: #92959b;
    font-size: 9px
}

.sidebar-footer-dot {
    background: var(--brand);
    width: 6px;
    height: 6px
}

.version-label {
    margin-right: auto;
    color: #bca264;
    font-size: 10px
}

.topbar {
    position: relative;
    z-index: 1030;
    background: #181b20;
    height: 88px;
    padding: 0 34px;
    border-bottom-color: #343129
}

.topbar-context {
    gap: 11px;
    min-width: 0;
    white-space: nowrap
}

.topbar-context strong {
    font-weight: 700;
    color: #dedad2
}

.topbar-home,
.topbar-breadcrumb {
    color: #a7a9ae
}

.breadcrumb-chevron {
    color: #777e89
}

.account {
    gap: 19px;
    min-width: 0
}

.profile-dropdown {
    position: relative;
    flex-shrink: 0
}

button.account-profile {
    background: transparent !important;
    color: var(--ink) !important;
    border: 0;
    padding: 0;
    min-height: 45px;
    border-radius: 8px;
    gap: 10px;
    font-weight: 400;
    display: flex
}

button.account-profile:hover {
    background: transparent !important;
    color: var(--brand) !important
}

.account-label {
    text-align: right
}

.account-label strong {
    max-width: 150px;
    color: #ece8e0;
    font-size: 11px
}

.account-label small {
    color: var(--muted);
    font-size: 10px
}

.avatar.agency-avatar {
    width: 43px;
    height: 43px;
    border-radius: 11px;
    background: #2c2922;
    border: 1px solid #635435;
    color: var(--brand);
    overflow: hidden;
    flex-shrink: 0
}

.agency-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f6f0e2;
    padding: 3px
}

.profile-chevron {
    width: 14px;
    height: 14px;
    color: var(--muted)
}

.representative-tier {
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 1px solid var(--line);
    padding-left: 19px;
    color: #d9d6cf;
    max-width: 215px;
    font-size: 10px;
    line-height: 1.8;
    flex-shrink: 1
}

.representative-tier strong {
    font-size: 11px;
    color: #f2eee6;
    font-weight: 700;
    overflow-wrap: anywhere
}

.representative-tier small {
    display: block;
    color: var(--muted);
    font-size: 9px
}

.tier-trophy {
    width: 29px;
    height: 32px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: #25292f;
    flex-shrink: 0
}

.tier-trophy .icon {
    width: 18px;
    height: 18px;
    stroke-width: 1.7
}

.tier-base .tier-trophy {
    color: #a8b3c0
}

.tier-bronze .tier-trophy {
    color: #dba477;
    background: #36281f
}

.tier-silver .tier-trophy {
    color: #d9e2ec;
    background: #2a313b
}

.tier-gold .tier-trophy {
    color: #e4bd66;
    background: #372f1f
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    z-index: 1080;
    width: 248px;
    max-width: calc(100vw - 28px);
    border: 1px solid #494336;
    border-radius: 11px;
    background: #21242a;
    box-shadow: 0 18px 50px #0007;
    padding: 8px
}

.dropdown-identity {
    padding: 10px 11px 13px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 5px
}

.dropdown-identity strong {
    font-size: 12px;
    display: block;
    color: var(--ink)
}

.dropdown-identity .mono {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px
}

.account-dropdown nav a,
button.dropdown-logout {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    min-height: 40px;
    font-size: 12px;
    font-weight: 400;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--ink);
    text-align: right
}

.account-dropdown nav a:hover {
    background: #302c23;
    color: var(--brand)
}

.account-dropdown .icon {
    width: 17px;
    height: 17px;
    color: #bdab83
}

.account-dropdown form {
    border-top: 1px solid var(--line);
    padding-top: 5px;
    margin-top: 5px
}

button.dropdown-logout,
button.dropdown-logout .icon {
    color: #f3aaa8 !important
}

button.dropdown-logout:hover {
    background: #392a2d !important
}

.rv-card {
    border-color: #343941;
    background: #1b1e23;
    border-radius: 12px;
    box-shadow: 0 4px 20px #0000000a
}

.pagehead h1 {
    color: #f4f0e8
}

.content {
    padding: 34px;
    max-width: 1580px
}

.note {
    color: #97999f
}

label.rv-label:not(.form-check-label) {
    color: #d9d9d8
}

input.rv-control:not([type=checkbox]):not([type=radio]):not([type=hidden]),
select.rv-control,
textarea.rv-control,
.rv-input,
.rv-select {
    background-color: #15181d !important;
    color: #f2eee6 !important;
    border-color: #444a55 !important
}

input.rv-control::placeholder,
textarea.rv-control::placeholder {
    color: #9399a3 !important
}

input.rv-control:focus,
select.rv-control:focus,
textarea.rv-control:focus,
.rv-input:focus,
.rv-select:focus {
    border-color: #c4a15c !important;
    box-shadow: 0 0 0 3px #d8b86d1f !important
}

input.rv-control:disabled,
input.rv-control[readonly],
textarea.rv-control:disabled,
.rv-input:disabled {
    background-color: #25292f !important;
    color: #aeb4bd !important;
    border-color: #373e48 !important;
    opacity: 1
}

.rv-form-check-input {
    background-color: #15181d;
    border-color: #60656e
}

.rv-form-check-input:checked {
    background-color: #b99347;
    border-color: #b99347
}

.rv-form-text,
.rv-muted,
.rv-muted {
    color: #a7a9ae !important
}

.rv-input::file-selector-button {
    background: #302a1f !important;
    color: #e5c789 !important
}

input.rv-control[type=file]::file-selector-button {
    background: #302a1f;
    color: #e5c789
}

.rv-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23bdc0c6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")
}

.form-row>* {
    min-width: 0
}

.rv-btn-primary {
    --bs-btn-color: #201b11;
    --bs-btn-hover-color: #201b11;
    --bs-btn-active-color: #201b11;
    --bs-btn-disabled-color: #201b11;
    --bs-btn-disabled-bg: #a98d51;
    --bs-btn-disabled-border-color: #a98d51
}

.rv-btn-secondary,
.rv-btn-outline-secondary {
    --bs-btn-color: #d7d8db;
    --bs-btn-bg: #25292f;
    --bs-btn-border-color: #454b55;
    --bs-btn-hover-bg: #343026;
    --bs-btn-hover-color: #e6c982;
    --bs-btn-hover-border-color: #8c7346;
    --bs-btn-active-bg: #343026;
    --bs-btn-active-color: #e6c982;
    --bs-btn-active-border-color: #8c7346
}

.rv-input-group-text {
    background: #262a31;
    color: #b3b7be;
    border-color: #444a55
}

.rv-dropdown-menu {
    --bs-dropdown-bg: #25292f;
    --bs-dropdown-color: #e6e5df;
    --bs-dropdown-link-color: #e6e5df;
    --bs-dropdown-link-hover-bg: #373125;
    --bs-dropdown-link-hover-color: #efd596;
    --bs-dropdown-link-active-bg: #d8b86d;
    --bs-dropdown-link-active-color: #201b11;
    --bs-dropdown-border-color: #474334;
    box-shadow: 0 10px 35px #0006
}

.rv-dropdown-item:active {
    color: #201b11
}

.rv-table {
    --bs-table-bg: #1b1e23;
    --bs-table-color: #e2e1dd;
    --bs-table-striped-bg: #20242a;
    --bs-table-striped-color: #e2e1dd;
    --bs-table-hover-bg: #292922;
    --bs-table-hover-color: #f2eee6;
    --bs-table-border-color: #343941
}

table.rv-table th,
.rv-table>thead>tr>th {
    background: #25292f;
    color: #b8bdc5;
    font-weight: 400
}

table.rv-table td {
    color: #e2e1dd
}

.datatable-card .rv-table-responsive {
    border-color: #3b414b
}

.rv-badge:not([class*="bg-"]) {
    background: #302a1f;
    color: #e5c789
}

.rv-badge.warn {
    background: #3a3020;
    color: #efc774
}

.rv-badge.bad {
    background: #3e2a2e;
    color: #ffa5a9
}

.rv-badge.success,
.rv-badge.table-status-success {
    background: #263b34;
    color: #96dbb8
}

.rv-badge.table-status-muted {
    background: #34323b;
    color: #c7bdcd
}

.text-success {
    color: #96dbb8 !important
}

.text-danger {
    color: #ffa5a9 !important
}

.text-warning {
    color: #efc774 !important
}

.bg-light {
    background-color: #25292f !important
}

.text-dark {
    color: #e6e5df !important
}

.rv-notice {
    background: #302c22;
    border-color: #5e5037;
    color: #e1cda0
}

.rv-notice.error,
.rv-alert-danger {
    background: #3b282c;
    border-color: #69414a;
    color: #ffb1b6
}

.rv-alert-success {
    background: #233830;
    border-color: #3f6453;
    color: #9bdec0
}

.rv-alert-warning {
    background: #3a3020;
    border-color: #6c5837;
    color: #f0d398
}

.rv-alert-info {
    background: #263640;
    border-color: #3d5a6a;
    color: #acd4e9
}

.rv-pagination {
    --bs-pagination-bg: #25292f;
    --bs-pagination-color: #c3c5ca;
    --bs-pagination-border-color: #414752;
    --bs-pagination-hover-bg: #343026;
    --bs-pagination-hover-color: #e8ce91;
    --bs-pagination-hover-border-color: #7c6842;
    --bs-pagination-active-bg: #d8b86d;
    --bs-pagination-active-color: #201b11;
    --bs-pagination-active-border-color: #d8b86d;
    --bs-pagination-disabled-bg: #20242a;
    --bs-pagination-disabled-color: #8a909a;
    --bs-pagination-disabled-border-color: #343941
}

.datatable-card .rv-pagination .rv-page-item:not(.active):not(.disabled) .rv-page-link {
    background: #25292f;
    color: #c3c5ca;
    border-color: #414752
}

.datatable-card .rv-pagination .rv-page-item.active .rv-page-link {
    background: #d8b86d;
    border-color: #d8b86d;
    color: #201b11
}

.datatable-card .rv-pagination .rv-page-item.disabled .rv-page-link {
    background: #20242a;
    color: #8a909a;
    border-color: #343941
}

.dashboard-heading .eyebrow {
    color: #cfb578;
    letter-spacing: .2px
}

.dashboard-stats {
    gap: 18px
}

.dashboard-stats .stat {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #22252a, #1b1e23);
    padding: 22px
}

.dashboard-stats .stat:after {
    content: '';
    position: absolute;
    width: 38px;
    height: 2px;
    background: #c4a365;
    bottom: 0;
    right: 22px;
    opacity: .75
}

.stat-top>span:first-child {
    color: #b8bbc1;
    font-size: 12px
}

.dashboard-stats .stat strong {
    font-size: 33px;
    color: #f0ece2;
    margin-top: 13px;
    letter-spacing: -.5px
}

.dashboard-stats .stat small {
    color: #a7a9ae
}

.stat-icon {
    background: #302a1f;
    color: #dfbf7c;
    border: 1px solid #4f432f
}

.stat-icon.amber {
    background: #352f22;
    color: #eac776;
    border-color: #50452e
}

.stat-icon.cyan {
    background: #23323b;
    color: #96c4d9;
    border-color: #334957
}

.stat-icon.green {
    background: #25382f;
    color: #97d0af;
    border-color: #365442
}

.banner.dashboard-banner {
    background: linear-gradient(110deg, #353022, #24241f 60%, #2a2922);
    border: 1px solid #645439;
    color: #f3ead4;
    position: relative
}

.dashboard-banner h2 {
    color: #f1e4c3
}

.dashboard-banner p {
    color: #c7bfae
}

.dashboard-banner-icon {
    background: #d8b86d12;
    color: #dfc081;
    border-color: #746140
}

.dashboard-banner .button {
    background: #d8b86d;
    color: #201b11
}

.dashboard-banner .button:hover {
    background: #ebce8c
}

.recent-order {
    border-bottom-color: #343941
}

.recent-order-mark {
    background: #292c31;
    color: #c9b481
}

.recent-order-info>a {
    color: #e5e2da
}

.recent-order-info small {
    color: #a7a9ae
}

.wallet-summary {
    background: linear-gradient(120deg, #2a2c2e, #252823);
    border: 1px solid #4c4738
}

.wallet-summary>small {
    color: #b9b9b2
}

.wallet-summary .money {
    color: #e4c785
}

.wallet-summary .money small {
    color: #bcb9ad
}

.wallet-balance {
    background: #292b26;
    border-color: #5c513b
}

.wallet-balance>.muted {
    color: #c1b89e
}

.wallet-balance .money {
    color: #e4c785
}

.wallet-balance .money small {
    color: #c1b89e
}

.support-block>.icon {
    color: #c5ab71
}

.overview-card>.muted,
.support-block p {
    font-size: 11px
}

.empty-icon {
    background: #292c31;
    color: #c9b481
}

.timeline article:before {
    outline-color: #1b1e23
}

.message {
    background: #25292f
}

.message.operator {
    background: #302c23
}

.auth-aside {
    background: radial-gradient(ellipse at top left, #48402a35, transparent 70%), #17191d;
    border-left: 1px solid #454033;
    color: #f2eee6
}

.auth-aside .brand-plaque {
    width: 203px;
    padding: 12px 15px
}

.auth-kicker {
    color: #d3b77b
}

.auth-aside h1 {
    color: #f2eee6
}

.auth-aside p {
    color: #b7b5ad;
    font-size: 13px
}

.auth-journey span {
    background: #2b2923;
    border-color: #6e5c38;
    color: #e1c384
}

.auth-journey b {
    color: #c5c1b6
}

.auth-journey i {
    background: #5e5138
}

.auth-feature-list {
    color: #c5c1b6
}

.auth-feature-list .icon {
    color: #d8b86d
}

.auth-aside-footer {
    border-color: #423b2e;
    color: #b1a58b
}

.auth-form {
    background: #111316
}

.auth-form-symbol {
    background: #302a1f;
    color: #d8b86d;
    border: 1px solid #605035
}

.auth-security {
    color: #a7a9ae
}

.onboarding-header .brand-plaque {
    width: 176px
}

.onboarding-footer {
    color: #a7a9ae
}

.rich-terms {
    color: #e2e1dd;
    line-height: 2
}

.rich-terms img,
.terms-content img {
    max-width: 100%;
    height: auto
}

@media(min-width:1500px) {
    .content {
        padding: 40px 44px
    }

    .topbar {
        padding: 0 44px
    }
}

@media(max-width:1199px) {
    .shell {
        padding-right: 236px
    }

    .sidebar {
        width: 236px;
        padding: 24px 12px 18px
    }

    .sidebar .brand-plaque {
        width: 185px
    }

    .topbar {
        padding: 0 24px
    }

    .content {
        padding: 28px 24px
    }

    .account {
        gap: 12px
    }

    .representative-tier {
        padding-left: 12px;
        max-width: 178px
    }

    .account-label strong {
        max-width: 113px
    }

    .topbar-breadcrumb {
        display: none
    }

    .breadcrumb-chevron {
        display: none
    }
}

@media(max-width:991px) {
    .shell {
        padding-right: 0
    }

    .sidebar {
        width: 268px;
        z-index: 1055
    }

    .sidebar-brand-row {
        padding-left: 0;
        padding-right: 0
    }

    .sidebar-close {
        color: #d8b86d
    }

    .sidebar-close:hover {
        background: #302a1f;
        color: #ebce8c
    }

    .sidebar-backdrop {
        background: #0009;
        backdrop-filter: blur(2px)
    }

    .topbar {
        height: 78px
    }

    .sidebar .rv-nav-link {
        font-size: 12px
    }

    .account-label strong {
        max-width: 160px
    }

    .representative-tier {
        max-width: 210px
    }

    .sidebar .nav-child {
        font-size: 11px;
        min-height: 41px
    }

    .content {
        padding: 27px 24px
    }
}

@media(max-width:767px) {
    .topbar {
        height: auto;
        min-height: 76px;
        padding: 13px 16px;
        gap: 10px;
        flex-wrap: wrap
    }

    .topbar-context {
        flex: 1
    }

    .topbar-context strong {
        font-size: 11px
    }

    .account {
        gap: 10px
    }

    .account-label {
        display: none
    }

    .profile-chevron {
        display: none
    }

    .avatar.agency-avatar {
        width: 38px;
        height: 38px
    }

    .representative-tier {
        padding-left: 10px;
        gap: 6px;
        max-width: 180px;
        font-size: 9px
    }

    .representative-tier strong {
        font-size: 10px
    }

    .representative-tier small {
        font-size: 8px
    }

    .tier-trophy {
        width: 25px;
        height: 29px
    }

    .tier-trophy .icon {
        width: 16px;
        height: 16px
    }

    .account-dropdown {
        top: calc(100% + 17px)
    }

    .content {
        padding: 25px 17px
    }

    .dashboard-stats .stat {
        padding: 18px
    }

    .dashboard-stats .stat strong {
        font-size: 29px
    }

    .stat-top>span:first-child {
        font-size: 11px
    }

    .auth-aside {
        border-left: 0;
        border-bottom: 1px solid #454033
    }

    .auth-aside .brand-plaque {
        width: 175px;
        padding: 8px 12px
    }

    .auth-form {
        min-height: calc(100vh - 110px)
    }

    .onboarding-header .brand-plaque {
        width: 133px;
        padding: 7px 9px
    }

    .onboarding-header {
        padding: 22px 18px
    }

    .onboarding-account .mono {
        font-size: 10px
    }
}

@media(max-width:520px) {
    .topbar-context strong {
        display: none
    }

    .topbar-context {
        flex: 0 0 auto
    }

    .account {
        flex: 1;
        justify-content: flex-end;
        gap: 9px
    }

    .representative-tier {
        max-width: none;
        flex: 1;
        justify-content: flex-end
    }

    .representative-tier>span:last-child {
        max-width: 170px
    }

    .topbar {
        padding: 12px 13px
    }

    .account-dropdown {
        position: fixed;
        top: 75px;
        left: 12px;
        max-height: calc(100dvh - 92px);
        overflow-y: auto
    }

    .dashboard-heading h1 {
        font-size: 22px
    }

    .dashboard-heading .button {
        font-size: 10px
    }

    .auth-form {
        padding: 35px 25px
    }

    .auth-aside {
        padding: 20px 25px
    }
}

@media(max-width:380px) {
    .representative-tier>span:last-child {
        max-width: 133px
    }

    .representative-tier {
        padding-left: 7px;
        gap: 5px
    }

    .account {
        gap: 6px
    }

    .dashboard-stats .stat {
        padding: 15px 13px
    }

    .stat-top>span:first-child {
        font-size: 10px
    }

    .onboarding-account {
        gap: 7px
    }

    .onboarding-header {
        gap: 8px
    }

    .onboarding-header .brand-plaque {
        width: 114px
    }
}

/* Recipient-scoped panel notifications. Native disclosure keeps keyboard support. */
.notification-bell {
    position: relative;
    margin: 0;
    flex-shrink: 0
}

.notification-bell>summary.header-icon-button {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    position: relative;
    border-radius: 8px;
    padding: 0;
    color: #c3c5ca;
    cursor: pointer
}

.notification-bell>summary::-webkit-details-marker {
    display: none
}

.notification-bell>summary:hover,
.notification-bell[open]>summary {
    color: #e3c382;
    background: #302a1f
}

.notification-bell>summary:focus-visible {
    outline: 3px solid #d8b86d;
    outline-offset: 3px
}

.notification-count {
    position: absolute;
    right: -1px;
    top: -2px;
    min-width: 17px;
    height: 17px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    background: #d8b86d;
    color: #201b11;
    border: 2px solid #181b20;
    font-size: 8px;
    font-weight: 700;
    line-height: 1
}

.notification-popover {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    width: 345px;
    max-width: calc(100vw - 28px);
    max-height: min(590px, calc(100dvh - 112px));
    overflow-y: auto;
    background: #21242a;
    border: 1px solid #494336;
    border-radius: 11px;
    box-shadow: 0 18px 50px #0007;
    z-index: 1080;
    padding: 7px
}

.notification-popover-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 11px;
    border-bottom: 1px solid #3d4148;
    margin-bottom: 5px;
    gap: 10px
}

.notification-popover-heading strong {
    font-size: 13px;
    color: #f2eee6
}

.notification-popover-heading small {
    font-size: 10px;
    color: #bbb7ad
}

button.notification-item,
button.notification-open {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 7px;
    background: transparent;
    color: #e2e0d9;
    border: 0;
    border-radius: 6px;
    padding: 13px 11px;
    text-align: right;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.9;
    white-space: normal;
    overflow-wrap: anywhere
}

button.notification-item:hover,
button.notification-open:hover {
    background: #312d24;
    color: #f2e5c5
}

button.notification-item small,
button.notification-open small {
    font-size: 10px;
    color: #a8a9ad;
    direction: ltr;
    text-align: right
}

button.notification-item+button.notification-item {
    border-top: 1px solid #373b42;
    border-radius: 0
}

.notification-inbox-link {
    display: block;
    border-top: 1px solid #3d4148;
    padding: 13px 9px 8px;
    margin-top: 4px;
    text-align: center;
    font-size: 11px;
    color: #e2c687
}

.notification-popover>.empty {
    font-size: 11px;
    padding: 25px 10px;
    margin: 0
}

.notification-row {
    margin-bottom: 8px;
    border: 1px solid #373c44;
    border-radius: 8px;
    overflow: hidden
}

.notification-row.is-unread {
    border-color: #544b39
}

.notification-row.is-unread button.notification-open>span {
    color: #f0e5ca
}

.notification-row button.notification-open {
    padding: 15px 17px;
    gap: 8px
}

.notification-inbox .actions {
    justify-content: center
}

.service-terms {
    color: #e2e1dd;
    line-height: 2;
    overflow-x: auto;
    max-width: 100%;
    overflow-wrap: anywhere
}

.service-terms p {
    line-height: 2;
    margin-bottom: 12px
}

.service-terms ul,
.service-terms ol {
    padding-inline-start: 24px;
    margin: 12px 0
}

.service-terms li {
    margin: 5px 0
}

.service-terms table.rv-table {
    max-width: 100%;
    min-width: 260px;
    margin: 15px 0;
    border: 1px solid #4a4e55
}

.service-terms table.rv-table td,
.service-terms table.rv-table th {
    border: 1px solid #4a4e55;
    padding: 10px 12px;
    color: #e2e1dd;
    min-width: 90px
}

.service-terms table.rv-table th {
    background: #292c32;
    color: #e4c785
}

.service-terms img {
    max-width: 100%;
    height: auto
}

.service-terms a {
    text-decoration: underline;
    text-underline-offset: 3px
}

@media(max-width:520px) {
    .notification-popover {
        position: fixed;
        top: 75px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        max-height: calc(100dvh - 92px)
    }

    .notification-bell>summary.header-icon-button {
        width: 34px;
        height: 36px
    }

    .notification-row button.notification-open {
        padding: 13px
    }
}

.rv-btn-outline-primary {
    --bs-btn-color: #dec17d;
    --bs-btn-border-color: #8e7748;
    --bs-btn-hover-color: #201b11;
    --bs-btn-hover-bg: #d8b86d;
    --bs-btn-hover-border-color: #d8b86d;
    --bs-btn-active-color: #201b11;
    --bs-btn-active-bg: #d8b86d;
    --bs-btn-active-border-color: #d8b86d;
    --bs-btn-disabled-color: #a58d5c;
    --bs-btn-disabled-border-color: #665534
}

.text-primary {
    color: #dec17d !important
}

.bg-primary {
    background-color: #d8b86d !important;
    color: #201b11 !important
}

.link-primary {
    color: #dec17d !important
}

jdp-container {
    --jdp-color-0: #20242a;
    --jdp-color-1: #2b3038;
    --jdp-color-2: #444b56;
    --jdp-color-3: #737b88;
    --jdp-color-4: #bcc1c9;
    --jdp-color-5: #efebe2;
    --jdp-primary: #d8b86d;
    --jdp-red: #ff9b9f;
    border: 1px solid #6c5b3c;
    border-radius: 9px;
    box-shadow: 0 14px 40px #0007;
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
    z-index: 1090
}

jdp-overlay {
    z-index: 1085
}

/* Wide management tables scroll within their card without crushing action columns. */
.datatable-card table.rv-table:has(th:nth-child(8)) {
    min-width: 1000px
}

.datatable-card td:has(> .d-flex.flex-wrap) {
    min-width: 245px
}
