html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex: 1;
    flex: 1;
}

.page-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: var(--spacer) 0.625rem;
}


/* ================ Cards and grids ================== */
/* Validation input error border */
.input-validation-error, .input-validation-error + .input-group-text, .input-validation-error:focus {
    border: 1px solid red;
}

/* _Pagination  */
.totalPages {
    order: 1;
}

.paginationButtons {
    order: 3;
}

.pagination {
    display: flex;
    justify-content: space-between;
}

.card_header {
    padding: var(--card-cap-padding-y) var(--card-cap-padding-x);
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--card-cap-color);
    background-color: var(--card-cap-bg);
    border-bottom: var(--card-border-width) solid var(--card-border-color);
}

.card_header_h2 {
    padding: var(--card-cap-padding-y) var(--card-cap-padding-x);
    margin: 0;
    color: var(--card-cap-color);
    background-color: var(--card-cap-bg);
}

.pagination-wrapper {
    max-height: 69px;
}

.page-size-select {
    max-width: 100px;
    min-width: 75px;
    background-color: white;
}

.pagination {
    color: black;
    background-color: white;
}

.paginationButtons a {
    cursor: pointer;
    color: black;
    background-color: white;
}

    .paginationButtons a:hover {
        cursor: pointer;
        color: #0e343a;
        border-color: #0e343a;
    }

.pagination .active a {
    background-color: black;
    color: white;
    border-color: black;
}

.paginationButtons li {
    margin-right: 3px;
}

@media screen and (max-width: 700px) {
    .pagination {
        display: block;
    }
}

.table {
    --table-bg: white;
}


    .table th.sortable,
    .table .th.sortable {
        cursor: pointer;
    }

    table thead .sortable .text-wrap,
    .table .thead .sortable .text-wrap {
        width: 100%;
    }

    table a,
    .table a {
        color: #0e343a;
    }


/*Phosphor*/
.sortable .ph.ph-caret-down, .sortable .ph.ph-caret-up {
    font-size: 1rem;
    vertical-align: calc(calc(50% - 0.9rem) * .5);
}


.select-table tr.selected {
    background-color: blue;
    color: white;
}

.headlineNotBold {
    font-weight: normal;
}

.headlineNotMarginBottom {
    margin-bottom: 0;
}

/* MOBILE SORTING */
.mobileSorting .itemActive {
    background-color: #0e343a;
    color: white;
}

    .mobileSorting .itemActive:hover {
        background-color: #0e343a;
        color: white;
    }

.mobileSorting .buttonActive {
    /*    color: #0c83ff;
    background-color: #0c83ff1a;*/
    color: white;
    background-color: #0e343a;
}


/*.pagination-wrapper {
    border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    margin: 0px;
}*/

.pagination-wrapper .paginationButtons {
    -ms-flex: 1 1 auto !important;
    flex: 1 1 auto !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
}

.filters {
    display: flex;
    justify-content: left;
    align-items: center;
}

.card-responsive-mobile {
    background-color: #f1f4f9;
    border-top: 1.25rem solid #f1f4f9;
}

    .card-responsive-mobile .mb-lc-none:last-child {
        margin-bottom: 0px;
    }

    .card-responsive-mobile .card:last-child {
        margin-bottom: 0px;
    }

    .card-responsive-mobile a {
        color: #0e343a;
    }

.responsive-table td:first-child {
    font-weight: 700;
    padding: 16px 12px;
}

.mobile-responsive-td {
    padding: 12px;
}

#itemListForm .select2-selection--single {
    margin: 0.625rem !important;
    width: 100%;
}

#companyTAXFilterForm .select2-selection--single {
    margin: 0.625rem !important;
    width: 100%;
}

.zIndex-3 {
    z-index: 3;
}

@media screen and (max-width: 992px) {
    .sidebar-overlay {
        position: fixed;
        right: 0;
        top: 79px;
    }
}


#eventTabs .nav-link {
    font-weight: bold;
    color: #adb5bd;
    border-bottom: 3px solid transparent;
    background: transparent;
    transition: all 0.2s ease;
}

    #eventTabs .nav-link:hover {
        color: #6c757d;
    }

    #eventTabs .nav-link.active {
        color: black;
        border-bottom: 3px solid #fff;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
        background: transparent;
    }

.clickable-row {
    cursor: pointer;
    transition: background-color 0.15s ease;
}


.row-hidden {
    display: none !important;
}

.rounded-circle {
    transition: transform 0.15s ease, opacity 0.15s ease;
}

    .rounded-circle:hover {
        transform: scale(1.1);
        opacity: 0.9;
    }

.action-card {
    display: block;
    border-radius: 12px;
    overflow: visible; /* important - change from hidden */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    background: #fff;
    position: relative;
}

    .action-card:hover {
        transform: scale(1.03);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }

.action-card-header {
    padding: 20px;
    height: 40px;
    border-radius: 12px 12px 0 0;
}

.action-card-icon {
    position: absolute;
    right: 5px;
    top: 10px; /* adjust to sit on the boundary */
    background: #fff;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 1.4rem;
    color: #6c757d;
    line-height: 1;
}

.action-card-icon-checkin {
    position: absolute;
    right: 60px;
    top: 16px;
    background: #fff;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 1.8rem;
    color: #6c757d;
    line-height: 1;
}

.action-card-body {
    padding: 16px;
    padding-top: 36px; /* leave room for the icon */
}

.scroll-fade-wrapper {
    position: relative;
}

    .scroll-fade-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 90px;
        height: 79%;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.95));
        pointer-events: none;
    }

scroll-fade-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 79%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.95));
    pointer-events: none;
}

body.layout-main {
    background: #f1f4f9;
}

body.layout-account {
    background: linear-gradient(45deg, #02d0bf 0%, #028adc 50%, #104cad 100%);
}


.direction-card {
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    width: 120px; /* default for desktop */
    max-width: 30%; /* shrink proportionally on smaller screens */
    min-width: 50px; /* never too small */
    flex: 0 1 auto;
}


    .direction-card.selected {
        box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0c83ff !important;
        background-color: rgba(12,131,255,0.08);
        transform: scale(1.1);
    }

@media (max-width: 576px) {
    .direction-card {
        width: 25%; /* let it shrink more on phones */
    }
}


#eventTabs .nav-link {
    color: #fff;
    font-weight: 600;
    transition: all 0.15s ease;
}

    #eventTabs .nav-link.active {
        background-color: #f1f4f9;
        color: #6c757d;
    }

    #eventTabs .nav-link:hover:not(.active) {
        background-color: #f3f4f6;
        color: #374151;
    }


#qr-reader .html5-qrcode-button-camera-stop {
    background-color: #104cad !important; /* your color */
    color: #fff !important; /* text color */
    border-radius: 0.25rem !important; /* rounded corners */
    padding: 0.4rem 0.8rem !important;
    font-size: 0.9rem !important;
    border: none !important;
}

    /* Optional: hover effect */
    #qr-reader .html5-qrcode-button-camera-stop:hover {
        background-color: #0d4aad !important;
    }


/*@font-face {
    font-family: "MuseoSans";
    src: url('https://oneticket.need-one.biz/fonts/museosans_500-webfont.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

body {
    font-family: "MuseoSans", Helvetica, Arial, sans-serif;
}*/


.ui-autocomplete {
    font-size: 1.2rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
}

.ui-menu-item-wrapper {
    padding: 12px 16px !important;
    border-radius: 6px;
}

    .ui-menu-item-wrapper.ui-state-active {
        background-color: #104cad !important;
        border-color: #104cad !important;
        color: #fff !important;
    }


.btn-circle {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-circle.btn-sm {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }