:root {
    --white: #ffffff;
    --black: #000000;
    --text: #EEEEEE;
    --primary-color: #f69814;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    /* overflow-x: hidden; */
    font-weight: 400;
    scroll-behavior: smooth;
    background-color: #050505;
}

a:focus,
input:focus,
textarea:focus,
button:focus,
.btn:focus,
.btn.focus,
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    margin: 0px;
    font-family: "Poppins", sans-serif;
}

a,
.btn,
button,
.button,
img {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.form-control:focus,
.form-select:focus,
.btn-close:focus {
    border-color: var(--primary-color) !important;
    outline: 0;
    box-shadow: unset;
}

/* scrollbar styling */
/* width */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    /* display: none; */
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::selection {
    color: #fff;
    background: var(--primary-color);
}

.header {
    position: sticky;
    z-index: 99;
    top: 0;
    width: 100%;
    background-color: #1B1B1B;
    border-bottom: 1px solid #FFFFFF4D;
}

.navScrolled {
    -webkit-box-shadow: 0px 4px 24px 0px #5D59490F;
    box-shadow: 0px 4px 24px 0px #5D59490F;
    animation: scrollSticky 0.5s ease-out;
    -webkit-animation: scrollSticky 0.5s ease-out;
}

@keyframes scrollSticky {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.header .navbar-nav li .nav-link {
    position: relative;
    color: var(--black);
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.header .navbar-nav li .nav-link svg {
    padding-left: 8px;
}

.header .navbar-nav {
    gap: 40px;
    align-items: center;
}

.header .navbar-nav li .nav-link:hover,
.header.navScrolled .navbar-nav li .nav-link:hover,
.header .navbar-nav li .nav-link.active {
    color: var(--primary-color);
}

.header .header-left .navbar-brand {
    padding-right: 35px;
    border-right: 1px solid #ffffff26;
}

/* .navbar-brand{
    font-size: 30px;
    font-weight: 600;
    line-height: 28px;
    color: var(--white, #FFFFFF);
} */
.custom-dropdown .dropdown-toggle {
    position: relative;
    /* padding: 5px 15px; */
    border-radius: 45px;
    background-color: #050505;
    border: 1px solid #FFFFFF66;
    font-size: 14px;
    color: var(--white, #FFFFFF);
}

.custom-dropdown .dropdown-toggle::after {
    content: '\f107';
    font-family: 'FontAwesome';
    border: none;
    line-height: 1;
    vertical-align: unset;
}

.custom-dropdown .dropdown-menu {
    background-color: #282828;
    box-shadow: 0px 4px 4px 0px #00000040;
    min-width: 150px;
    border-radius: 8px;
}

.custom-dropdown .dropdown-menu .dropdown-item {
    color: #FFFFFF66;
    font-size: 14px;
}

.custom-dropdown .dropdown-menu .dropdown-item:hover {
    color: var(--primary-color);
    background-color: #ffffff0d;
}

.text {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff80;
}

.header-right-list>li:not(:last-child) {
    position: relative;
    margin-right: 20px;
    padding-right: 20px;
}

.header-right-list>li:not(:last-child)::before {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    height: 22px;
    width: 1px;
    background-color: #ffffff26;
}

.grid-box,
.grid-circle-box {
    width: 35px;
    height: 35px;
    background-color: #050505;
    border: 1px solid #FFFFFF66;
}

.user-img {
    width: 32px;
    height: 32px;
}

.drop-icon {
    width: 26px;
    height: 26px;
    background-color: #1B1B1B;
}

.bg-primary-color {
    background-color: var(--primary-color);
}

.user-dropdown .dropdown-menu li:last-child {
    position: relative;
    margin-top: 12px;
    padding-top: 12px;
}

.user-dropdown .dropdown-menu li:last-child::before {
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background-color: #ffffff26;
}

.video_main {
    padding: 10px;
    border-radius: 20px;
    background-color: #1B1B1B;
}

.video_box {
    height: 100%;
    /* min-height: 100%;
    max-height: 100%; */
    min-height: 300px;
    max-height: 300px;
    border: 1px solid #FFFFFF33 !important;
    border-radius: 15px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.video_box:hover {
    /* box-shadow: rgba(246, 152, 20, 0.1) 0px 10px 15px -3px, rgba(246, 152, 20, 0.05) 0px 4px 6px -2px;
    transform: scale(1.03); */
    border: 2px solid #f6981461;
}

video {
    width: 100%;
    height: 100%;
    display: block;
}

.video_camera_badge,
.video_datetime {
    position: absolute;
    top: 12px;
    right: 0;
    margin: 0 10px;
    z-index: 1;
    padding: 5px 10px;
    border-radius: 25px;
    background-color: #FFFFFFCC;
    font-size: 12px;
    font-weight: 500;
    color: var(--black);
}

.video_camera_badge img {
    animation: blink 2s linear infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.video_datetime {
    top: unset;
    bottom: 20px;
    left: 20px;
}

.video_audio_badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 1;
}

.video_audio_badge a {
    width: 30px;
    height: 30px;
    background-color: #FFFFFFCC;
}

.expend_badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 1;
    width: 40px;
    height: 40px;
    background-color: #FFFFFFCC;
}

.video_audio_badge,
.expend_badge {
    /* visibility: hidden; */
    /* margin-right: -15%; */
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.video_box:hover .video_audio_badge,
.video_box:hover .expend_badge {
    visibility: visible;
    margin: 0;
}

.blank-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
}

.mob-top-header {
    background-color: #393939;
}

/* login css start */
.login_main {
    position: relative;
    max-width: 490px;
    padding: 50px 40px;
    background-color: #1B1B1B;
    border-radius: 20px;
    /* optional, for smoother edges */
    z-index: 1;
    overflow: hidden;
}

.login_main::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    /* border thickness */
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 20px;
    /* match .login_main */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.login_wrap {
    padding: 50px 0;
}

.login_heading p {
    font-family: "Poppins", sans-serif;
}

.login-form .form-control {
    padding: 15px 20px;
    color: #ffffff;
    border-color: #0000001A;
    background-color: #FFFFFF1A;
    border-radius: 10px;
}

.login-form .form-control::placeholder {
    color: #FFFFFF4D !important;
}

.login-form .form-label {
    color: #FFFFFF99;
}

.eye {
    top: 16px;
    right: 20px;
    cursor: pointer;
    color: var(--white);
}

.passwordField {
    padding-right: 50px !important;
}

.frgt {
    color: var(--primary-color);
}

.frgt:hover {
    text-decoration: underline;
}

.login-form .form-check-input {
    background-color: transparent;
    border-color: #FFFFFF1A;
}

.login-form .form-check-input:checked[type=checkbox] {
    background-color: var(--primary-color);
}

.login-form .form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.btn_primary,
button.swal2-confirm {
    border: 1px solid transparent !important;
    position: relative;
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    color: #151924;
    padding: 10px 20px;
    border-radius: 10px;
}

.btn_primary::before,
button.swal2-confirm::before {
    content: '';
    position: absolute;
    background: var(--primary-color);
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    transition: all 0.3s ease;
}

.btn_primary:hover::before,
button.swal2-confirm:hover::before {
    width: 0%;
}

.btn_primary:hover,
button.swal2-confirm:hover {
    background: transparent !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

button.swal2-confirm.swal2-styled {
    background: transparent !important;
}

/* login css end */

.maximize_modal .modal-content {
    border-radius: 30px;
    overflow: hidden;
}

.maximize_modal .video_box {
    min-height: 100%;
    max-height: 100%;
    border-radius: 0;
}

.maximize_modal .video_camera_badge {
    top: 20px;
    left: 20px;
}

.maximize_modal .video_badge {
    margin-right: 0;
}

.maximize_modal .video_badge,
.maximize_modal .expend_badge {
    visibility: visible;
    position: unset;
    top: unset;
    bottom: unset;
    right: unset;
    left: unset;
}

.modal_actions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 9;
}

.modal-backdrop {
    --bs-backdrop-opacity: 0.8;
}

.modal .video_box {
    transition: none;
}

.modal .video_box:hover {
    box-shadow: rgba(246, 152, 20, 0.1) 0px 10px 15px -3px, rgba(246, 152, 20, 0.05) 0px 4px 6px -2px;
    transform: none;
}

.select2-container .select2-selection--single {
    height: auto;
}

.select2-container--default .select2-selection--single {
    background-color: #050505;
    border: 1px solid #FFFFFF66;
    color: var(--white, #FFFFFF);
    border-radius: 45px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    color: var(--white, #FFFFFF);
    padding: 3px 30px 3px 10px;
    line-height: normal;
    font-size: 14px;
    height: 33px;
    display: flex;
    align-items: center;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom-left-radius: 45px;
    border-bottom-right-radius: 45px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    position: relative;
    border: unset;
    margin: 0;
    left: 0;
    top: 0;
    line-height: 1;
    font-size: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b::after {
    content: '\f107';
    font-family: 'FontAwesome';
    border: none;
    line-height: 1;
    vertical-align: middle;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
}

.select2-container {
    min-width: 110px;
    width: fit-content !important;
}

.select2-dropdown {
    min-width: 150px;
    background-color: #282828;
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 8px;
    border: unset;
    overflow: hidden;
}

.select2-container--open .select2-dropdown--below {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.select2-container--open .select2-dropdown {
    top: 6px;
}

.select2-results__option--selectable {
    color: #FFFFFF66;
    font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    color: var(--primary-color);
    background-color: #ffffff0d;
}

.select2-container--default .select2-results__option--selected {
    background-color: transparent;
    color: var(--primary-color);
}

.select2-results__option {
    padding: 6px 12px;
    text-wrap: nowrap;
}



.video_box {
    position: relative;
    overflow: hidden;
}

.video_box video {
    transition: transform 0.3s ease;
    transform-origin: center center;
    display: block;
    margin: 0 auto;
}

.modal_video_camera_badge {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    z-index: 9;
}

.modal_video_camera_badge .video_camera_badge {
    position: unset;
}

.modal_video_camera_badge button {
    min-width: 35px;
    height: 35px;
}

.before-none::before {
    display: none !important;
}

.validation-error {
    color: red;
}

.storeTimeSect {
    width: 80px;
}

.mob-storeTimeSect {
    width: 75px;
}

.modalStoreTime {
    width: 82px;
}

#modalZoomVide {
    min-height: 500px;
}

/* full screen changes */
.videoWrapper {
    height: 100%;
}

.timeDisplay {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.8);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 10;
}

.timeDisplay.visible {
    opacity: 1;
    pointer-events: all;
}

.fullscreenControls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.fullscreenControls.visible {
    opacity: 1;
    pointer-events: all;
}

.fullscreenControls button {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    cursor: pointer;
}

.fullscreenControls button:hover {
    background: #ff9900;
    color: #fff;
}

.screenshot-animate {
    animation: snapEffect 0.6s ease;
}

@keyframes snapEffect {
    0% {
        transform: scale(1);
        background-color: inherit;
    }

    30% {
        transform: scale(1.2);
        background-color: #28a745;
        color: #fff;
    }

    100% {
        transform: scale(1);
        background-color: inherit;
        color: inherit;
    }
}

/* full screen changes */

/* playback css */

.playback_section .video_box {
    min-width: 100%;
    max-height: 100%;
}

.playback_section .video_datetime {
    top: 20px;
    bottom: unset;
}

.playback_section .expend_badge,
.playback_section .video_audio_badge {
    position: unset;
    visibility: visible;
    margin-right: 0;
}

.playback_section .modal_video_camera_badge .video_datetime {
    position: unset;
}

.calendar .calendar-header {
    background: #050505;
    border-radius: 50px;
    padding: 8px 30px;
    width: 100%;
}

.calendar .calendar-body {
    background: #050505;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calendar-header button {
    display: flex;
    background: none;
    border: none;
    color: #ff9900;
    font-size: 20px;
    cursor: pointer;
}

.calendar-header h2,
#calendarTitle {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF99;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 10px;
    font-size: 12px;
    color: #FFFFFF99;
}

.dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 5px;
}

.dates div {
    font-size: 12px;
    padding: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    color: #ccc;
}

.dates div:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dates div.today {
    color: #F69814;
}

.playback_cal {
    margin-bottom: 20px;
}

.playback_cam {
    margin-bottom: 20px;
}

.playback_cam h3 {
    font-size: 16px;
    color: #FFFFFF99;
}

.playback_cam_list {
    background: #050505;
    border-radius: 15px;
    padding: 12px;
    max-height: 260px;
    overflow: auto;
}

.playback_cam_list li:not(:last-child) {
    margin-bottom: 10px;
}

.playback_cam_list_link {
    padding: 10px 12px;
    border-radius: 8px;
    background-color: #1B1B1B;
    font-size: 12px;
    color: #FFFFFF99;
    border: 1px solid transparent;
}

.playback_cam_list_link.active {
    border-color: #F69814;
    background-color: #21180b;
}

.playback_download_sect {
    background: #050505;
    border-radius: 15px;
    padding: 12px;
    overflow: auto;
    color: #FFFFFF99;
}

.timeline-wrap {
    margin-top: 5px;
}

.time-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #6f6f6f;
    margin-bottom: 10px;
    user-select: none;
}

.event-track {
    position: relative;
    height: 52px;
    background: #080808;
    border-radius: 4px;
    /* overflow:hidden; */
    box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.6);
    touch-action: none;
    /* for pointer/touch dragging */
}

/* container for generated thin stripes */
.events-layer {
    position: absolute !important;
    inset: 0;
    pointer-events: none;
}

/* single thin stripe */
.stripe {
    position: absolute;
    bottom: 6px;
    width: 3px;
    height: calc(100% - 12px);
    background: rgb(255 255 255 / 31%);
    border-radius: 2px;
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05) inset;
    transform-origin: center bottom;
}

.stripe.dim {
    background: rgba(255, 255, 255, 0.06);
}

/* pointer (line + tooltip) */
.pointer {
    position: absolute;
    top: 0;
    height: 100%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-start;
    pointer-events: auto;
    /* allow pointer to capture events */
}

.pointer-line {
    width: 2px;
    height: 100%;
    background: #f59b2b;
    box-shadow: 0 0 8px rgba(245, 155, 43, 0.4);
}

.event-track .tooltip {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59b2b;
    color: #071018;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.event-track .tooltip.show {
    opacity: 1;
}

.event-track .tooltip::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #f59b2b;
}

