/* Brave Payments admin. Loaded after SQLAdmin 0.20's bundled Tabler styles. */
:root {
  --bp-bg: #f6f7f9;
  --bp-surface: #fff;
  --bp-ink: #202827;
  --bp-muted: #74807d;
  --bp-line: #e6eae8;
  --bp-accent: #236953;
  --bp-accent-hover: #194d3d;
  --bp-soft: #eaf3ed;
  --tblr-primary: #236953;
  --tblr-primary-rgb: 35, 105, 83;
  --tblr-body-bg: #f6f7f9;
  --tblr-body-color: #202827;
  --tblr-border-color: #e6eae8;
}
body { background: var(--bp-bg); color: var(--bp-ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
a { color: var(--bp-accent); }
a:hover { color: var(--bp-accent-hover); }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #86b29f; outline-offset: 3px; }
.bp-skip { position: fixed; left: 16px; top: -100px; z-index: 2000; background: white; padding: 12px 20px; border-radius: 8px; }
.bp-skip:focus { top: 12px; }
.bp-shell { min-height: 100vh; }
.bp-sidebar { position: fixed; inset: 0 auto 0 0; width: 248px; background: var(--bp-surface); border-right: 1px solid var(--bp-line); z-index: 1030; display: flex; flex-direction: column; }
.bp-brand { display: flex; align-items: center; gap: 11px; padding: 28px 24px 26px; color: var(--bp-ink); font-size: 27px; font-weight: 750; line-height: 1; letter-spacing: -1.1px; text-decoration: none; }
.bp-brand:hover { text-decoration: none; color: var(--bp-ink); }
.bp-mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 42px; flex-shrink: 0; border-radius: 12px; background: #243d34; color: white; font-size: 35px; letter-spacing: -3px; padding-right: 3px; padding-bottom: 5px; }
.bp-mark span { color: #c7e6b3; }
.bp-brand-sub { display: block; font-size: 8px; letter-spacing: 1.6px; font-weight: 600; margin-top: 8px; color: var(--bp-muted); }
.bp-navigation { display: flex; flex-direction: column; padding: 0 14px; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: #dfe5e1 transparent; }
.bp-nav-label { color: #84918b; font-size: 10px; text-transform: uppercase; letter-spacing: 1.3px; font-weight: 650; padding: 8px 12px 14px; }
.bp-navigation .navbar-nav { display: flex; flex-direction: column; gap: 3px; }
.bp-navigation .nav-item { list-style: none; }
.bp-navigation .nav-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 40px; color: #606d66; font-size: 12px; font-weight: 500; border-radius: 8px; transition: background .15s, color .15s; }
.bp-navigation .nav-link:hover { background: #f4f6f4; color: var(--bp-ink); text-decoration: none; }
.bp-navigation .nav-link.active { background: var(--bp-soft); color: #236044; font-weight: 650; }
.bp-navigation .nav-link-icon { display: inline-flex !important; width: 18px; min-width: 18px; justify-content: center; font-size: 14px; color: #8a9690; margin: 0; }
.bp-navigation .active .nav-link-icon { color: var(--bp-accent); }
.bp-navigation .nav-link-title { overflow-wrap: anywhere; }
.bp-home { margin-bottom: 3px; }
.bp-account { margin-top: auto; padding: 22px 8px 20px; display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--bp-line); margin-top: 22px; }
.bp-avatar { display: grid; place-items: center; background: #edf0ee; border: 1px solid #e1e5e2; width: 33px; height: 33px; border-radius: 50%; font-weight: 600; font-size: 12px; }
.bp-account strong { display: block; font-size: 11px; font-weight: 600; }
.bp-account small { color: var(--bp-muted); font-size: 10px; }
.bp-account a { margin-left: auto; color: #87938c; padding: 8px; }
.bp-workspace { margin-left: 248px; min-width: 0; }
.bp-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 16px 40px; border-bottom: 1px solid var(--bp-line); background: rgba(255,255,255,.8); gap: 20px; font-size: 12px; }
.bp-breadcrumb { color: var(--bp-muted); }
.bp-slash { margin: 0 14px; color: #c1c9c4; }
.bp-topbar-label { color: #94a099; font-size: 9px; letter-spacing: 1.6px; white-space: nowrap; }
.bp-main { padding: 32px 40px 0; max-width: 1800px; margin: auto; }
.bp-main > .page-body { margin: 0; }
.row-deck > .bp-dashboard { display: block; }
.bp-main > .page-body > .row { --tblr-gutter-x: 20px; --tblr-gutter-y: 20px; }
.page-header { margin: 0 0 26px; }
.page-title, .bp-page-heading h1 { color: var(--bp-ink); font-size: 30px; font-weight: 650; letter-spacing: -.95px; line-height: 1.25; margin: 7px 0 10px; }
.page-pretitle, .bp-eyebrow { color: #778b7e; font-size: 10px; font-weight: 650; letter-spacing: 1.6px; line-height: 1.5; }
.bp-description { color: var(--bp-muted); font-size: 13px; line-height: 1.7; margin-bottom: 0; }
.bp-page-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 20px; }
.bp-heading-mark { width: 48px; height: 48px; background: #eef1ec; border: 1px solid #e2e8de; border-radius: 50%; display: grid; place-items: center; font-size: 29px; font-weight: 750; letter-spacing: -2px; color: #536c50; }
.bp-welcome { background: #eaf0e5; border: 1px solid #e1e8da; border-radius: 16px; padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; margin-bottom: 34px; }
.bp-welcome h2 { margin: 16px 0; font-size: 33px; line-height: 1.2; font-weight: 550; letter-spacing: -1px; }
.bp-welcome p { color: #6a7969; font-size: 13px; line-height: 1.7; margin: 0; }
.bp-welcome-symbol { font-size: 140px; color: #718b60; font-weight: 200; line-height: 1; padding: 0 30px; }
.bp-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.bp-section-heading h2 { font-size: 17px; font-weight: 600; margin: 0; letter-spacing: -.3px; }
.bp-section-heading > span { font-size: 11px; color: var(--bp-muted); }
.bp-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bp-shortcut { display: flex; align-items: center; gap: 13px; padding: 22px 19px; background: white; border: 1px solid var(--bp-line); border-radius: 11px; color: var(--bp-ink); font-weight: 550; font-size: 12px; transition: border-color .15s, box-shadow .15s; }
.bp-shortcut:hover { border-color: #a8c0af; box-shadow: 0 4px 12px #20352908; text-decoration: none; color: var(--bp-accent); }
.bp-shortcut-icon { display: grid; place-items: center; flex-shrink: 0; width: 35px; height: 35px; border-radius: 9px; background: #f2f5ef; color: #66805b; font-size: 15px; }
.bp-shortcut-arrow { margin-left: auto; font-size: 10px; color: #a2aea5; }
.bp-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 38px; border-top: 1px solid var(--bp-line); padding: 20px 0; color: #8c9891; font-size: 10px; }
.bp-menu-toggle { display: none; }
/* Shared lists, details, forms and dialogs retain SQLAdmin's original markup. */
.card { border: 1px solid var(--bp-line); border-radius: 12px; box-shadow: 0 2px 3px #23382a02; overflow: visible; background: white; }
.card-header { padding: 20px 24px; border-bottom-color: var(--bp-line); gap: 12px; flex-wrap: wrap; border-radius: 12px 12px 0 0; }
.card-title { color: var(--bp-ink); font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
.card-body { padding: 24px; }
.card-footer { background: #fcfdfc; border-top: 1px solid var(--bp-line); border-radius: 0 0 12px 12px !important; padding: 18px 24px; }
.btn { border-radius: 7px; min-height: 37px; padding: 8px 14px; font-size: 12px; font-weight: 550; box-shadow: none; transition: background .15s, border-color .15s; }
.btn-primary, input.btn[name="save"][value="Save"] { background: var(--bp-accent); border-color: var(--bp-accent); color: white; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, input.btn[name="save"][value="Save"]:hover { background: var(--bp-accent-hover) !important; border-color: var(--bp-accent-hover) !important; color: white; }
.btn-secondary, .btn-light, .btn-outline-primary { background: white; border: 1px solid #dfe5e1; color: #4f6056; }
.btn-secondary:hover, .btn-light:hover, .btn-outline-primary:hover { background: #edf3ef; color: #204b36; border-color: #b8cbbf; }
.btn-success { background: var(--bp-accent); border-color: var(--bp-accent); }
.btn:disabled, .btn.disabled { opacity: .45; }
.form-label { color: #42524a; font-size: 12px; font-weight: 550; margin-bottom: 9px; }
.form-control, .form-select { border: 1px solid #dde4df; border-radius: 7px; background-color: #fff; min-height: 40px; padding: 9px 12px; font-size: 13px; color: #25382c; box-shadow: 0 1px 2px #00000002; }
.form-control:focus, .form-select:focus { border-color: #7d9f87; box-shadow: 0 0 0 3px #23695310; }
.form-control::placeholder { color: #9aa69e; }
.form-control[type="checkbox"], .form-check-input { accent-color: var(--bp-accent); }
.form-check-input:checked { background-color: var(--bp-accent); border-color: var(--bp-accent); }
.form-fieldset { background: #fcfdfc; border: 1px solid var(--bp-line); border-radius: 9px; padding: 24px; }
.form-group { margin-bottom: 24px !important; }
.form-group small { display: inline-block; margin-top: 7px; font-size: 11px; line-height: 1.6; }
.select2-container { max-width: 100%; }
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple { border-color: #dde4df; border-radius: 7px; min-height: 40px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 38px; padding-left: 12px; font-size: 13px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 38px; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--bp-accent); }
.table { color: #4c5a52; font-size: 12px; margin-bottom: 0; --tblr-table-border-color: #edf0ed; }
.table thead th { background: #f8faf8; color: #7b897f; font-size: 10px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; padding: 14px 18px; white-space: nowrap; border-bottom: 1px solid var(--bp-line); }
.table thead th a { color: inherit; }
.table tbody td { padding: 16px 18px; vertical-align: middle; border-color: #edf0ed; max-width: 460px; overflow-wrap: anywhere; }
.table-striped > tbody > tr:nth-of-type(odd) > * { --tblr-table-accent-bg: transparent; background: transparent; }
.table tbody tr:hover td { background: #fafcf9; }
.table td a:not(.btn) { color: #507a63; }
.table td a { display: inline-block; padding: 3px; }
.table td img { border-radius: 7px; }
.table-responsive { scrollbar-width: thin; scrollbar-color: #cfdad1 #f7f9f6; }
.page-link { border-radius: 6px; color: #6e8172; font-size: 12px; }
.page-item.active .page-link { background: var(--bp-accent); border-color: var(--bp-accent); }
.dropdown-menu, .select2-dropdown { border: 1px solid var(--bp-line); border-radius: 9px; box-shadow: 0 10px 32px #142a1d12; }
.dropdown-item { font-size: 12px; padding: 9px 14px; }
.dropdown-item:hover { background: #eff5ed; }
.modal-content { border: 1px solid var(--bp-line); border-radius: 14px; box-shadow: 0 24px 100px #1a2b2433; }
.modal-header, .modal-footer { border-color: var(--bp-line); padding: 20px 24px; }
.modal-body { padding: 24px; }
.badge { padding: 5px 8px; border-radius: 5px; font-size: 10px; font-weight: 550; letter-spacing: 0; }
.badge.bg-primary, .badge.bg-success { background: #e9f2eb !important; color: #326648 !important; }
.alert { border-radius: 8px; font-size: 13px; line-height: 1.6; }
.bp-main .container-fluid { padding: 0; }
.bp-main .container-fluid > h1 { font-size: 28px; font-weight: 600; letter-spacing: -.7px; }
.bp-main .container-fluid > h1 > i { font-size: 22px; color: #789376; margin-right: 8px; }
/* Statistics and the existing visual menu editor. */
.bp-main .stat-card { border: 1px solid var(--bp-line); border-radius: 12px; padding: 23px; margin-bottom: 20px; box-shadow: none; background: white; height: calc(100% - 20px); }
.bp-main .stat-value { font-size: clamp(24px, 2.4vw, 38px); letter-spacing: -1.4px; font-weight: 550; line-height: 1.25; color: #273b2e; margin-top: 20px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bp-main .stat-label { color: #7c8d80; font-size: 10px; text-transform: none; font-weight: 500; letter-spacing: .1px; }
.bp-main .stat-label i { margin-right: 6px; color: #92a68c; }
.bp-main .section-title { font-size: 16px; font-weight: 600; letter-spacing: -.3px; margin: 24px 0 16px; color: #354a3a; }
.bp-main .positive { color: var(--bp-accent); }
.bp-main .top-user { padding: 14px 0; border-color: var(--bp-line); font-size: 12px; overflow-wrap: anywhere; }
.bp-main .top-user strong { color: #93a18e; margin-right: 10px; font-weight: 500; }
.bp-main .layout-row { background: #f7f9f5; border: 1px dashed #c9d6c4; border-radius: 10px; padding: 20px; }
.bp-main .layout-item { border-color: #dfe6da; border-radius: 8px; padding: 12px 16px; font-size: 13px; box-shadow: 0 2px 4px #24371d05; }
.bp-main #layout-selector { width: 100% !important; max-width: 300px; }
.bp-main .card-tools { max-width: 100%; margin-left: auto; }
/* Login */
.bp-login { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.bp-login-story { background: #eaf0e5; padding: 40px 64px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.bp-login-story .bp-brand { padding: 0; }
.bp-login-story h1 { font-size: clamp(36px, 4vw, 59px); font-weight: 500; line-height: 1.12; letter-spacing: -2.5px; margin: 22px 0; }
.bp-login-story p { color: #6d7d68; font-size: 15px; line-height: 1.7; }
.bp-login-copyright { font-size: 11px; color: #849079; }
.bp-login-art { position: relative; height: 180px; margin-top: 26px; }
.bp-login-art span { position: absolute; width: 165px; height: 140px; border: 1px solid #b8c8ab; border-radius: 22px; transform: rotate(-15deg); top: 10px; left: 20px; }
.bp-login-art span:nth-child(2) { transform: rotate(0); left: 60px; background: #dfe8d6; }
.bp-login-art span:nth-child(3) { transform: rotate(15deg); left: 100px; background: #c4d5b3; border-color: #b4c7a3; }
.bp-login-art b { position: absolute; font-size: 80px; color: #57714b; left: 151px; top: 9px; letter-spacing: -8px; transform: rotate(15deg); }
.bp-login-panel { display: flex; align-items: center; justify-content: center; background: #fff; padding: 48px; }
.bp-login-form { width: 100%; max-width: 350px; }
.bp-login-form h2 { font-size: 30px; font-weight: 600; letter-spacing: -.9px; margin: 12px 0; }
.bp-login-form .bp-description { margin-bottom: 34px; }
.bp-login-form .form-control { min-height: 47px; }
.bp-login-form .btn { min-height: 46px; margin-top: 8px; }
.bp-login-note { color: #94a096; text-align: center; font-size: 11px; margin-top: 23px; }
.bp-login-note i { font-size: 10px; margin-right: 6px; }
@media (min-width: 1600px) { .bp-main { padding-left: 56px; padding-right: 56px; } }
@media (max-width: 1199px) { .bp-main { padding: 26px 24px 0; } .bp-topbar { padding: 16px 24px; } .bp-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bp-sidebar { width: 224px; } .bp-workspace { margin-left: 224px; } .bp-brand { padding-left: 20px; } .bp-login-story { padding: 36px; } }
@media (max-width: 767px) {
  .bp-sidebar { position: sticky; top: 0; width: 100%; height: auto; border-right: 0; border-bottom: 1px solid var(--bp-line); }
  .bp-brand { padding: 17px 20px; font-size: 24px; width: fit-content; }
  .bp-mark { width: 34px; height: 36px; font-size: 30px; border-radius: 10px; }
  .bp-brand-sub { font-size: 7px; margin-top: 6px; }
  .bp-menu-toggle { display: grid; place-items: center; position: absolute; right: 18px; top: 21px; width: 36px; height: 34px; background: #f5f7f3; color: #49603f; border: 1px solid var(--bp-line); border-radius: 7px; }
  .bp-navigation { display: none; max-height: calc(100dvh - 80px); padding-bottom: 10px; }
  .bp-sidebar.is-open .bp-navigation { display: flex; }
  .bp-navigation .nav-link { min-height: 44px; font-size: 13px; }
  .bp-workspace { margin-left: 0; }
  .bp-topbar { min-height: 48px; padding: 12px 20px; font-size: 10px; }
  .bp-topbar-label { display: none; }
  .bp-slash { margin: 0 8px; }
  .bp-main { padding: 24px 18px 0; }
  .page-title, .bp-page-heading h1 { font-size: 26px; }
  .bp-heading-mark { display: none; }
  .bp-description { font-size: 12px; }
  .bp-welcome { padding: 26px; margin-bottom: 28px; }
  .bp-welcome h2 { font-size: 29px; }
  .bp-welcome-symbol { display: none; }
  .bp-section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .bp-shortcuts { gap: 10px; }
  .bp-shortcut { padding: 16px 13px; flex-wrap: wrap; gap: 10px; font-size: 11px; }
  .bp-shortcut > span:nth-child(2) { width: 100%; }
  .bp-shortcut-arrow { display: none; }
  .card-header, .card-body, .card-footer { padding: 16px; }
  .card-header > .ms-auto { margin-left: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
  .card-header .ms-3 { margin-left: 0 !important; }
  .card-body > .d-flex.justify-content-between { flex-wrap: wrap; gap: 12px; }
  .card-body > .d-flex > .col-4 { width: auto; }
  .form-fieldset { padding: 16px; }
  .form-group { margin-bottom: 20px !important; }
  .table tbody td { padding: 13px; }
  .bp-main .stat-card { padding: 20px; }
  .bp-main .stat-value { font-size: 32px; }
  .bp-login { grid-template-columns: 1fr; }
  .bp-login-story { padding: 24px; min-height: auto; }
  .bp-login-story > div, .bp-login-copyright { display: none; }
  .bp-login-panel { padding: 40px 26px 60px; align-items: flex-start; }
  .bp-footer { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .bp-sidebar, .bp-topbar, .bp-footer { display: none; } .bp-workspace { margin-left: 0; } .bp-main { padding: 0; } }
