﻿.bbh-hero-glow,
.honeycomb-bg::before {
    pointer-events: none;
    pointer-events: none
}

.bms-table,
.payments-table table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.025);
    --bs-table-striped-color: #e8eef8;
    --bs-table-hover-bg: rgba(88, 166, 231, 0.08);
    --bs-table-hover-color: #f4f8ff;
    --bs-table-border-color: rgba(140, 170, 210, 0.10)
}

body,
html {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 100%;
    background: linear-gradient(180deg, #202531 0, #181c24 100%);
    color: var(--bb-text)
}

:root,
a {
    --bb-bg: #161a22;
    --bb-bg-elevated: #1b2029;
    --bb-sidebar: #1d212b;
    --bb-sidebar-top: #2c313a;
    --bb-surface: #232835;
    --bb-surface-2: #343a46;
    --bb-text: #e8eef8;
    --bb-text-muted: #a7b3c7;
    --bb-accent: #58a6e7;
    --bb-accent-strong: #8acbff;
    --bb-accent-border: rgba(88, 166, 231, 0.65);
    --bb-border: rgba(140, 170, 210, 0.12);
    --bb-border-strong: rgba(140, 170, 210, 0.22);
    --bb-success: #34bc7e;
    --bb-danger: #ff7b7b;
    --bb-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    --bb-shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.20);
    --bb-sidebar-width: 250px;
    --bb-mobile-topbar-height: 56px
}

.btn-link {
    color: var(--bb-accent);
    text-decoration: none
}

.btn-link:hover {
    color: var(--bb-accent-strong)
}

.btn-primary {
    color: #f7fbff;
    background: linear-gradient(180deg, #58a6e7, #3f8fd3);
    border-color: rgba(127, 196, 255, .22);
    box-shadow: 0 8px 20px rgba(88, 166, 231, .2)
}

.btn-primary:focus-visible,
.btn-primary:hover {
    background: linear-gradient(180deg, #69b3ef, #4b9add);
    border-color: rgba(138, 203, 255, .36);
    color: #fff
}

.btn-link.nav-link:focus-visible,
.btn:active:focus-visible,
.btn:focus-visible,
.form-check-input:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 .15rem rgba(22, 26, 34, .9), 0 0 0 .35rem rgba(88, 166, 231, .3)
}

.content {
    padding-top: 1.1rem
}

h1:focus {
    outline: 0
}

.valid.modified:not([type=checkbox]) {
    outline: rgba(52, 188, 126, .85) solid 1px;
    box-shadow: 0 0 0 .2rem rgba(52, 188, 126, .12)
}

.invalid {
    outline: rgba(255, 123, 123, .9) solid 1px;
    box-shadow: 0 0 0 .2rem rgba(255, 123, 123, .1)
}

.validation-message {
    color: #ff9b9b
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 1rem 1rem/1.8rem no-repeat, linear-gradient(180deg, #7b1f1f, #5d1717);
    padding: 1rem 1rem 1rem 3.7rem;
    color: #fff;
    border-radius: 16px;
    box-shadow: var(--bb-shadow-soft)
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.bbh-card::before,
.honeycomb-bg::before,
.payments-container::before {
    content: "";
    content: "";
    position: absolute
}

#blazor-error-ui {
    background: #332a12;
    color: #fff5c8;
    border-top: 1px solid rgba(255, 225, 120, .25);
    bottom: 0;
    box-shadow: 0 -1px 12px rgba(0, 0, 0, .25);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: .75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1100
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem
}

.darker-border-checkbox.form-check-input {
    border-color: #7f8aa0
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
    text-align: start
}

.page {
    position: relative;
    min-height: 100vh
}

main {
    flex: 1;
    min-width: 0
}

.sidebar {
    width: var(--bb-sidebar-width);
    background: linear-gradient(180deg, var(--bb-sidebar-top), var(--bb-sidebar));
    color: var(--bb-text);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, .35);
    border-right: 1px solid rgba(255, 255, 255, .04);
    z-index: 1001;
    transition: transform .28s, box-shadow .28s
}

.sidebar-header {
    padding: 1.35rem 1rem;
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .02);
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.sidebar .logo {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, .08))
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: .95rem;
    padding: 1.15rem .85rem
}