/* small current-marker dot under labels (optional) */
.small-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.small-dot {
    width: 6px;
    height: 6px;
    background: #2a2a2a;
    border-radius: 50%;
}

/* responsive */
@media (max-width:520px) {
    .event-track {
        height: 56px;
    }

    .event-track .tooltip {
        font-size: 12px;
        top: -30px;
    }
}

/* calendar */
.dates .disabled {
    pointer-events: none;
    color: #FFFFFF99;
}

.dates .avail {
    font-weight: 700;
}

.dates .selected {
    background: rgba(255, 255, 255, 0.1);
    color: #F69814;
}

/* calendar */
/* playback */
#seekRange {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 52px;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 5;
    cursor: pointer;
}

/* Thumb (Chrome, Edge, Safari) */
#seekRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1px;
    height: 52px;
    background: #f59b2b;
    cursor: pointer;
    border: none;
    border-radius: 0;
    margin-top: 0;
}

/* Thumb (Firefox) */
#seekRange::-moz-range-thumb {
    width: 1px;
    height: 52px;
    background: #f59b2b;
    border: none;
    border-radius: 0;
    cursor: pointer;
}

/* Hide Firefox default focus outline */
#seekRange::-moz-focus-outer {
    border: 0;
}

.video-js {
    position: absolute !important;
}

#noRecordingOverlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    display: none;
    z-index: 30;
}

.video-timestamp-overlay {
    position: absolute;
    bottom: 5px;
    left: 10px;
    color: #fff;
    font-size: 14px;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.6);
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 25;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.video-timestamp-overlay.show {
    opacity: 1;
}

.video-timestamp-overlay .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: red;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.2;
    }
}

/* Chrome / Edge / Safari (WebKit/Blink) */

/* Hide progress/seek bar */
#videoPlayer::-webkit-media-controls-timeline {
    display: none !important;
}

/* Hide current time & duration text */
#videoPlayer::-webkit-media-controls-current-time-display,
#videoPlayer::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

/* Optional: adjust layout so buttons stay aligned */
#videoPlayer::-webkit-media-controls-panel {
    justify-content: flex-start !important;
}

/* Chrome / Edge / Safari (WebKit/Blink) */

/* Hide progress/seek bar */
#videoPlayer::-webkit-media-controls-timeline {
    display: none !important;
}

/* Hide current time & duration text */
#videoPlayer::-webkit-media-controls-current-time-display,
#videoPlayer::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

/* Optional: adjust layout so buttons stay aligned */
#videoPlayer::-webkit-media-controls-panel {
    justify-content: flex-start !important;
}

/* Hide 3-dot (Playback Rate / Settings) */
.vjs-control-bar .vjs-menu-button,
.vjs-control-bar .vjs-playback-rate {
    display: none !important;
}

/* Hide default fullscreen button */
.vjs-control-bar .vjs-fullscreen-control {
    display: none !important;
}

.vjs-control-bar .vjs-menu-button,
.vjs-control-bar .vjs-fullscreen-control {
    display: none !important;
}

/* Hide native Chrome/Edge "overflow" (three-dot) button */
video::-internal-media-controls-overflow-button {
    display: none !important;
}

/* Hide Picture-in-Picture button */
video::-internal-media-controls-picture-in-picture-button {
    display: none !important;
}

/* Hide Cast button */
video::-internal-media-controls-cast-button {
    display: none !important;
}

/* ## new: hide native video controls UI for WebKit (Chrome, Safari) */
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel {
    display: none !important;
}

/* ## new: hide native video controls for Firefox (Gecko) */
video::-moz-media-controls {
    display: none !important;
}

video::-moz-media-controls-panel {
    display: none !important;
}

video::-moz-media-controls-overlay {
    display: none !important;
}

video::-moz-media-controls-play-button {
    display: none !important;
}

video::-moz-media-controls-volume-slider {
    display: none !important;
}

video::-moz-media-controls-timeline {
    display: none !important;
}

video::-moz-media-controls-current-time-display {
    display: none !important;
}

/* ## new: hide the big overlay play button some browsers show */
video::--webkit-media-controls-start-playback-button {
    display: none !important;
}

video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* extra safety: prevent pointer events on default overlays (but we manage UI ourselves) */
video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    pointer-events: none !important;
}



.video_box_modal.dragging {
    cursor: grabbing;
}

.speed-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    z-index: 9999;
    padding: 5px 0;
    min-width: 70px;
    text-align: center;
}

.speed-option {
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
}

.speed-option:hover,
.speed-option.active {
    background: #ff9900;
    color: #000;
}

#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 9999;
    cursor: wait;
}

#download_video.active {
    background-color: #ff9900;
}

/*download range on seekbar */
.events-layer {
    position: relative;
}

.seekbar-range {
    position: absolute;
    top: 0;
    height: 100%;
    background: #f6981463;
    cursor: grab;
    border: 1px solid #f69814;
    border-radius: 3px;
    z-index: 11;
    pointer-events: auto;
}

.range-handle {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: #f69814;
    cursor: ew-resize;
    z-index: 9999;
    pointer-events: all;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.range-marker {
    position: absolute;
    bottom: 20px;
    font-size: 12px;
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    transform: translateX(-50%);
    z-index: 9999;
    pointer-events: none;
}

.range-handle.left {
    left: 0;
}

.range-handle.right {
    right: 0;
}

.handle-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #f69814;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 20;
}


#confirmDownload {
    border-color: #20CD52;
}

#confirmRecordDownload {
    background-color: #ff9900;
}

/* playback */


/* Home css start */

.black_box_bg {
    background: #050505;
    border-radius: 15px;
    padding: 40px 20px;
    gap: 7px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.black_box_bg:hover {
    box-shadow: rgba(246, 152, 20, 0.1) 0px 10px 15px -3px, rgba(246, 152, 20, 0.05) 0px 4px 6px -2px;
    transform: scale(1.03);
    border: 2px solid #f6981461;
}

.black_box_bg p {
    color: #EEEEEE8C;
}

.black_box_bg .home_icon img {
    background: #FFFFFF24;
    border-radius: 100%;
    padding: 19px;
}

.home_video_main {
    min-height: calc(100vh - 135px);
    justify-content: center;
    display: flex;
    align-items: center;
}

/* Home css end */

.range-info span {
    font-size: 12px;
}

.range-info span span {
    background-color: #1b1b1b;
    padding: 2px 7px;
    border-radius: 50px;
    font-size: 13px;
}

.range-info {
    gap: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.dwnButtonSect button {
    width: 100%;
    font-size: 12px;
}

#startRecord {
    color: #ffffff;
    border-color: #CD2020;
}

.dwnButtonSect button:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.dwnButtonSect button:hover img {
    filter: invert(1) grayscale(9) brightness(0.5);
}

.handle-tooltip::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-color: #f69814 transparent transparent transparent;
    border-style: solid;
}

#videoContainer,
#videoContainerBox {
    height: 100%;
}

.video_box video {
    transition: transform 0.3s ease;
    transform-origin: center center;
    display: block;
    margin: 0 auto;
    object-fit: contain !important;
}

.swal2-popup.swal2-modal.swal2-icon-question.swal2-show,
.modal-content,
.modal-content .modal-body table tr th,
.modal-content .modal-body table tr td {
    background: #1B1B1B;
    border-radius: 15px;
    color: #fff;
    padding-bottom: 30px;
}

.modal .modal-header .btn-close {
    filter: invert(1);
}

.modal-content .modal-body table tr th,
.modal-content .modal-body table tr td {
    border-color: #ffffff29 !important;
    padding: 15px 10px;
}

.clipDownBtn:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.clipDownBtn:hover img {
    filter: invert(1) grayscale(9) brightness(0.5);
}

.swal2-icon.swal2-question.swal2-icon-show {
    color: #fff;
    border-color: #fff;
}

.swal2-actions button {
    min-width: 175px;
}

.swal2-cancel.swal2-styled {
    border: 1px solid #F69814;
    background-color: #21180B;
    color: #F69814;
    border-radius: 10px !important;
    position: relative;
    overflow: hidden;
}

.swal2-cancel.swal2-styled::before {
    content: '';
    position: absolute;
    background: var(--primary-color);
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    transition: all 0.3s ease;
}

.swal2-cancel.swal2-styled:hover::before {
    width: 0%;
}

.swal2-cancel.swal2-styled:hover {
    background: transparent !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

#hoverTime {
    position: absolute;
    top: -30px;
    padding: 4px 8px;
    background: rgb(245, 155, 43);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: none;
    pointer-events: none;
}

#speedBtn.active {
    background-color: #ff9900;
}

/* #timelineWrap {
  display: inline-block; 
  transform-origin: left center; 
  transition: transform 0.25s ease; 
} */

.timeline-zoom-wrapper {
    display: block;
    /* keep the original layout */
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.fullscreen_video {
    max-height: 87% !important;
}

.fullscreen_tooltip {
    top: -40px !important;
}

.fullscreen_tooltip::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #f59b2b;
}

.fullscreen_tooltip::after {
    display: none !important;
    content: none !important;
}

.fullscreen_video {
    height: calc(100% - 102px) !important;
    max-height: unset !important;
    min-height: unset !important;
}

/* electron */
.videoFullContainerElectron {
    height: 98.5vh;
}

#fullscreen_electron .video_box {
    height: calc(100% - 117px) !important;
    max-height: unset !important;
    min-height: unset !important;
}

/* electron */

div#videoLoader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 9;
}

@keyframes dash {
    0% {
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dashoffset: 100;
    }
}

.svg-white {
    filter: invert(1) grayscale(9) brightness(9);
}

/* zoom in and out progess bar css */
.custom-range::-webkit-slider-thumb {
    background-color: #080808;
    border: 2px solid #757575;
}

.custom-range::-webkit-range-thumb {
    background-color: #080808;
    border: 2px solid #757575;
}

.custom-range::-moz-range-thumb {
    background-color: #080808;
    border: 2px solid #757575;
}

.customScroll::-webkit-scrollbar {
    width: 12px;
    height: 10px;
}

.customScroll::-webkit-scrollbar-track {
    background: #2E2E2E;
    border-radius: 6px;
}

.customScroll::-webkit-scrollbar-thumb {
    background-color: #757575;
    border-radius: 6px;
    border: 3px solid #2E2E2E;
}

