:root{
    --sidebar-default-width: 314px;
    --topbar-default-height: 80px;

    --primary-color: #4F30EA;
}

body{
    --sidebar-width: var(--sidebar-default-width);
    --topbar-height: var(--topbar-default-height);

    color: #ffffff;
    --bs-body-color: #FFFFFF;

    --bs-link-color: var(--primary-color);
    --bs-link-color-rgb: 110, 52, 255;

    --bs-primary: var(--primary-color);
    --bs-primary-rgb: 110, 52, 255;
}

.sidebarToggleButton{
    all: unset;
    display: inline-flex;
    cursor: pointer;
    padding: 8px;
    margin-right: 20px;
    font-size: 30px;
}

.sidebar-overlay{display: none;}


@media (max-width: 991px) {
    body{
        --sidebar-width: 0px;
    }
    .show-sidebar{
        overflow: hidden;
    }

    .sidebar{
        width: var(--sidebar-default-width)!important;
        z-index: 20;
        transition: 0.3s;
        left: calc(-2 * var(--sidebar-default-width))!important;
    }

    .sidebar-overlay{
        position: fixed;
        left: calc(-2* var(--sidebar-default-width)) !important;
        top: 0;
        right: 0;
        bottom: 0;

        display: block;
        width: 0;

        background: rgba(0, 0, 0, 0.8);
        z-index: 19;
        transition: 0.3s;
    }

    .show-sidebar .sidebar{
        left: 0!important;
        padding-bottom: 100px;
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }
    .show-sidebar .sidebar-overlay{
        left: 0!important;
        width: auto;
    }

    .show-sidebar .site-main{
        pointer-events: none;
    }
}



a.page-number {
    color: #fff;
    text-decoration: none;
}



/* Buttons — match brand spec, consistent with admin/ads/promoter */
.btn{
    padding: 16px 26px;
    display: inline-flex;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    align-items: center;
    justify-content: center;
    line-height: 130%;
    border-radius: 100px;
    transition: transform 180ms ease, background-position 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn .icon{
    font-size: 20px;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #FFFFFF;
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-focus-shadow-rgb: 114, 41, 245;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: transparent;
    --bs-btn-active-border-color: transparent;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: rgba(255,255,255,0.5);
    --bs-btn-disabled-bg: rgba(255,255,255,0.1);
    --bs-btn-disabled-border-color: transparent;
    background: linear-gradient(135deg, #0A3FD6 0%, #7229F5 55%, #4F30EA 100%) !important;
    background-size: 180% 180% !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 16px 26px !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}
.btn-primary:hover {
    transform: translateY(-1px);
    background-position: 100% 50% !important;
    box-shadow: none !important;
}
.btn-primary:hover::after {
    transform: translateX(100%);
}
.btn-primary:focus, .btn-primary:focus-visible, .btn-primary:active {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}
.btn-primary:disabled, .btn-primary[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}
.btn-primary > * {
    position: relative;
    z-index: 1;
}
.btn-outline-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--primary-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--primary-color);
    --bs-gradient: none;
}


.page-title,
.page-title h1{
    font-size: 28px;
    font-weight: 700;
}


table a{
    color: #4F30EA;
}
/* Compact pill for in-table action links — matches the modern panel.
   Subtle tinted background, brand-soft text, lifts on hover. */
.table-pill{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(79, 48, 234, 0.10);
    border: 1px solid rgba(79, 48, 234, 0.20);
    color: #4F30EA;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.table-pill:hover{
    background: rgba(79, 48, 234, 0.18);
    border-color: rgba(79, 48, 234, 0.40);
    color: #FFFFFF;
    text-decoration: none;
    transform: translateY(-1px);
}
.table-pill.fill{
    color: #FFFFFF;
    background: linear-gradient(135deg, #0A3FD6 0%, #7229F5 100%);
    border-color: transparent;
    border-radius: 100px;
    padding: 8px 16px;
}
.table-pill.fill:hover{
    color: #FFFFFF;
    transform: translateY(-1px);
}
.table-pill.disabled-link{
    opacity: 0.5;
    pointer-events: none;
}

/*.disabled-link {*/
/*    pointer-events: none;*/
/*    color: gray;*/
/*    cursor: not-allowed;*/
/*    text-decoration: none;*/
/*}*/

.number-pill{
    text-decoration: none;
    display: inline-flex;
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
    height: 32px;
    width: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.15s;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.number-pill:hover{
    background: rgba(114, 41, 245, 0.15);
    border-color: rgba(114, 41, 245, 0.3);
    color: #fff;
}





/* Tabs — canonical underline indicator pattern (matches admin Offers page) */
.tabs{
    display: flex;
    justify-content: space-around;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.tabs button,
.tabs .tab-item {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    padding: 12px 16px;
    width: 100%;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
}

.tabs button:hover:not(.active-tab),
.tabs .tab-item:hover:not(.active-tab) {
    color: rgba(255, 255, 255, 0.85);
}

.tabs button.active-tab,
.tabs .tab-item.active-tab {
    color: #fff;
    background: transparent;
    border-bottom-color: #4F30EA;
}




/* Modals */
.modal{
    --bs-modal-bg: rgba(20, 20, 20, 0.95);
}
.modal-content{

}

.event-success-modal .modal-dialog{
    max-width: 600px;
}

.btn-close{
    --bs-btn-close-color: #FFFFFF;
    filter: invert(1) grayscale(100%) brightness(200%);
}
/* ZONA unified pill button (used on Login + CreateAccount). Pairs with gradientButton prop. */
.zona-pill-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 100px !important;
    padding: 16px 26px !important;
    font-weight: 600 !important;
    border: none !important;
    background-size: 180% 180% !important;
    transition: transform 180ms ease, background-position 400ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    box-shadow: none !important;
}
.zona-pill-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}
.zona-pill-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    background-position: 100% 50% !important;
}
.zona-pill-btn:hover:not(:disabled)::after {
    transform: translateX(100%);
}
.zona-pill-btn:active:not(:disabled) {
    transform: translateY(0);
}