.sidebar-link,
a.nav-link-custom {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 58px;
    margin: 0;
    padding: .85rem 1rem;
    border-radius: 18px;
    border: 1px solid var(--bb-accent-border);
    background: linear-gradient(180deg, rgba(35, 40, 53, .94), rgba(29, 33, 43, .98));
    color: var(--bb-accent);
    text-decoration: none;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02);
    transition: transform .18s, background .18s, border-color .18s, color .18s, box-shadow .18s
}

.sidebar-link.active,
.sidebar-link:hover,
a.nav-link-custom.active,
a.nav-link-custom:hover {
    transform: translateY(-1px);
    color: var(--bb-accent-strong);
    border-color: rgba(127, 196, 255, .9);
    background: linear-gradient(180deg, rgba(40, 47, 61, .98), #222733);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18), 0 0 0 1px rgba(88, 166, 231, .12) inset
}

.sidebar-link i {
    margin-right: .1rem;
    font-size: 1.1rem;
    color: #8acbff;
    transition: color .18s
}

.sidebar-link.active i,
.sidebar-link:hover i {
    color: #d7ecff
}

.sidebar-toggler {
    display: none
}

@media (min-width:641px) {

    .backdrop,
    .mobile-topbar {
        display: none
    }

    .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        transform: none !important;
        display: flex
    }

    main {
        margin-left: var(--bb-sidebar-width);
        width: calc(100% - var(--bb-sidebar-width));
        padding: 0 1.5rem 1.5rem
    }

    .top-row,
    article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important
    }
}

@media (max-width:640.98px) {

    .backdrop,
    .sidebar-toggler:checked~.mobile-topbar .hamburger span:nth-child(2) {
        opacity: 0
    }

    .mobile-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: var(--bb-mobile-topbar-height);
        padding: 0 12px;
        background: var(--bb-sidebar);
        color: #fff;
        position: sticky;
        top: 0;
        z-index: 1002;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        backdrop-filter: blur(8px)
    }

    .mobile-logo-wrap {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none
    }

    .mobile-logo {
        max-height: 28px;
        width: auto;
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, .1))
    }

    .mobile-right-spacer {
        width: 32px;
        flex: 0 0 32px
    }

    .hamburger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 32px;
        height: 32px;
        cursor: pointer
    }

    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform .2s, opacity .2s
    }

    .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(86vw, 280px);
        height: 100vh;
        transform: translateX(-100%)
    }

    .sidebar-header {
        padding-top: 1.15rem;
        padding-bottom: 1.15rem;
        display: none
    }

    .sidebar-toggler:checked~.sidebar {
        transform: translateX(0)
    }

    .backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .42);
        pointer-events: none;
        transition: opacity .2s;
        z-index: 1000
    }

    .sidebar-toggler:checked~.backdrop {
        opacity: 1;
        pointer-events: auto
    }

    main {
        margin-left: 0;
        width: 100%;
        padding: 1rem
    }

    .sidebar-toggler:checked~.mobile-topbar .hamburger span:first-child {
        transform: translateY(6px) rotate(45deg)
    }

    .sidebar-toggler:checked~.mobile-topbar .hamburger span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg)
    }
}

@media (max-width:576px) {
    .sidebar-nav {
        gap: .8rem;
        padding: 1rem .75rem;
        margin-top: 56px
    }

    .sidebar-link,
    a.nav-link-custom {
        min-height: 54px;
        border-radius: 16px;
        padding: .8rem .95rem
    }

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        --bs-gutter-x: 0 !important
    }

    .py-4 {
        padding-top: 0 !important
    }
}

button.btn.btn-success {
    width: fit-content
}

.container.py-4 {
    width: max--webkit-fill-available
}