.customScroll::-webkit-scrollbar-thumb:hover {
    background-color: #757575;
}

.zoom-controls p {
    opacity: 0.5;
}

#zoomRange.custom-range {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
}

#zoomRange.custom-range::-webkit-slider-runnable-track {
    background: #2e2e2e;
    height: 4px;
    border-radius: 3px;
}

#zoomRange.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #2e2e2e;
    border: 6px solid #d1d1d1;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
    transition: background 0.2s, transform 0.2s;
}

#zoomRange.custom-range::-webkit-slider-thumb:hover {
    background: #757575;
    transform: scale(1.1);
}

#zoomRange.custom-range::-moz-range-track {
    background: #080808;
    height: 6px;
    border-radius: 3px;
}

#zoomRange.custom-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #ffffff;
    border: 2px solid #757575;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

#zoomRange.custom-range::-moz-range-thumb:hover {
    background: #e6e6e6;
    transform: scale(1.1);
}

#zoomRange.custom-range::-ms-track {
    background: transparent;
    border-color: transparent;
    color: transparent;
    height: 6px;
}

#zoomRange.custom-range::-ms-fill-lower {
    background: #007bff;
    border-radius: 3px;
}

#zoomRange.custom-range::-ms-fill-upper {
    background: #007bff;
    border-radius: 3px;
}

#zoomRange.custom-range::-ms-thumb {
    width: 18px;
    height: 18px;
    background: #ffffff;
    border: 2px solid #007bff;
    border-radius: 50%;
    cursor: pointer;
}

.scrollTimeLine {
    overflow-x: auto;
    overflow-y: hidden;
    height: 130px;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;

}

/* tooltip show left and right side when pointer near to  scrollTimeLine class */
.tooltip.show.cropped-left {
    left: 0 !important;
    transform: translateX(-2px);
    border-start-start-radius: 0px !important;
}

.tooltip.show.cropped-left:after {
    left: 9%;
}

.tooltip.show.cropped-right {
    right: 0 !important;
    transform: translateX(0px);
    border-start-end-radius: 0px !important;
    left: unset !important;
}

.tooltip.show.cropped-right:after {
    top: -6px;
    left: unset;
    transform: translateX(-24%) rotate(45deg);
    right: 0;
}

/* scroll add when zoom in or out */
.scrollTimeLine::-webkit-scrollbar {
    width: 12px;
    height: 10px;
}

.scrollTimeLine::-webkit-scrollbar-track {
    background: #2E2E2E;
    border-radius: 6px;
}

.scrollTimeLine::-webkit-scrollbar-thumb {
    background-color: #757575;
    border-radius: 6px;
    border: 3px solid #2E2E2E;
}

.scrollTimeLine::-webkit-scrollbar-thumb:hover {
    background-color: #757575;
}

/* live cam fullscreen start */
.liveCamVideoWrapper {
    height: 100vh !important;
    overflow: hidden;
}

/* live cam fullscreen end */

/* tooltip for download action */
.tooltip {
    border-radius: 5px;
}

.tooltip-inner {
    max-width: var(--bs-tooltip-max-width);
    padding: var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);
    color: #010101;
    text-align: center;
    background-color: #fff;
    border-radius: 5px;
}

.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before,
.bs-tooltip-top .tooltip-arrow::before {
    top: -1px;
    border-width: var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;
    border-top-color: #fff;
}

/* tooltip for download action */

/* live cam audio css */
#cameraModal .camera-modal {
    background-color: #1e1e1e;
    color: #fff;
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

#cameraModal .modal-header {
    border-bottom: none;
    padding: 1rem 1.5rem;
}

#cameraModal .modal-body {
    padding: 1.5rem;
}

#cameraModal .audio-list .audio-item {
    text-align: center;
    width: 22%;
    min-width: 150px;
}

#cameraModal .audio-item .audio-item-inner {
    background: #030303;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
    flex-direction: column;
    margin: 0 5px;
}

#cameraModal .audio-list .audio-item .audio-icon.play-toggle {
    background: #1B1B1B;
    border-radius: 20px;
    padding: 10px;
}

#cameraModal .audio-list .audio-item .audio-icon.play-toggle .progress-circle {
    background: #000;
    border-radius: 100%;
}

#cameraModal .audio-item.active .audio-icon,
#cameraModal .audio-icon:hover .progress-circle i {
    color: #fff;
    transform: translate(-45%, -50%) scale(1.1);
}

#cameraModal .audio-label {
    margin-top: 8px;
    color: #ccc;
    font-size: 0.9rem;
}


#cameraModal .delete-btn i {
    color: #f59b2b;
    font-size: 1.2rem;
}


.progress-circle {
    position: relative;
    width: 64px;
    height: 64px;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-circle circle {
    fill: none;
    stroke-width: 6;
    r: 28;
    cx: 32;
    cy: 32;
}

.progress-circle circle.bg {
    stroke: #333;
}

.progress-circle circle.progress {
    stroke: #f59b2b;
    stroke-dasharray: 175;
    /* circumference */
    stroke-dashoffset: 175;
    transition: stroke-dashoffset 0.3s linear;
}

.progress-circle i {
    position: absolute;
    font-size: 1.6rem;
    color: #F59B2B;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform .2s;
}

#cameraModal .recording-bar {
    background: #111;
    padding: 10px 16px;
    border-radius: 12px;
    align-items: center;
}

#cameraModal .mic-btn i,
#cameraModal .stop-btn i,
#cameraModal .delete-btn i {
    font-size: 1.3rem;
    color: #f59b2b;
}

#waveCanvas {
    width: 100%;
    height: 40px;
    display: block;
}

#cameraModal .time-text {
    width: 50px;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

#cameraModal .send-btn {
    background: #F59B2B;
    color: #000;
    font-weight: 500;
    border-radius: 8px;
    padding: 6px 14px;
}

.btn.delete-btn {
    background: #1B1B1B;
    padding: 5px;
    border-radius: 8px;
}

.btn.delete-btn i {
    border: 1px solid #333;
    border-radius: 100%;
    padding: 2px;
    width: 30px;
    height: 30px;
    font-size: 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn.delete-btn:hover i {
    color: #fff !important;
}

#cameraModal .send-btn:hover {
    background: #fff;
}

