.page-wrapper .page-body {
    margin-bottom: calc(var(--tblr-page-padding-y) + 35px);
}

.form-check-input {
    min-width: 20px;
    min-height: 20px;
}

.card-table.members-list-table tr th:first-child,
.card-table.members-list-table tr td:first-child {
    padding-left: 0.8rem;
}

.card-table.members-list-table .member-info {
    min-width: 230px;
}

.card-table.members-list-table .position {
    line-height: 1.1;
    display: block;
}

.member-layout-type {
    text-align: right;
    color: #64748b;
}

.member-layout-type .list,
.member-layout-type .grid {
    padding: 4px;
}

.member-layout-type .active {
    background-color: #fff;
    color: #000;
    border-radius: 4px;
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    will-change: transform;
    transform: translateZ(0);
    display: flex;
    height: calc(72px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid rgba(197, 160, 89, 0.22);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
    background: rgba(11, 26, 48, 0.96);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.mobile-bottom-nav__item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: stretch;
}

.mobile-bottom-nav__link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.35rem 0.25rem;
    margin: 0.35rem 0.15rem;
    border-radius: 12px;
    color: rgba(249, 248, 243, 0.45);
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.mobile-bottom-nav__link.router-link-active,
.mobile-bottom-nav__link.router-link-exact-active {
    color: var(--color-gold, #C5A059);
    background: rgba(197, 160, 89, 0.12);
}

.mobile-bottom-nav__link .icon {
    --tblr-icon-size: 1.45rem;
    stroke-width: 1.75;
    flex-shrink: 0;
}

.mobile-bottom-nav__label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Legacy selectors — keep for any older markup */
.mobile-bottom-nav__item a {
    color: rgba(249, 248, 243, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.45rem 0.5rem;
    border-radius: 12px;
    margin: 0 0.25rem;
    transition: color 0.15s ease, background 0.15s ease;
}

.mobile-bottom-nav__item .router-link-active {
    color: var(--color-gold, #C5A059);
    background: rgba(197, 160, 89, 0.12);
}

.mobile-bottom-nav__item-content {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 600;
}

.mobile-bottom-nav__item-content .icon {
    --tblr-icon-size: 1.65rem;
    stroke-width: 1.75;
}


/* Responsive Table */

.wrap-table {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    width: 100%;
    container-type: inline-size;
    container-name: table;
    overflow: clip;
}

.wrap-table table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
}

.wrap-table th {
    font-weight: 700;
    color: #334155;
    font-size: 14px;
    padding: 12px 14px;
    text-align: left;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.wrap-table tbody,
.wrap-table tr {
    background: #fff;
}

.wrap-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.wrap-table .user__photo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
}

.wrap-table .user__info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wrap-table .user__name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.wrap-table .user__email {
    font-size: 12px;
    color: #4b5563;
}

.wrap-table .user__club {
    font-size: 14px;
    color: #4b5563;
}

.user__badge {
    width: max-content;
    background: var(--tblr-primary-lt);
    border-radius: 6px;
    border: 1px solid rgba(30, 74, 138, 0.25);
    color: var(--enterprise-blue-dark, #163a6e);
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
}


/* .user__badge:before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 100px;
    background: #15803d;
    display: block;
} */

.user__badge_pending {
    background: #fefce8;
    color: #8a551c;
    border-color: #f4e7c5;
}

.user__badge_pending:before {
    background: #8a551c;
}

.user__badge_unpaid {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fbe0e0;
}

.user__badge_unpaid:before {
    background: #b91c1c;
}

.wrap-table .user__edit {
    display: block;
    padding: 4px 12px;
    text-decoration: none;
}

.wrap-table input+span {
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    transition: .3s;
    cursor: pointer;
}

.wrap-table input+span>svg {
    opacity: 0;
}

.wrap-table input:checked+span {
    background: var(--tblr-primary-lt, #eef4fc);
    border: 2px solid var(--enterprise-blue, #1e4a8a);
    color: var(--enterprise-blue-dark, #163a6e);
}

.wrap-table input:checked+span>svg {
    opacity: 1;
}

.wrap-table progress {
    display: block;
    width: 100px;
    height: 7px;
    -webkit-appearance: none;
    border-radius: 10px;
}

.wrap-table progress::-webkit-progress-bar {
    background-color: #eee;
    border-radius: 10px;
}

.wrap-table progress::-webkit-progress-value {
    background-color: var(--enterprise-blue, #1e4a8a);
    border-radius: 10px;
}

.wrap-table .user__edit {
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--enterprise-blue, #1e4a8a);
    color: #fff;
    text-align: center;
    font-weight: 500;
}

@container table (min-width: 400px) {
    .wrap-table .sticky-col {
        position: sticky;
        left: 0;
    }
    .wrap-table .sticky-col-right {
        right: 0;
    }
}

@container table (max-width: 400px) {
    .wrap-table thead {
        display: none;
    }
    .wrap-table td label {
        font-weight: 700;
        color: #374151;
        font-size: 14px;
    }
    .wrap-table tr {
        display: block;
        /* margin-bottom: 20px; */
    }
    .wrap-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: none;
    }
    .wrap-table td:first-child {
        background: #f1f5f9;
    }
    .wrap-table th {
        display: none;
    }
}

.wrap-table #right_panel {
    width: 1000px;
    position: relative;
}

.wrap-table #btn_resize {
    cursor: ew-resize;
    width: 14px;
    height: 100%;
    position: absolute;
    top: 0;
    left: calc(100% + 3px);
    background: #fff;
    display: flex;
    align-items: start;
    justify-content: center;
    border: none;
    padding: 0;
}

.wrap-table #btn_resize span {
    background: #94a3b8;
    height: 32px;
    width: 4px;
    display: block;
    border-radius: 10px;
}

.table-responsive .form-check-input {
    border: var(--tblr-border-width) var(--tblr-border-style) #CFD3DC;
    box-shadow: 1px 1px 2px RGBA(205, 205, 205, 0.5);
}

.wrap-table.table-responsive tr:not(:first-child) {
    border-top: 1px solid #dddee1;
}

.table-responsive tr.selected-member {
    background: rgba(30, 74, 138, 0.07);
}

#html5-qrcode-button-camera-stop {
    background-color: #e4685d;
    border: 0;
    border-radius: 6px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 17px;
    padding: 8px 20px;
    margin-top: 10px;
    text-decoration: none;
}

#html5-qrcode-button-camera-start {
    background-color: var(--enterprise-blue, #1e4a8a);
    border: 0;
    border-radius: 6px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 17px;
    padding: 8px 20px;
    margin-top: 10px;
    text-decoration: none;
}

#html5-qrcode-button-camera-permission {
    background-color: #2dabf9;
    border: 0;
    border-radius: 6px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 17px;
    padding: 8px 20px;
    margin-top: 10px;
    text-decoration: none;
}

#reader__dashboard_section_csr span {
    font-size: 18px;
}

#html5-qrcode-select-camera {
    font-family: 'Arial';
    display: inline-block;
    cursor: pointer;
    padding: 10px 15px;
    outline: 0;
    border: 0px solid #000000;
    border-radius: 6px;
    background: #e6e6e6;
    color: #7b7b7b;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#html5-qrcode-select-camera::-ms-expand {
    display: none;
}

#html5-qrcode-select-camera:hover,
#html5-qrcode-select-camera:focus {
    color: #000000;
    background: #cccccc;
}

#html5-qrcode-select-camera:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.select_arrow {
    position: absolute;
    top: 16px;
    right: 15px;
    pointer-events: none;
    border-style: solid;
    border-width: 8px 5px 0px 5px;
    border-color: #7b7b7b transparent transparent transparent;
}

#html5-qrcode-select-camera:hover~.select_arrow,
#html5-qrcode-select-camera:focus~.select_arrow {
    border-top-color: #000000;
}

#html5-qrcode-select-camera:disabled~.select_arrow {
    border-top-color: #cccccc;
}