.bbh-home {
    max-width: 1500px;
    position: relative;
    --bbh-bg-0: #161a22;
    --bbh-bg-1: #1d212b;
    --bbh-bg-2: #232835;
    --bbh-bg-3: #2a3140;
    --bbh-bg-4: #343a46;
    --bbh-text: #e8eef8;
    --bbh-muted: #a7b3c7;
    --bbh-accent: #58a6e7;
    --bbh-accent-2: #7fc4ff;
    --bbh-accent-soft: rgba(88, 166, 231, 0.18);
    --bbh-line: rgba(140, 170, 210, 0.14);
    --bbh-line-strong: rgba(140, 170, 210, 0.28);
    --bbh-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    --bbh-shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.42)
}

.bbh-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--bbh-line);
    border-radius: 28px;
    padding: 2rem;
    background: radial-gradient(circle at top right, rgba(88, 166, 231, .16), transparent 30%), radial-gradient(circle at left center, rgba(127, 196, 255, .1), transparent 24%), linear-gradient(180deg, rgba(42, 49, 64, .96), rgba(29, 33, 43, .98));
    box-shadow: var(--bbh-shadow)
}

.bbh-hero-glow {
    position: absolute;
    inset: auto -80px -80px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 166, 231, .14), transparent 65%)
}

.bbh-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    border: 1px solid rgba(127, 196, 255, .18);
    background: rgba(35, 40, 53, .82);
    color: var(--bbh-accent-2);
    border-radius: 999px;
    padding: .45rem .85rem;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(6px)
}

.bbh-kicker-dot,
.bbh-live-dot {
    width: .7rem;
    height: .7rem;
    border-radius: 999px;
    background: #34bc7e;
    box-shadow: 0 0 0 4px rgba(52, 188, 126, .16);
    flex: 0 0 auto
}

.bbh-title {
    line-height: 1.02;
    letter-spacing: -.03em;
    font-weight: 800;
    color: var(--bbh-text);
    margin-bottom: .75rem;
    max-width: 760px
}

.bbh-status-label,
.bmf-eyebrow {
    letter-spacing: .05em;
    text-transform: uppercase
}

.bbh-subtitle {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--bbh-muted);
    max-width: 780px
}

.bmf-wrap,
.bms-wrap {
    max-width: 1400px
}

.bbh-status-wrap {
    min-width: 240px
}

.bbh-status-card {
    border: 1px solid var(--bbh-line);
    border-radius: 22px;
    padding: 1rem 1.05rem;
    min-width: 220px;
    background: rgba(35, 40, 53, .82);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18)
}

.bbh-status-label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--bbh-muted);
    margin-bottom: .45rem
}

.bbh-status-value {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--bbh-text)
}

.bbh-status-meta {
    margin-top: .35rem;
    font-size: .92rem;
    color: var(--bbh-muted)
}

.bbh-card {
    display: block;
    height: 100%;
    color: inherit;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--bbh-line);
    background: linear-gradient(180deg, rgba(42, 49, 64, .98), rgba(29, 33, 43, .98));
    box-shadow: var(--bbh-shadow);
    transition: transform .16s, box-shadow .16s, border-color .16s
}

.bbh-card::before {
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #4f95d9, #58a6e7, #8acbff);
    opacity: .95
}

.bbh-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bbh-shadow-hover);
    border-color: var(--bbh-line-strong)
}

.bbh-card-featured {
    background: radial-gradient(circle at top right, rgba(88, 166, 231, .16), transparent 30%), linear-gradient(180deg, rgba(45, 53, 68, .99), rgba(29, 33, 43, .99))
}

.bbh-card-inner {
    padding: 1.2rem
}

.bbh-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem
}

.bbh-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    border: 1px solid rgba(140, 170, 210, .14);
    background: linear-gradient(180deg, rgba(52, 58, 70, .98), rgba(35, 40, 53, .95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03)
}

.bmf-card,
.payments-container {
    box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
    position: relative
}