.preview-player {
    display: flex;
    align-items: center;
}

.preview-player canvas {
    width: 100%;
    height: 40px;
    display: block;
}

.preview-play i {
    font-size: 1.2rem;
    color: #f59b2b;
}

.preview-player canvas {
    width: 100%;
    height: 40px;
    display: block;
    filter: brightness(1.2);
}

.preview-time {
    width: 50px;
    text-align: right;
    color: #ccc;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn.preview-play {
    background: #1B1B1B;
    padding: 5px;
    border-radius: 8px;
}

.preview-play i {
    color: #F59B2B;
    border: 1px solid #333;
    border-radius: 100%;
    padding: 2px;
    width: 30px;
    height: 30px;
    font-size: 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-play:hover i {
    color: #fff !important;
}

.audio-list {
    visibility: hidden;
}

.audio-list.slick-initialized {
    visibility: visible;
}

.audioListSection .slick-prev::before,
.audioListSection .slick-next::before {
    font-size: 26px;
}

.audioListSection .slick-prev,
.audioListSection .slick-next {
    width: 24px;
    height: 24px;
    z-index: 99;
}

.audioListSection .slick-next {
    right: -10px;
}

.audioListSection .slick-prev {
    left: -10px;
}

/* live cam audio css end */
.recording-segment {
    background-color: #555555 !important;
}

.global-thumb {
    z-index: 9;
}

/* pos start */
/* .pos_transaction_overlay {
    width: 85%;
    background: #060606a3;
    border-radius: 10px;
    position: absolute;
    z-index: 99;
    left: 12px;
    top: 12px;
    color: #fff;
    backdrop-filter: blur(1px);
    scrollbar-width: thin;
    scrollbar-color: #F69814 #fff0;
    border: 1px solid #FFFFFF33 !important;
    max-width: 230px;
} */
.pos_transaction_overlay {
    background: #060606a3;
    border-radius: 10px;
    color: #fff;
    backdrop-filter: blur(1px);
    scrollbar-width: thin;
    scrollbar-color: #F69814 #fff0;
    border: 1px solid #FFFFFF33 !important;
    max-width: 230px;
}

.pos_section_outer {
    position: absolute;
    width: 85%;
    z-index: 99;
    left: 12px;
    top: 12px;
    gap: 4px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 50px) !important;
}

.pos_trans_section {
    width: 85%;
    max-width: 215px;
    background: #060606a3;
    border-radius: 10px;
    position: absolute;
    z-index: 99;
    left: 20px;
    top: 20px;
    color: #fff;
    backdrop-filter: blur(1px);
    scrollbar-width: thin;
    scrollbar-color: #F69814 #fff0;
    border: 1px solid #FFFFFF33 !important;
}

.pos_transaction_overlay.two_device_pos .pos_body {
    height: 100% !important;
    overflow-y: auto;
}

.pos_transaction_overlay.two_device_pos {
    max-height: 50%;
}

.videoWrapper.fullscreen-active .pos_transaction_overlay.two_device_pos {
    max-height: 50%;
}

.videoWrapper.fullscreen-active .pos_transaction_overlay.two_device_pos .pos_body {
    height: 100% !important;
    max-height: 100%;
}

.pos_body {
    font-size: 15px;
    /* max-height: 350px; */
    max-height: 250px;
    overflow: auto;
    padding: 10px;
}

.pos_body p {
    margin-bottom: 3px;
}

.pos_body table tr td,
.pos_body table tr th {
    font-size: 12px !important;
    line-height: 14px;
}

.pos_body table tbody tr td {
    word-break: break-all;
}

.pos_body table tr {
    margin: 8px 0px;
    display: flex;
    justify-content: space-between;
}

.pos-post-messages p:first-of-type {
    font-size: 12px !important;
    margin-bottom: 3px !important;
}

.pos_body table tbody tr th {
    word-break: unset !important;
    align-items: start;
    margin-left: 10px;
    display: table;
}

/* pos end */

/* loudspeaker css start */
.loudspeakerBtn.active {
    background-color: #ff9900;
}

.audio-dropdown .list-unstyled,
.noAudioAvailSection {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-0%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    border-radius: 8px;
    overflow: auto;
    max-height: 150px;
    z-index: 9999;
    padding: 5px 0;
    min-width: 70px;
    text-align: center;
    border: 1px solid #ffffff33;
}

li.dropdown-item {
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: #ff9900;
    color: #000;
}

.fullscreen-active .audio-dropdown .list-unstyled,
.fullscreen-active .noAudioAvailSection {
    bottom: 50px !important;
}

/* loudspeaker css end */


/* wall page css start */

.create-wall a {
  font-size: 14px;
  color: #FFFFFF99;
}
.create-wall a:hover {
  color: #ee9314;
}
.create-wall.custom-wall-button a {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 100px;
  color: #fff;
  font-size: 14px;
  min-width: 75px;
  gap: 5px;
  height: 35px;
  background-color: #050505;
  border: 1px solid #FFFFFF66;
  display: flex;
  align-items: center;
}
.create-wall.custom-wall-button a svg path {
  stroke: #fff;
}
.create-wall.custom-wall-button a:hover svg path {
  stroke: #fff;
}