.bbh-arrow {
    font-size: .85rem;
    font-weight: 700;
    color: var(--bbh-accent-2);
    background: rgba(88, 166, 231, .12);
    border: 1px solid rgba(88, 166, 231, .18);
    padding: .35rem .65rem;
    border-radius: 999px
}

.bbh-card-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--bbh-text);
    margin-bottom: .4rem
}

.bbh-card-text {
    color: var(--bbh-muted);
    font-size: .95rem;
    line-height: 1.55;
    min-height: 4.7rem
}

.bbh-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: 1rem
}

.bbh-tag {
    display: inline-flex;
    align-items: center;
    padding: .38rem .65rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    border: 1px solid rgba(140, 170, 210, .12);
    background: rgba(35, 40, 53, .92);
    color: #c1cde0
}

.bbh-footer-note {
    border-radius: 20px;
    display: flex;
    flex-direction: row-reverse;
    font-size: 10pt;
    color: var(--bbh-muted)
}

@media (max-width:767.98px) {
    .bbh-hero {
        padding: 1.25rem;
        border-radius: 22px
    }

    .bbh-title {
        font-size: 1.9rem
    }

    .bbh-card-inner {
        padding: 1rem
    }

    .bbh-card-text {
        min-height: auto
    }

    .bbh-status-card,
    .bbh-status-wrap {
        width: 100%
    }
}

.honeycomb-bg::before {
    inset: 0;
    z-index: 0;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill-opacity='0.15' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%)
}

.payments-container {
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(140, 170, 210, .14);
    background: radial-gradient(circle at top right, rgba(88, 166, 231, .12), transparent 28%), linear-gradient(180deg, rgba(42, 49, 64, .98), rgba(29, 33, 43, .98));
    color: #e8eef8;
    overflow: hidden
}

.payments-container::before {
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #4f95d9, #58a6e7, #8acbff);
    opacity: .95
}

.payments-container h3 {
    color: #e8eef8;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem
}

.payments-container label {
    display: block;
    margin-bottom: .45rem;
    color: #a7b3c7;
    font-size: .9rem;
    font-weight: 600
}

.payments-container hr {
    border-color: rgba(140, 170, 210, .14);
    opacity: 1;
    margin: 1.5rem 0
}

.payments-container .form-control,
.payments-container input[type=date],
.payments-container select {
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(140, 170, 210, .14);
    background: #232835;
    color: #e8eef8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02)
}

.payments-container .form-control:focus,
.payments-container input[type=date]:focus,
.payments-container select:focus {
    border-color: rgba(88, 166, 231, .55);
    box-shadow: 0 0 0 .2rem rgba(88, 166, 231, .16);
    background: #262c39;
    color: #e8eef8
}

.payments-container input[type=date]::-webkit-calendar-picker-indicator {
    filter: invert(.85);
    opacity: .9;
    cursor: pointer
}

.payments-container .btn-group {
    width: 100%;
    gap: .6rem
}

.payments-container .btn {
    min-height: 44px;
    border-radius: 14px !important;
    font-weight: 700;
    border: 1px solid transparent;
    transition: .16s
}