.create-wall a svg path {
transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.create-wall a:hover svg path {
  stroke: #ee9314;
}

.create-wall-right span.h_line {
    color: #FFFFFF99;
}

/* wall page css end */


/* Create Wall page css start */

    .heading h2 {
        font-size: 20px;
        color: #FFF;
    }
    .create_wall_section label {
        color: #FFFFFF99;
        font-size: 14px;
        margin-bottom: 5px;
    }
    .create_wall_section .form-control {
       background: #131313;
        border-color: #484848;
        color: #fff;
    }
    .create_wall_section .select2.select2-container.select2-container--default {
        width: 100% !important;
    }
    .create_wall_section .select2-selection.select2-selection--multiple {
        background: #131313;
        border-color: #484848;
        color: #fff;
        min-height: 38.60px;
        border-radius: 5px !important;
        padding: 0px 6px 6px 6px;
    }
    .create_wall_section .select2-search__field {
        color: #fff;
    }
    .create_wall_section .select2-selection__choice {
        font-size: 13px;
        padding: 3px 3px 3px 24px !important;
        background-color: #1b1b1b !important;
        border: 1px solid #aaaaaa26 !important;
    }
    .create_wall_section .select2-selection__choice__remove {
        top: 50% !important;
        transform: translateY(-50%);
        padding: 3px 6px !important;
        border-color: #aaaaaa26 !important;
    }

    .create_wall_section .btn.btn-custom {
        border-color: #F69814;
        background-color: #21180b;
        min-width: 160px;
        margin: 0 auto;
        display: block;
        color: #fff;
        padding: 8px;
    }
    .create_wall_section .btn.btn-custom:hover {
        border-color: #F69814;
        background-color: #F69814;
    }

    .create_wall_section .sortable-list .list-group-item {
        cursor: move;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .create_wall_section span.handle {
        background-color: #F69814;
        color: #fff;
    }
    #wall_section .video_audio_badge {
        bottom: 12px !important;
        top: unset !important;
        right: unset;
        left: 12px;
    }
    #wall_section .list-unstyled {
        bottom: 50px !important;
        left: 0px !important;
        transform: unset;
    }
    #wall_section .expend_badge {
        width: 30px;
        height: 30px;
    }

    #wall_section .expend_badge img {
        width: 18px !important;
        height: 18px !important;
    }

    /* wall header modal */
    .wall-custom-dropdown {
        border: 1px solid #ccc;
        padding: 8px;
        cursor: pointer;
        position: relative;
        background: rgba(0, 0, 0, 0.85);
        color: #fff;
        border-radius: 6px;
    }

    .wall-custom-dropdown .dropdown-selected {
        font-size: 14px;
    }

    .wall-custom-dropdown .cam-wall-dropdown-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 250px;
        overflow-y: auto;
        background: rgba(0, 0, 0, 0.85);
        color: #fff;
        border: 1px solid #ccc;
        border-top: none;
        z-index: 2000;
    }

    .wall-custom-dropdown .cam-dropdown-item {
        padding: 8px;
        cursor: pointer;
    }

    .wall-custom-dropdown .cam-dropdown-item:hover {
        background: #ff9900;
        color: #000;
    }
    .wall-custom-dropdown.disabled {
        opacity: 0.5;
        pointer-events: none;
    }
    .cam-dropdown-item {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .cam-check {
        width: 16px;
        height: 16px;
        cursor: pointer;
    }

    .create-wall.right{
        border-right: 1px solid #ffffff26;
        padding-right: 10px;
    }
    .create-wall.left{
        padding-left: 10px;
    }
    .gridSelectBox .select2-container{
        min-width: 65px !important;
    }

    .modal_section_div .select2-selection.select2-selection--single {
        background: #131313;
        border-color: #484848;
        color: #fff;
        border-radius: 5px !important;
        height: 38px;
        display: flex;
        align-items: center;
    }
    #cameraDropdown, #editCameraDropdown {
        background: #131313;
        border-color: #484848;
        color: #fff;
    }

.create_wall_section .sortable-list .list-group-item {
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  color: #fff;
  border-color: #484848;
  font-size: 12px;
  padding: 2px 10px;
}
#cameraOrderList, #editCameraOrderList {
  background: #131313;
  border-color: #484848;
  color: #fff;
  max-height: 200px;
  overflow: auto;
}
.create_wall_section .sortable-list .list-group-item .remove-btn, .create_wall_section .sortable-list .list-group-item .remove-edit-camera {
  color: #f69814 !important;
  text-decoration: unset;
}
/* Create Wall page css end */

/* .row.g-2.video-grid .col {
    height: calc(100vh / 2 - 62px);
} */

.row.video-grid.grid-12x .video_box {
  min-height: 100% !important;
  max-height: 100% !important;
}
.row.video-grid.grid-12x .col {
  height: calc(100vh / 3 - 45px);
}
.modal-header {
  border-color: #484848;
}
.grid-circle-box.actionButton {
  width: fit-content;
  padding: 4px 14px;
  border-radius: 100px;
  color: #fff;
  font-size: 14px;
  min-width: 95px;
  gap: 7px;
  /* background: linear-gradient(180deg, #FB3939 0%, #AB0404 100%);
  border: transparent; */
}
.grid-circle-box.actionButton img {
  /* filter: brightness(9); */
  /* animation: blink 2s linear infinite; */
}
/* .grid-circle-box.actionButton:hover {
  opacity: 0.7;
} */
.grid-circle-box.actionButton.playback-action-button {
  /* background: linear-gradient(180deg, #5E39FB 0%, #2E04AB 100%); */
}
.date-time-section .text {
  font-size: 14px;
}
.date-no-year{
    display: none;
}

.header-right-list > li .date-time-section {
  position: relative;
  margin-right: 10px;
  padding-right: 19px;
}

.header-right-list > li .date-time-section::before {
  position: absolute;
  content: '';
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  height: 22px;
  width: 1px;
  background-color: #ffffff26;
}
.list-download-table table.dataTable {
  width: 100% !important;
}
    .col-sm-12:has(table.dataTable) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: block;
  max-height: 400px;
}
.pagination li a {
  background-color: #050505;
  border: 1px solid #FFFFFF66;
  color: #fff;
}
.pagination li.disabled > .page-link, .page-link.disabled {
  color: #ffffff4a;
  pointer-events: none;
  background-color: #050505;
  border-color: #424242;
}
.pagination .active > .page-link, .pagination .page-link.active {
  background-color: #f90 !important;
  border-color: #f90 !important;
  color: #050505 !important;
}
.pagination .page-link:hover {
  color: #050505;
  background-color: #f90;
  border-color: #f90;
}
.pagination .page-link:focus {
  color: #fff;
  background-color: #050505;
  border-color: #424242;
}
#downloadsTable td, #downloadsTable th {
  border-radius: 0;
  font-size: 14px;
}
/* pos transaction list  */
.pos_section{
    color: #FFFFFF99;
    font-size: 14px;
}
.list-pos-transaction table {
  width: 100% !important;
}
#PosTransTable td, #PosTransTable th {
  border-radius: 0 !important;
  font-size: 14px;
}

#PosTransTable tr th,
#PosTransTable tr td {
    background: #1B1B1B;
    border-radius: 15px;
    color: #fff;
    border-color: #484848;
}
#PosTransTable .text-muted {
  color: #ffffff36 !important;
}
/* pos transaction list  */