.payments-container .btn-primary {
    background: linear-gradient(180deg, #58a6e7, #3f8fd3);
    border-color: rgba(127, 196, 255, .22);
    color: #d2daec;
    box-shadow: 0 8px 20px rgba(88, 166, 231, .2)
}

.payments-container .btn-primary:hover {
    background: linear-gradient(180deg, #69b3ef, #4b9add);
    transform: translateY(-1px)
}

.payments-container .btn-secondary,
button.btn.btn-secondary.mb-2 {
    margin: 0 !important;
    background: #232835;
    border-color: rgba(140, 170, 210, .16);
    color: #d2daec
}

.payments-container .btn-secondary:hover,
button.btn.btn-secondary.mb-2:hover {
    background: #2a3140;
    border-color: rgba(140, 170, 210, .28);
    color: #d2daec;
    transform: translateY(-1px)
}

.payments-table {
    max-height: 500px;
    overflow: auto;
    margin-top: 20px;
    border: 1px solid rgba(140, 170, 210, .12);
    border-radius: 18px;
    background: rgba(22, 26, 34, .55)
}

.bmf-card,
.bms-card,
.list-group {
    overflow: hidden
}

.payments-table table {
    margin-bottom: 0;
    color: #d2daec
}

.payments-table thead th {
    position: sticky;
    top: -1px;
    z-index: 1;
    background: #232835;
    color: #d2daec;
    font-size: .84rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid rgba(140, 170, 210, .16)
}

.payments-table td,
.payments-table th {
    padding: .85rem 1rem;
    vertical-align: middle
}

.list-group {
    border-radius: 18px;
    border: 1px solid rgba(140, 170, 210, .12)
}

.list-group-item {
    background: rgba(35, 40, 53, .86);
    color: #d2daec;
    border-color: rgba(140, 170, 210, .1)
}

.table>:not(caption)>*>* {
    color: #d2daec
}

.list-group-item:last-child {
    border-top: 2px solid rgba(88, 166, 231, .24)
}

.badge.bg-success {
    background: rgba(52, 188, 126, .18) !important;
    color: #7de0a8 !important;
    border: 1px solid rgba(52, 188, 126, .22);
    font-size: 12pt;
    font-weight: 700
}

.badge.bg-dark {
    background: rgba(88, 166, 231, .14) !important;
    color: #8acbff !important;
    border: 1px solid rgba(88, 166, 231, .18);
    font-size: 12pt;
    font-weight: 700
}

.total-container {
    display: flex;
    flex-direction: row-reverse;
    text-align: end;
    margin-right: 0;
    margin-top: 1.25rem;
    color: #c9d6e8
}

.bmf-card,
.total-container strong {
    color: #e8eef8
}

.spinner-border.text-primary {
    color: #58a6e7 !important
}

.payments-container .text-center p,
.payments-container p {
    color: #a7b3c7
}

#paymentsChart {
    width: -webkit-fill-available !important;
    height: -webkit-fill-available !important;
    aspect-ratio: 714/356 !important;
    background: rgba(35, 40, 53, .55);
    border: 1px solid rgba(140, 170, 210, .12);
    border-radius: 18px;
    padding: .75rem
}

.payments-table::-webkit-scrollbar {
    width: 10px;
    height: 10px
}

.bmf-card::before,
.bms-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px
}

.payments-table::-webkit-scrollbar-track {
    background: #1d212b;
    border-radius: 999px
}

.payments-table::-webkit-scrollbar-thumb {
    background: #343a46;
    border-radius: 999px;
    border: 2px solid #1d212b
}

.payments-table::-webkit-scrollbar-thumb:hover {
    background: #465062
}

@media (max-width:767.98px) {
    .payments-container {
        padding: 1rem;
        border-radius: 20px
    }

    .payments-container .btn-group {
        flex-direction: column
    }

    .payments-container .btn {
        width: 100%
    }

    .total-container {
        justify-content: flex-start;
        text-align: left;
        margin-top: 1rem
    }
}

.bmf-card {
    border-radius: 24px;
    border: 1px solid rgba(140, 170, 210, .14);
    background: radial-gradient(circle at top right, rgba(88, 166, 231, .12), transparent 28%), linear-gradient(180deg, rgba(42, 49, 64, .98), rgba(29, 33, 43, .98))
}

.bmf-card::before {
    background: linear-gradient(90deg, #4f95d9, #58a6e7, #8acbff);
    opacity: .95
}

.bmf-card-header {
    padding: 1.25rem 1.5rem 1rem;
    background: 0 0;
    border-bottom: 1px solid rgba(140, 170, 210, .1)
}

.bmf-eyebrow {
    font-size: .78rem;
    font-weight: 700;
    color: #8acbff;
    margin-bottom: .2rem
}

.bmf-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #e8eef8
}

.bms-eyebrow,
.bms-table thead th {
    text-transform: uppercase;
    letter-spacing: .05em
}

.bmf-card-body {
    padding: 1.5rem
}

.bmf-label {
    color: #a7b3c7;
    font-size: .92rem;
    font-weight: 600;
    margin-bottom: .45rem
}

.bmf-input {
    border-radius: 14px;
    border: 1px solid rgba(140, 170, 210, .14);
    background: #1d212b;
    color: #e8eef8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02)
}

input::file-selector-button {
    color: #c9d6e8 !important;
    background-color: #202531 !important
}

.bmf-input:focus {
    border-color: rgba(88, 166, 231, .55);
    box-shadow: 0 0 0 .2rem rgba(88, 166, 231, .16);
    background: #262c39;
    color: #e8eef8
}

.bmf-input::placeholder {
    color: #7f8aa0
}

.bmf-input option {
    background: #232835;
    color: #e8eef8
}

.bmf-textarea {
    min-height: auto;
    resize: vertical
}

.bmf-card-footer {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    padding: 1rem 1.5rem 1.5rem;
    background: 0 0;
    border-top: 1px solid rgba(140, 170, 210, .1)
}

.bmf-btn {
    min-height: 44px;
    padding: .7rem 1rem;
    border-radius: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: .16s
}

.bmf-btn-primary {
    background: linear-gradient(180deg, #58a6e7, #3f8fd3);
    border-color: rgba(127, 196, 255, .22);
    color: #f7fbff;
    box-shadow: 0 8px 20px rgba(88, 166, 231, .2)
}

.bmf-btn-primary:hover {
    background: linear-gradient(180deg, #69b3ef, #4b9add);
    transform: translateY(-1px);
    color: #fff
}

.bmf-btn-secondary {
    background: #232835;
    border-color: rgba(140, 170, 210, .16);
    color: #c9d6e8
}

.bmf-btn-secondary:hover {
    background: #2a3140;
    border-color: rgba(140, 170, 210, .28);
    color: #e8eef8;
    transform: translateY(-1px)
}

.bmf-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none
}

.bmf-photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

.bmf-photo-thumb {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(140, 170, 210, .16);
    background: #232835;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18)
}

.bmf-modal,
.bmf-modal .modal-content {
    border-radius: 20px;
    border: 1px solid rgba(140, 170, 210, .14);
    background: linear-gradient(180deg, rgba(42, 49, 64, .99), rgba(29, 33, 43, .99));
    color: #e8eef8;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35)
}

.bmf-modal-footer,
.bmf-modal-header {
    border-color: rgba(140, 170, 210, .1)
}

.bmf-modal-body,
.bmf-modal-footer,
.bmf-modal-header {
    background: 0 0
}

.bmf-modal-body p {
    color: #c9d6e8
}

.bmf-wrap .text-danger,
.bmf-wrap .validation-errors,
.bmf-wrap .validation-message {
    color: #ff9b9b !important;
    font-size: .88rem
}

.bmf-wrap input[type=date]::-webkit-calendar-picker-indicator,
.bmf-wrap input[type=datetime-local]::-webkit-calendar-picker-indicator {
    filter: invert(.85);
    opacity: .9;
    cursor: pointer
}

.bmf-wrap .form-control:disabled,
.bmf-wrap .form-select:disabled {
    background: #202530;
    color: #8d98ac
}

@media (max-width:767.98px) {

    .bmf-card-body,
    .bmf-card-footer,
    .bmf-card-header {
        padding-left: 1rem;
        padding-right: 1rem
    }

    .bmf-card-footer {
        flex-direction: column
    }

    .bmf-btn {
        width: 100%
    }
}

.bms-card {
    position: relative;
    border-radius: 24px;
    border: 1px solid rgba(140, 170, 210, .14);
    background: radial-gradient(circle at top right, rgba(88, 166, 231, .12), transparent 28%), linear-gradient(180deg, rgba(42, 49, 64, .98), rgba(29, 33, 43, .98));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
    color: #e8eef8
}

.bms-card-header,
.bms-filters {
    border-bottom: 1px solid rgba(140, 170, 210, .1)
}

.bms-card::before {
    background: linear-gradient(90deg, #4f95d9, #58a6e7, #8acbff);
    opacity: .95
}

.bms-card-header {
    padding: 1.25rem 1.5rem 1rem;
    background: 0 0
}

.bms-eyebrow {
    font-size: .78rem;
    font-weight: 700;
    color: #8acbff;
    margin-bottom: .2rem
}

.bms-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #e8eef8
}

.bms-filters {
    padding: 1.25rem 1.5rem;
    background: rgba(22, 26, 34, .18)
}

.bms-input,
.bms-input option {
    background: #232835;
    color: #e8eef8
}

.bms-label {
    color: #a7b3c7;
    font-size: .92rem;
    font-weight: 600;
    margin-bottom: .45rem
}

.bms-input {
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(140, 170, 210, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02)
}

.bms-input:focus {
    border-color: rgba(88, 166, 231, .55);
    box-shadow: 0 0 0 .2rem rgba(88, 166, 231, .16);
    background: #262c39;
    color: #e8eef8
}

.bms-input::placeholder {
    color: #7f8aa0
}

.bms-btn {
    min-height: 42px;
    padding: .65rem .95rem;
    border-radius: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: .16s
}

.bms-btn-success {
    background: linear-gradient(180deg, #58a6e7, #3f8fd3);
    border-color: rgba(127, 196, 255, .22);
    color: #f7fbff;
    box-shadow: 0 8px 20px rgba(88, 166, 231, .2)
}

.bms-btn-success:hover {
    background: linear-gradient(180deg, #69b3ef, #4b9add);
    transform: translateY(-1px);
    color: #fff
}

.bms-btn-secondary {
    background: #232835;
    border-color: rgba(140, 170, 210, .16);
    color: #c9d6e8
}

.bms-btn-secondary:hover {
    background: #2a3140;
    border-color: rgba(140, 170, 210, .28);
    color: #e8eef8;
    transform: translateY(-1px)
}

.bms-btn-danger {
    background: rgba(255, 107, 107, .1);
    border-color: rgba(255, 107, 107, .18);
    color: #ffb3b3
}

.bms-btn-danger:hover {
    background: rgba(255, 107, 107, .16);
    border-color: rgba(255, 107, 107, .28);
    color: #ffd1d1;
    transform: translateY(-1px)
}

.bms-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none
}

.bms-table-wrap {
    border-radius: 0 0 24px 24px;
    overflow: auto;
    background: rgba(22, 26, 34, .45)
}

.bms-table {
    color: #e8eef8;
    margin-bottom: 0
}

.bms-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #232835;
    color: #c9d6e8;
    font-size: .82rem;
    border-bottom: 1px solid rgba(140, 170, 210, .16);
    white-space: nowrap
}

.bms-table td,
.bms-table th {
    padding: .9rem 1rem;
    vertical-align: middle
}

.bms-empty-state {
    color: #a7b3c7
}

.bms-spinner {
    color: #58a6e7
}

.bms-alert {
    border-radius: 16px;
    border: 1px solid rgba(140, 170, 210, .12);
    background: rgba(35, 40, 53, .88);
    color: #c9d6e8
}

.bms-wrap input[type=date]::-webkit-calendar-picker-indicator {
    filter: invert(.85);
    opacity: .9;
    cursor: pointer
}

.bms-table-wrap::-webkit-scrollbar {
    width: 10px;
    height: 10px
}

.bms-table-wrap::-webkit-scrollbar-track {
    background: #1d212b;
    border-radius: 999px
}

.bms-table-wrap::-webkit-scrollbar-thumb {
    background: #343a46;
    border-radius: 999px;
    border: 2px solid #1d212b
}

.bms-table-wrap::-webkit-scrollbar-thumb:hover {
    background: #465062
}

@media (max-width:767.98px) {

    .bms-card-header,
    .bms-filters {
        padding-left: 1rem;
        padding-right: 1rem
    }

    .bms-title {
        font-size: 1.15rem
    }

    .bms-btn {
        width: 100%
    }
}