.form-control.form-control-sm {
  background: #050505;
  border-radius: 50px;
  padding: 8px 30px;
  border-color: #5f5f5f;
  color: #fff;
}
.form-control, .form-select {
  background: #050505;
  font-size: 14px;
  padding: 8px 10px;
  border-color: #5f5f5f;
  color: #fff;
}
.dataTables_paginate.paging_simple_numbers {
  padding-top: 15px;
}

.rec-timer{
    font-size: 10px;
    min-width: 37px;
    position: absolute;
    top: -15px;
}
/* volume bar */
.volume-slider-wrapper {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-25%);
    width: 115px;
    height: 30px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 8px;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.fullscreen-active .volume-slider-wrapper {
    top: -30px !important;
}

.volume-slider {
    writing-mode: bt-lr;
    width: 95px;
    cursor: pointer;
    accent-color: #ff9900;
    height: 4px;
}
/* .audio_badge:hover + .volume-slider-wrapper,
.volume-slider-wrapper:hover {
    display: flex !important;
} */
.volume_bar_section:hover .volume-slider-wrapper {
    display: flex !important;
}

/* volume bar */





.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    transform: scale(0.6);
    margin-left: -4px;
    margin-right: -12px;
}

.volume-slider::-moz-range-thumb {
    transform: scale(0.6);
}

.volume-slider::-ms-thumb {
    transform: scale(0.6);
}
.volume-slider::-webkit-slider-runnable-track {
    margin-right: -12px;
}
.volume-slider::-moz-range-track {
    background: transparent;
    border: none;
    margin-right: -12px;
}
.volume-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: transparent;
  border-radius: 50%;
  position: relative;
}

.volume-slider::-moz-range-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 50%;
  transform: scale(0.6);   /* your scaling */
}


section.playback_section .volume-slider-wrapper {
    position: absolute;
    bottom: -30px;
    top: unset;
    transform: translateX(-85%);
}
.tooltip {
    z-index: 9999 !important;
}

/* desktop update css */
#force-update-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.65);
    z-index:99998;
}
#electron-update-banner{
    display:none;
    position:fixed;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    background:#1B1B1B;
    color:#fff;
    padding:18px 22px;
    border-radius:12px;
    z-index:99999;
    min-width:320px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}
#update-version{
    font-size:13px;
    opacity:.85;
    margin-top:6px;
}
#update-btn-section{
    margin-top:12px; 
    display:flex; 
    gap:10px; 
    justify-content:center;
}
#update-btn{
    border-color: #F69814;
    background-color: #F69814;
    min-width: 160px;
    display: block;
    color: #fff;
    padding: 8px;
    min-width: 115px;
}
#update-btn:hover {
    border-color: #F69814;
    background-color: #21180B;
    color: #F69814;
}
#cancel-update-btn{
    display:none;
    border: 1px solid #F69814;
    background-color: #21180B;
    color: #F69814;
    min-width: 115px;
    cursor:pointer;
}
#cancel-update-btn:hover {
    background: transparent !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}
/* desktop update css */

/** live preview in playback */
.live_cam_box {
    position: absolute;
    width: 240px;
    height: 135px;
    background: #000;
    z-index: 30;
    border-radius: 10px;
    overflow: hidden;
    cursor: grab;
    touch-action: none; 
}

.live_cam_box.default_position {
    bottom: 12px !important;
    left: 12px !important;
}

.live_cam_box.maximized {
    width: 100%;
    height: 100%;
    inset: 0;
    border-radius: 0;
    transform: scale(1);
    position: relative;
    cursor: default;
}

.live_cam_box video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.live-maximize-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 40;
    background: rgba(0,0,0,.6);
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
}

.live-controls {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 10px;
    z-index: 40;
}

.live-btn {
    background: rgba(0,0,0,.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
.video-live-focus#videoContainerBox {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 240px;
    height: 135px;
    background: #000;
    z-index: 40;
    border-radius: 10px;
    overflow: hidden;
    cursor: grab;
}

.live_cam_box.dragging, .dragging#videoContainerBox {
    cursor: grabbing;
}
.playbackRecBtnSection{
    position: absolute;
    top: 8px;
    right: 45px;
}
.playbackLiveStreamRecBtn{
    z-index: 40;
    background: rgba(0,0,0,.6);
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
}
.playbackRecBtnSection .rec-timer{
    text-align: center;
    position: relative;
    top: unset;
}
.video-live-focus#videoContainerBox, .live_cam_box{
    border: 1px solid #FFFFFF33;
}
.liveSMainBtn{
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 5px;
    flex-direction: row;
    padding: 4px;
}
.maximized #liveRecordInternalBtn{
    width: 40px;
    height: 40px;
}
.maximized .playbackRecBtnSection{
    position: absolute;
    top: unset;
    bottom: 13px !important;
    right: 155px !important;
}
.maximized .playbackRecBtnSection .rec-timer {
    position: absolute;
    top: -15px;
}
/** live preview in playback */
/* archive css */
#archive_page span.select2-selection.select2-selection--single{
    background: #131313;
    border-color: #484848;
    color: #fff;
    border-radius: 5px !important;
    height: 38px;
    display: flex;
    align-items: center;
}
#archive_page .select2.select2-container.select2-container--default{
    width: 100% !important;
}
#archive_page input#filterDate{
    background: #131313;
    border-color: #484848;
    color: #fff;
}
#archive_page #clearFilters{
    border-color: #F69814;
    background-color: #21180b;
    min-width: 160px;
    margin: 0 auto;
    display: block;
    color: #fff;
    padding: 8px;
    font-size: 14px;
}
#archive_page #clearFilters:hover {
    border-color: #F69814;
    background-color: #F69814;
}
::-webkit-calendar-picker-indicator {
    filter: invert(1);
} 
/* archive css */
#desktop_download_list{
    color: #fff;
}
#desktop_download_list .download_complete{
    background-color: #F69814;
}
#desktop_download_list .download_progress{
    background-color: #F69814;
}
#downloadIcon {
    filter: invert(1);
}
#downloadIcon.downloading svg {
    animation: pulse 1.2s infinite !important;
}
@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}
