
    /* CSS STYLES */
    /* SPOTBOT ACCOUNT STYLES*/
    /* TEXT STYLES */
    /* NAVBAR */
    /* DROPDOWNS (SNOOZE)*/
    /* BUTTONS */
    /* POPUP MESSAGE STYLE */
    /* SPINNERS */
    /* MESSAGES */
    /* SPOTBOTS */
    /* ONOFF */
    /* TOGGLE SWITCHES */
    /* QR MODAL */
    /* RECORDER FEATURE */

    p {
        margin: 0;
        
    }

    body, html {
        margin: 0;
        padding: 0;
        height: 100%;
        width: 100%;

        
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;

        }

    #messagesContainer {
    position: relative;
    z-index: 1;
    }


    /* Do not allow to click the button when the selection mode is activated  */
    #messagesContainer .selection-mode > .message-row button {
        
        pointer-events: none;
        
    }

    .logo-bg {

        background: url('assets/img/fixed/SpotBot-Logo-fav.jpg') center center fixed no-repeat;

    }

    .content {
        padding-top: env(safe-area-inset-top); /* Avoid content going behind the status bar */
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        padding-bottom: env(safe-area-inset-bottom);
        }



    input[type="text"] {
        border-radius: 5px !important;
        padding: auto !important; 
        width: 75%;
        border: 1px solid #ccc;
    }

    /* when selected make the border black */
    input[type="text"]:focus {
        border: 1px solid black;
    }

    .cellNumberInput {
        border-radius: 5px !important;
        margin-bottom: 10px;
    }

    #addSpotbotPopup {
        display: none;
    }

    #errorMessage {
        display: none;
    }

    #OFF_popup {
        display: none;
    }

    #ON_popup {
        display: none;
    }

    #AR_help_popup {
        display: none;
    }

    #chromePopup {
        z-index: 100000000000 !important;
    }

    #installPopup {
        z-index: 100000000000 !important;
    }

    #deleteAccountPopup {
        display: none;
        z-index: 100000000000000000000000000000000 !important;
    }

    #notificationIcon1 {
        display: none;
    }

    .overflow-y {
        overflow-y: auto;
        max-height: 50vh;
    }

    #notification_activate_div {
        position: fixed;
        display: flex;
        bottom: 0px;
        width: 100%;
        background-color: white;
        align-items: center;
        justify-content: left;
        height: 85px;
        /* border-radius: 10px; */
        /* border: 1px solid #0bb6d1; */
        /* add box shadow above */
        box-shadow: 0px -5px 10px rgba(0.1, 0, 0, 0.1);


        /* box-shadow: 5px 5px 10px rgba(0.1, 0, 0, 0.1); Shadow below navbar */
    }

    #notification_activate_div button {
        /* background-color: #0bb7d148;
        color: #0bb6d1; */
        width: 78%;
        margin-left: 10px;
    }

    .debug-step {
            position: fixed;
            top: 10px;
            right: 10px;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            z-index: 10000;
            font-size: 16px;
            max-height: 90vh; /* Adjust the height as needed */
            overflow-y: auto; /* Enables vertical scrolling */
        }

    /* SPOTBOT ACCOUNT STYLES ======================================================= */

    /* Ensure the section is styled properly */
    .section {
        padding: 20px;
        background-color: #d6d6d65e;
        border-radius: 10px;
        margin-bottom: 20px;
        text-align: center; /* Center the text and its contents horizontally */
    }

    /* Tab Container */
    .tab-checkbox-container {
        display: flex;
        justify-content: center;
        background-color: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        width: 80%;
        max-width: 400px; /* Prevent it from growing too large */
        margin: 0 auto; /* Center the container horizontally */
        padding: 5px;
    }

    /* Hide the actual radio buttons */
    .tab-checkbox {
        display: none;
    }

    /* Style the labels to look like tabs */
    .tab-label {
        flex: 1;
        padding: 15px 0;
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        background-color: white;
        color: black;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s;
        border-radius: 8px;
        margin: 0;
    }

    /* Change background and text color when checked */
    .tab-checkbox:checked + .tab-label {
        background-color: #0bb6d1; /* Blue */
        color: white;
    }


    
    .account-circle {
        /* background-color: #0bb6d1;
        color: white;
        font-size: 30px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        margin-right: 10px; */
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid #0bb6d1;
        border-radius: 50%;
        background-color: #0bb6d1;
        color: #fff;
        font-size: 24px;
        height: 45px;
        width: 45px;
        text-align: center;
    }


    /* Full-Screen Popup Styling */
    .fullscreen-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.606);
        z-index: 10000000000000000000000000000000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow-y: auto;
        backdrop-filter: blur(10px);
    }

    /* Hidden Popup */
    .hidden {
    display: none;
    }

    /* Popup Header Styling */
    .fullscreen-popup-header {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .fullscreen-popup-title {
        flex-grow: 1;
        text-align: center;
        font-size: 15px;
        margin: 0;
        font-weight: bold;
    }

    /* Back Button Styling */
    .fullscreen-back-button {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        margin-right: auto;
    }

    /* Popup Content */
    .fullscreen-popup-content {
        padding:1rem;
        text-align: center;
        min-width: 23rem;
    }

    /* media query for .fullscreen-popup-content */
    @media (max-width: 600px) {
        .fullscreen-popup-content {
            width: 100%;
        }
    }

    /* TEXT STYLES ======================================================= */
        
    .margin-right {
        margin-right: 5px;
    }

    .margin-left {
        margin-left: 5px;
    }   

    .font-red {
        color: red;
    }

    .nested-left {
        text-align: left;
    }

    .error-msg {
        color: #9c9c9c;
        font-size: 12px;
        font-weight: bold;
    }

    /* NAVBAR ================================================================*/
    /* BOTTOM NAV */

    #apply_buttons >div >button {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.275);
    }





    #bottom_nav {
        display: none;
        
        /* z-index: 9998; */
        height: 85px; /* Adjust the height as needed  ---  Footer het ge-spring */
        justify-content: space-around;
        align-items: center;
        
    }
    #Message_options_menu {
        display: none;
        justify-content: space-around;
        /* z-index: 9998; */
        height: 85px; /* Adjust the height as needed  ---  Footer het ge-spring */
    }
    
    .navbar.fixed-bottom {
        background-color: white !important;
        padding-top: 15px;
        padding-bottom: 15px;
        border-top: 0.5px solid #e5e5e5;
        /* box-shadow: none !important; */  /* PAUL */
        z-index: 9999;
    }

    .navbar-icon {
        /* color: #a5a5a5; */
        
        color: var(--bottom-nav-icons-color);
        font-size: 18px;
        margin: 0 10px;
        transition: color 0.3s;
    }

    .navbar-icon.nav-button{
        border: 0.5px solid #0bb6d1;
        height: 55px;
        width: 55px;
        border-radius: 10px;
        background-color:  #f0f0f088;
    }

    .navbar-icon:hover {
        color: black;
    }

    .bottom_nav_text {
        display: block;
        font-size: 0.7rem;
        text-align: center;
        margin-top: 2px;
        text-decoration: none !important;
        font-weight: bold;
    }


    .active-icon {
        color: black;
        /* color: #a5a5a5; */
        font-size: 24px;
        margin: 0 10px;
        transition: color 0.3s;
    }

    .highlighted-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        /* background-color: #f0f0f088; */
        background-color: #0bb7d148;
        /* color: #8fdeea ; */
        /* color: #0bb6d1; */
        color: black;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;
        border-radius: 20px;
    }

    .grey-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        /* background-color: #f0f0f088; */
        background-color: #cccccc93;
        /* color: #8fdeea ; */
        /* color: #0bb6d1; */
        color: black;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;
        border-radius: 20px;
    }


    .border-left {
        padding-left: 30px; 
        border-left: 0.5px solid #a5a5a5;
    }

    /* SPOTBOT_LIST */
    #SPOTBOT_list_nav {
        z-index: 1060;
    }

    .search-icon {
        display: flex;
        text-decoration: none;
        color: black;
        font-size: 20px;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    #search-input {
        display: none;
        width: 90%;
        justify-content: center;
        align-items: center;
    }

    .form-control {
        border-radius: 50px !important;
        box-shadow: none !important;
    }

    .account-button {
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid #0bb6d1;
        border-radius: 50%;
        background-color: #0bb6d1;
        color: #fff;
        font-size: 24px;
        height: 35px;
        width: 35px;
        text-align: center;
        cursor: pointer;
        transition: background-color 0.3s ease;
        position: absolute;
        left: 10px;
        top: 20px;
    }


    /* TOP NAV */


    .navbar {
        /* background-color: white !important; Background color */
        background: linear-gradient(180deg,#ffffff 50%,#ffffffc6 100%) !important ; /* Gradient background */
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1); /* Shadow below navbar */
        /* z-index: 9998; */

        backdrop-filter: blur(5px);
    }

    .navbar-toggler, .btn-close {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
  
    .navbar-toggler {
        border: none; /* Remove border around the icon */
        color: black !important; /* Icon color */
    }
  
    .navbar-toggler:hover {
        border: none !important;/* Remove border on hover */
        color: #0bb7d185 !important;
    }
    
  
    /* Custom styling for navbar links */
    .navbar-nav .nav-link {
        /* color: #525252; Text color */
        color: black;
        /* text-transform: uppercase; Convert text to uppercase */
        padding: 10px 15px; /* Padding around the links */
        /* margin: 0 10px; Margin between links */
        border-radius: 5px; /* Rounded corners */
        transition: background-color 0.3s, color 0.3s; /* Smooth transition effects */
        text-decoration: none !important; /* Remove underline */
    }
  
    /* Hover effect for navbar links */
    .navbar-nav .nav-link:hover {
        background-color: #dddddd7c; /* Background color on hover */
        color: #333; /* Text color on hover */
    }
  
    /* Active link styling */
    .navbar-nav .active-link .nav-link {
        background-color: #0bb7d194; /* Background color for active link */
        color: white; /* Text color for active link */
        font-weight: bold; /* Bold text for active link */
    }

    .home {
        background-color: #0bb7d123 !important;
        color: #0bb6d1  !important;
        /* padding: 10px 10px !important; */
        border-radius: 50px !important;
        transition: background-color 0.3s, color 0.3s;
        text-decoration: none !important;
    }
  

    .logout-spn {
        color:#0bb6d1;
        font-size:10px;
        font-weight:800;
        margin-left: 8px; 
    } 

    .logout-spn a {
        color:#0bb6d1;
        text-decoration:none;
    }

    .icon-button {
        color: #020202;
        background: none;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
    }
    
    .icon-button:hover {
        background: none;
    }

    .offcanvas-sbname {
        margin-bottom: 0.8rem;
    }

    /* .offcanvas {
        width: 80% !important;
    } */
    

    /* DROPDOWNS (SNOOZE) ================================================================*/


    .navbar-toggler:focus{
        outline: none !important;
        box-shadow: none !important;
    }


    .dropdown-bottom {
        bottom: 0px;
        position: fixed;
        border: 1px solid rgb(204, 204, 204);
        border-radius: 1rem 1rem 0 0;
        padding: 1.3rem;
        z-index: 10000;
        width: 100%;
        align-items: center;
        text-align: center;
        backdrop-filter: blur(5px);
        background: var(--lin-bg);
    }

    .dropdown-bottom > div {
        /* padding: 0.6rem 0; */
        margin: 0.6rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
        text-align: center;
        font-weight: bold;
        background-color: #f0f0f088;
        border: 1px solid #ccc;
        border-radius: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }



    .dropdown-title {
        white-space: nowrap;
        overflow: hidden;
        
        text-align: center;
        
        margin-bottom: 1.1rem;
        max-width: 100%;
        padding-bottom:2rem;
        display:block;
        transform: translate(0px, 2rem);

    }

    .dropdown-title>span{
        text-overflow: ellipsis;
        max-width: 100%;
        /* transform:translateY(2rem); */
       
    }

    #dropdown-bottom-over {
        z-index: 10000;
    }


    .snooze_info_leftHand{
        display: grid;
        grid-template-columns: 1fr;
        gap:0.3rem;

        
    }


    /* snooze dropdown */
    .snoozed_until {
        /* line-height: 0.5; */
        background-color: #000000a8 !important;
        color: white;
        /* font-size: 13px;
        border-radius: 20px;
        padding-top: 2px;
        padding-bottom: 2px;
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
        vertical-align: middle; */
        
    }

    .snoozed_until > ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        /* display: flex; */
        justify-content: center;
        align-items: center;
        text-align: left;
    }
    .snoozed_until > ul >li {
        padding: 0.1rem 0.7rem;
        display: grid;
        grid-template-columns: auto auto 1fr;
        
        align-items: center;
    }
    .snoozed-list p {
        padding: 0.2rem;
        font-size: smaller;
    }
    

    .selection-mode .snoozed_2nd {
        display: none !important;
    }

    .snoozed_2nd {
        
        position:fixed;
        bottom: 85px;
        /* margin-top: 0.4rem; */
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.66); /* Equivalent to #000000a8 */
        color: white;
        /* padding: 0 0; */
        text-align: center;
        font-size: 0.8rem;
        z-index: 10000;
        backdrop-filter: blur(20px);
        white-space: nowrap;
        justify-content: center;
        align-self: center;
        
    }
    .snoozed_2nd > div {
        padding: 0rem 0rem;     
    }

    .ticker {
    display: inline-block;
    padding-left: 100%;
    will-change: transform;
    }
    .ticker.animate_ticker {
      animation: ticker-bounce 10s ease-in-out infinite alternate;
    }

    @keyframes ticker-bounce {
    0% {
        transform: translateX(30%);
    }
    100% {
        transform: translateX(calc(-30%)); /* adjust for wrapper width */
    }
    }


    /* BUTTONS ================================================================*/
    .corner-button {
        position: fixed;
        bottom: 100px;
        right: 15px;
        display: grid;
        border: 2px solid #0bb6d1;
        border-radius: 0.8rem;
        background-color: #0bb6d1;
        color: #fff;
        width: 55px;
        height: 55px;
        font-size: 24px;
        text-align: center;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
        /* z-index: 9997; */
    }


    #addSpotbotButton{
        backdrop-filter: blur(5px);
    }



    .button-container-fit {
        display: flex;
        justify-content: space-between;
        gap: 5px;
        }

    .round-button {
        display: inline-block;
        width: 100%;
        border-radius: 30px; /* Make it round */
        color: #fff; /* White color for the text */
        font-size: 15px;
        padding: 5px 10px;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .redround-button {
       border: 1px solid #ff2e2e; 
       background-color: #ff4949d8;
       color: black

    }

    .greenround-button {
        border: 1px solid #0bd136;
        background-color: #0bd1368e;
        color: black;
    }

    .disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .grey_button {
        background-color: #ccc !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .reload-button {
        background-color: #0bb7d123 !important;
        display: grid;
        /* padding: 10px 10px !important; */
        color: #0bb6d1  !important;
        border-radius: 50% !important;
        height: 37px;
        width: 37px;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        /* border: 0.5px solid black; */
        transition: background-color 0.3s, color 0.3s;
        /* font-size: 16px; */
        /* margin-left: -65px; */
        /* text-decoration: none !important; */
    }

    .no-hover:hover {
        background-color: #0bb6d1;
        color: white;
        /* Reset any other styles you've applied on hover */
        }

    .update-button {
        background-color: #0bb7d123 !important;
        color: #0bb6d1  !important;
        border-radius: 5px !important;
        transition: background-color 0.3s, color 0.3s;
        text-decoration: none !important;
        border: none;
    }

    /* POPUP MESSAGE STYLE =========================================================== */

    .popup {
        position: fixed;
        font-size: 12px;
        bottom: 138px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #000000ad;
        color: white;
        padding: 10px 20px;
        border-radius: 0.5rem;
        box-shadow: 0 0px 4px rgba(0, 0, 0, 0.2);
        z-index: 10000;
        font-weight: bold;
        white-space: nowrap;
        backdrop-filter: blur(5px);
    }



    .popupMessage {
        position: fixed;
        font-size: 12px;
        bottom: 138px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #000000ad;
        color: white;
        padding: 10px 20px;
        border-radius: 0.5rem;
        box-shadow: 0 0px 4px rgba(0, 0, 0, 0.2);
        z-index: 10000;
        font-weight: bold;
        white-space: nowrap;
        backdrop-filter: blur(5px);
    }


    /* SPINNERS ================================================================*/
    .spinner {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999;
    }

    .spin {
        border: 8px solid #f3f3f3;
        border-top: 8px solid #3498db;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: spin 2s linear infinite;
    }

    .loading-spinner {
        border: 2px solid #f3f3f3;
        border-top: 2px solid #8fdeea;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        animation: spin 2s linear infinite;
        display: inline-block;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }


    /* MESSAGES ================================================================*/

    :root {

        



        --time-color: #2f2f2f80;
        --time-border-color: #cccccc5b; 
        --bottom-nav-icons-color : rgb(33, 33, 33);

        --primary-color: #0bb6d1;
        --lin-bg:linear-gradient(0deg, rgb(255, 255, 255) 20%, rgba(240, 240, 240, 0.9));

        --bs-primary:  #0bb6d1 !important;
        --bs-primary-rgb: 11, 182, 209 !important;

        --bs-blue: #0bb6d1 !important;
    }   


    .btn-outline-primary {
        color: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
    }


    .btn-primary{
        background-color: var(--primary-color) !important;
        color: white !important;
        border-color: var(--primary-color) !important;
    }
 
    .bg-primary {
        background-color: var(--primary-color) !important;
    }




    .no-messages {
        text-align: center;
        margin-top: 85px;
        font-weight: bold;
    }
    
    .message-date {
        display: none;
    }

    .top-message-date {
        position: fixed;
        top: 85px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #606060a5;
        color: white;
        padding:0.5rem 1rem;
        font-size: 0.8rem;
        font-weight: bold;
        border-radius: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.155);
        z-index: 9;

        /* add a blur to the background */
        backdrop-filter: blur(5px);



    }

    .scroll-down-button {
        display: none;
        position: fixed;
        /* bottom: 165px; */
        bottom: 7.65rem;
        right: 1rem;
        background-color: #606060a5;
        color: white;
        border: 1px solid #ccccccda;
        border-radius: 50% ;
        width: 35px !important;
        height: 35px !important;
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 9997;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-shadow: 0 0px 10px  #00000028;

        backdrop-filter: blur(5px);
    }

    .spotbotName {
        font-weight: bold;
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding:0.2rem;
        
    }

    .spotbotName-header {
        display: flex;
        max-width: 60%;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .spotbotName-header img {
        margin-right: 5px;
    }
    #messagesContainer {
    position: absolute;
    bottom: 85px;
    overflow-y: auto;
    /* padding-left: 0.1rem; */
    /* padding-right: 0.01rem; */
    display: grid;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

#speaker_link > i {
    width: 100%;
}

.message-row {
    display: grid;
    /* Always have both columns but with initial 0 width for selector */
    grid-template-columns: 0fr 1fr;
    gap: 0.1rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
    border-bottom: 1px solid var(--time-border-color);
    justify-content: center;
    /* Add transition for smooth grid changes */
    transition: grid-template-columns 0.2s ease;

    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;


}

.selection-mode .message-row {
    /* Expand selector column when in selection mode */
    grid-template-columns: auto 1fr;
}

.selector {
    display: flex;
    opacity: 0;
    pointer-events: none;
    width: 0;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    padding-left: 0;
    align-self: center;
    /* Add transitions for all properties */
    transition: 
        opacity 0.2s ease,
        transform 0.2s ease,
        width 0.2s ease,
        padding-left 0.2s ease;
}

.selection-mode .selector {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    width: auto;
    padding-left: 1rem;
}

/* Remove the disappearing class animation and use transitions instead */
.selector.disappearing {
    opacity: 0;
    transform: scale(0);
    width: 0;
    padding-left: 0;
    pointer-events: none;
}

/* Remove keyframes as we're using transitions instead */

.spacer {
    display: block;
    width: 0;
    height: 0;
    transition: width 0.2s ease;
}

.selection-mode .spacer {
    width: 0;
}

.selector > i {
    background-color: #99999994;
    border-radius: 50%;
    color: transparent; /* Hide the checkmark by default */
    font-size: 1.5rem;
    padding: 1px;
    cursor: pointer;
    /* Add transition for the icon itself */
    transition:  background-color 0.3s ease, color 0.3s ease;

}   

.msg-selected .selector > i {
    color: var(--primary-color);
    background-color: #fffffff3; 

    transform: rotate(0deg);
    /* Ensure transform is included in the transition */
    transition: background-color 0.3s ease, color 0.3s ease;
}


#icon_container {
    transform: scale(1) rotate(0deg);

    transition: transform 0.3s ease-in-out;
}

.selection-mode #icon_container {
    transform: scale(0) rotate(90deg);
    transition: transform 0.5s ease-in-out;
}





/* Optional: add a subtle scale effect when entering selection mode */
.selection-mode .selector > i {
    transform: scale(1);
}




    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .message {

        position: relative;
        max-width: 32rem;

        align-self: center;
        justify-self: center;
        width: 95%;
        
    }   

    .message>img {
        
        width: 100%;
        border-radius: 0.8rem;
    }

    .message-bubble {
    
        background-color: #f1f1f1;
        border-radius: 0.5rem;
        padding: 0.8rem 0.5rem;
        /* margin: 0.4rem 0.4rem; */
        overflow-wrap: break-word;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.051);
        border: 1px solid #6060603b;
    }



    .time-received {
    padding: 0.25rem;
    /* margin-right: 1rem; */
    font-size: 10px;
    color: var(--time-color);
    background-color: rgb(255, 255, 255);
    border-radius: 0.3rem;
    z-index: 999;
    }


    .message-time-container {
        display: flex;
        align-items: end;
        margin-right: 5px;
        transform: translate(0, 1.75rem);
        justify-content: end;
        height: 0px;
    }


    @media (max-width: 900px) {
        .message-bubble {
            max-width: 100%;
            min-width: 40px;
        }
        
    }

    .message-buttons-div {
        width: 100%;
        justify-content: center;
        justify-items: center;
    }

    .message-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        margin-top: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .message-buttons > button {
        flex: 1 1 100px;
        min-width: 35px;
        box-sizing: border-box;

        width: 100%;

        background-color: rgb(218, 218, 218);
        text-decoration: none !important;
        color: black;

        border-radius: 0.45rem;
        border: none;

        padding: 1rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }



    @media (min-width: 800px) {
        .message-buttons > button:hover {
            background-color: rgb(164, 164, 164);
        }
    }


    /* 

    .message-buttons button {
        flex-grow: 1;
        max-width: calc(50% - 2.5px);
        margin-right: 5px;
        border-radius: 10px;
        background-color: #f0f0f088;
        border: 1px solid #ccc;
        padding: 10px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    } */


    .hover-effect {
        background-color: #ccc!important;
        color: white;
    }


    /* SPOTBOTS ================================================================*/
    #spotbotsContainer {
        margin-top: 40px;
        padding-bottom: 95px;
        height: 100vh;
        overflow-y: auto;
        border-right: 1px solid #0bb6d1;
        /* background-color: #f0f0f088; */

        /* background: url("assets/img/fixed/SpotBot-Logo-fav-2.jpg") center center no-repeat; */
        background-size: contain; /* Adjust the size to fit within the container */
    }

    .dot-container {
        position: relative;
    }

    .dot {
        height: 20px;
        background-color: #0bb6d1;
        border-radius: 50px;
        padding: 5px 2px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .dot-text {
        color: white;
        font-size: 12px;
        font-weight: bold;
    }

    .unread-counter {
        position: fixed;
        bottom: 124px;
        right: 14px;
        height: 15px;
        background-color: #0bb6d1;
        border-radius: 50px;
        padding: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 10px;
        font-weight: bold;
        z-index: 1001;
    }

    .snoozed {
        
        background: linear-gradient(to right, var(--primary-color) -70%, #f0f0f000 50%);
        border: solid 1px #000000 !important;
    }


    .snoozed .snooze-button {
        background-color: rgb(86, 86, 86) !important;
        color: white !important;
        animation: growShrink 5s infinite;
        border: 1px solid #cacaca !important;
        /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
    }

    @keyframes growShrink {
        0%,20%,80%, 100% {
            font-size: 14px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        40% {
            font-size: 18px;
            box-shadow: 0 0px 12px rgba(0, 0, 0, 0.89);
        }
        60% {
            font-size: 18px;
            box-shadow: 0 0px 12px rgba(0, 0, 0, 0.89);
        }
    }



    @media (min-width: 1024px) {
        .selectedSPOTBOT .spotbot_styling {
            background-color: rgba(128, 128, 128, 0.174);
        }
    }
        
    /*

    .selectedSPOTBOT .snoozed {
        background: linear-gradient(to right, var(--primary-color) -70%, #3d3d3d1e 50%);
    }
    */





    /* #backButton {
        display: block;
        position: absolute;
        left: 10px;
        top: 20px;
        font-size: 20px;
        cursor: pointer;
    } */

    .snoozed-button {
        font-size: 15px;
        right: 15px;
        color: #000 !important;
        text-align: center;
        line-height: 0.5;
    }

    .snooze-text {
        display: block;
        font-size: 9px;
        font-weight: normal;
        line-height: 1;
    }

    .snooze-time {
        display: block;
        font-size: 12px;
        font-weight: bold;
        line-height: 0.5;
    }

    .spotbot_styling {
        margin: 0.1rem 0.1rem;
        border-radius: 1rem;
        padding:0.2rem;
        border: 1px solid rgb(66, 181, 208);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.336);
        backdrop-filter: blur(12px);
    }

    .outerTable {
        border: none;
    }

    .spotbot_styling img {
        width: 100%;
    }

    .snooze-button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        /* border: 0.5px solid #000000; */
        border: 1px solid #5c5c5c;
        /* border: none; */
        background-color: #f0f0f0; /* Adjust as needed */
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        text-decoration: none !important;
        /* color: black; */
        color:  #222222;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .button-wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        height: 100%;
    }


    .SB_title {
        vertical-align: top;
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .status-table {
        border-collapse: collapse;
        width: 100%;
    }

    .status-table td {
        padding: 1px;
        text-align: center;
        vertical-align: middle;
    }

    .status-table i {
        font-size: 16px;
    }

    .status-table img {
        vertical-align: middle;
    }

    .status-table-headings {
        border-right: 0.5px solid black;
    }

    /* ONOFF ==================================================================== */
    /* table:hover {
        cursor: pointer;
        background-color: rgba(255, 255, 255, 0) !important;
    } */

        /* Styles for the popup */
        #onoffPopup {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: calc(100% - 75px);
        background-color: rgba(0, 0, 0, 0.5);
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
        z-index: 10000;
        overflow-y: auto;
        backdrop-filter: blur(5px);
    }

    #snapPopup {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: calc(100% - 75px);
        background-color: rgba(0, 0, 0, 0.5);
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
        z-index: 10000;
        overflow-y: auto;
        border: none;
        backdrop-filter: blur(5px);
    }

    #statusPopup {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: calc(100% - 75px);
        background-color: rgba(0, 0, 0, 0.5);
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
        z-index: 10000;
        overflow-y: auto;
    }

    .onoffContent {
        padding: 20px;
        box-sizing: border-box;
        /* background-color: rgba(255, 255, 255, 0.951); */
        background: var(--lin-bg);

        position: fixed;
        bottom: 0;
        border-radius: 1rem 1rem 0 0;
        border:1px solid rgb(204, 204, 204);
        /* border-top: 1px solid black; */
        overflow-y: auto; 
        max-height: 88%;
        width: 100%;
    }

    .close {
        display: flex;
        position: absolute;
        top: 8px;
        right: 0;
        background: none;
        border: none;
        cursor: pointer;
        align-items: center;
        justify-content: center; /* Changed from justify-self */
        text-align: center;
    }

    .dropdown-bottom > span:first-of-type {
        display: block;
        font-weight: bold;
        text-align: center;
        /* margin-bottom: 10px; */
        transform: translate(12px,  -14px);
    }





    .close > i {
        display: flex; /* Changed from inline-block */
        align-items: center;
        justify-content: center;
        border: 1px solid #5c5c5c;
        border-radius: 50%;
        padding: 0.4rem;
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        line-height: 1; /* Added to help with vertical centering */
        box-shadow: #000 0px 0px 2px;
        color: #5c5c5c !important;
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }

    .close:hover > i {
        transform: rotate(90deg);
        /* color: #0bb6d1 !important; */
    }

    .tab-container {
        display: flex;
        margin-bottom:0.6rem ;
    }

    .tab {
        flex: 1;
        padding: 5px;
        font-size: 14px;
        text-align: center;
        cursor: pointer;
        border-bottom: 2px solid transparent;
    }

    .tab.active {
        border-bottom: 2px solid #0bb6d1;
        font-weight: bold;
    }

    .content {
        display: none;
    }

    .content.active {
        display: block;
    }

    .cameras.fa-video-slash {
        font-size: 0.5rem;
    }
    .cameras {
        
        border-radius: 0.75rem;
        
        
        border: 1px solid #ccc;
        border-radius: 1rem;

        background-color: #f0f0f088;

    
        /* padding: 0.5rem 0.7rem 0.5rem 0.7rem; */
        justify-content: center;
        width: 100%;
        


        display: grid;
        grid-template-columns: 1fr auto auto;
        justify-content: center;
        align-items: center;


    }

    .cameras > div {
        
        text-align: left;
        margin: 0 !important;
        
        
    }


    .cameras > div > div > span {
        font-weight: bold;
        font-size: 1.5rem;
    }

    .snap_cameras_container{
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.4rem;

    }

    .camera-snap-menu-btn{
        
        border: none;
        
    }
    
    .snap-btn-group{
        padding: 0 !important;
        margin: 0 !important;
        display: flex;
        border-radius: 1rem !important;
    }

.snap-btn-group .btn:first-child {
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-right: 1px solid #ffffff !important;
}

.snap-btn-group .btn:last-child {
    border-left: 1px solid #ffffff !important;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    margin-right: -1px !important;
    }

    .snap-btn-group .btn{
        margin-top: -1px !important;
        margin-bottom: -1px !important;
    }
    


    .hov-zoom{
        transition: transform 0.3s ease;
    }
    .hov-zoom:hover {
        transform: scale(1.1);
    }
    


    #snap_cameras td.nested-left{
        padding :0 !important;
    }


    /* TOGGLE SWITCHES ================================================================ */
    .toggle-switch {
        position: relative;
        display: inline-block;
        width: 40px;
        

        margin-top: 0.4rem;
    }

    
    
    .toggle-switch input {
        display: none;
    }
    
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: .4s;
        border-radius: 20px;
    }

    .slider.green-red {
        background-color: #ff0000;
    }
    
    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }
    
    input:checked + .slider {
        background-color: #0bb6d1;
    }

    input:checked + .slider.green-red {
        background-color: #0bd136;
    }
    
    input:checked + .slider:before {
        transform: translateX(20px);
    }

    .options {
        display: none;
        position: absolute;
        right: 0;
        background-color: white;
        border: 1px solid #d6d6d6;
        border-radius: 10px;
        padding: 10px;
        padding-top: 40px;
        margin-top: 0.3rem;
        z-index: 1000;
    }

    .options a {
        display: block;
        padding: 5px 10px;
        font-size: 18px;
        text-decoration: none;
        color: black;
    }


    .options a.bold-red {
        font-weight: bold;
        color: red;
    }
    #refresh-indicator {
        display: none;
    }

    /* POPUP */
    .popupOver {
        z-index: 10000 !important;
    }


    /* QR MODAL ================================================================ */
        /* Modal overlay */
    .qr-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
        z-index: 20000;
    }
    .qr-modal-content {
        position: relative;
        background: #fff;
        padding: 20px;
        width: 90%;
        max-width: 400px;
        text-align: center;
        border-radius: 10px;
    }
    .close-qr-scanner {
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        font-size: 18px;
        cursor: pointer;
    }


    /* RECORDER FEATURE ================================================================ */
    .icon {
        font-size: 20px;
        display: grid;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        height: 40px;
        width: 40px;
        border: none;
        border-radius: 50%;
        color: white;

        transition: background-color 0.3s ease;

        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.384); /* Added shadow */
        
    }



    .bi{
        font-weight: 900;
    }

    


    .checkmark-icon {
        background-color: #0bb6d1;
        display: none;

    }

    .recordDiv {
        
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0.5rem;
        /* background-color: red; */
        margin-bottom: 1rem;
        position: fixed;
        bottom: 6.2rem;


    }

    .recordBarWrapper {
        z-index: 9996;
        display: flex;

    }

    .recording-bar {
        width: auto;
        height: 50px;
        background-color: rgba(223, 223, 223, 0.683);
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap : 3rem;
        padding : 0 1rem;
        border-radius: 5rem;
        opacity: 0;
        transition: opacity 0.3s ease;
        border: var(--primary-color) 1px solid;
        box-shadow: 0 0px 8px rgba(0, 0, 0, 0.194);
        backdrop-filter: blur(5px); /* Add blur effect to the background */
        /* transform :translate(-3rem, 0); */
        z-index: 9994;
    }


    

    .recording-bar.active {
        opacity: 1;
    }

    .trash-icon {
        font-size: 18px;
        color: rgba(0, 0, 0, 0.6);
        cursor: pointer;
    }

    .record-time {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        color: black;
        padding: 1rem;
    }

    .red-circle {
        font-size: 12px;
        color: red;
        animation: fadeInOut 1s infinite;
    }

    @keyframes fadeInOut {
        0%, 100% {
            opacity: 1;
        }
        50% {
            opacity: 0;
        }
    }

    #audioPlayback {
        margin-top: 20px;
        display: none;
    }




    @keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    }

    .spinning {
    animation: spin 2.5s linear infinite;
    }



/* END */     




        .shdow{
            box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.058) !important;
            
        }

        .bg-gray{
            background-color: #d9d9d932;
        }

        .br-50{
            border-radius: 50%;
        }

        .br-9p{
            border-radius: 9px;
        }

        

        #Message_options_menu>a {

            color: var(--bottom-nav-icons-color);
        }

        #Message_options_menu{
            display: flex;
            justify-content: space-around;
            align-items: center;
            gap: 10px;
            padding: 10px;
        }

        .navbar-icon{
            text-align: center;
            text-decoration: none;
            min-width: 70px;
            box-sizing: border-box;

           
        }




        .fs_modal .close-p {
        background: none;
        border: none;
        cursor: pointer;
        display: flex; /* Change to flex for proper centering */
        align-items: center;
        justify-content: center;
        padding: 0; /* Ensure no extra space inside the button */
        }

        .fs_modal .close-p i {
        padding:1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #5c5c5c;
        border-radius: 50%;
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        line-height: 1;
        box-shadow: #000 0px 0px 2px;
        color: #5c5c5c !important;
        transform: rotateZ(0deg);
        transition: transform 0.3s ease;
        }
        .fs_modal .close-p:hover i {
        transform: rotateZ(90deg);
        }

        .fs_modal .modal-header {
            border-bottom: 1px solid var(--bs-primary);
            padding: 0.8rem 1.25rem;
        }

        .offcanvas-header{
            border-bottom: 1px solid var(--bs-primary);

        }

        .fs_modal .modal-body {
            padding: 0;
        }

        .offcanvas-header .close-p {
        background: none;
        border: none;
        cursor: pointer;
        display: flex; /* Change to flex for proper centering */
        align-items: center;
        justify-content: center;
        padding: 0; /* Ensure no extra space inside the button */
        }

        .offcanvas-header  .close-p i {
        padding:1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #5c5c5c;
        border-radius: 50%;
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        line-height: 1;
        box-shadow: #000 0px 0px 2px;
        color: #5c5c5c ;
        transform: rotateZ(0deg);
        transition: transform 0.3s ease;
        }
        .offcanvas-header  .close-p:hover i {
        transform: rotateZ(90deg);
        }

        .offcanvas-body .bi {
            font-weight: 600;
            font-size: 1.2rem;
        }


        .w-2r {
            width: 2rem;
        }
        
        .multicam-page-control{

            width: 40px;
            height: 40px;
            border-radius: 50%;
            padding:0.3rem;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0.1rem;
            border: 1px solid var(--bs-primary);
            font-size: 1rem;
            color: var(--bs-primary);

            box-shadow: #4f4f4fab 0px 0px 3px;
            background-color: #fcfcfc;
        }

        /* WEBRTC COMPONENT STYLES */
        .webrtc-video-wrapper {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #000;
        }
        
        .webrtc-floating-controls {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 5px;
            z-index: 1000;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px;
            border-radius: 25px;
            backdrop-filter: blur(10px);
            min-width: 30%;
            justify-content: space-evenly;
        }
        
        .webrtc-camera-btn {
            transform: scale(1.3);
            margin: 0 7px;  
        }

        .webrtc-top-controls {
            position: absolute;
            top: 20px;
            left: 20px;
            right: 20px;
            z-index: 1001;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .webrtc-close-btn {
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            border: none;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #333333;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .webrtc-close-btn:hover {
            background-color: rgba(255, 255, 255, 1);
            box-shadow: 0 3px 6px rgba(0,0,0,0.3);
            transform: rotate(90deg);
        }
        
        .webrtc-close-btn i {
            color: #333333;
            font-size: 18px;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* Persistent close button for WebRTC modal - transparent background */
        .webrtc-persistent-close .webrtc-close-btn {
            background-color: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }
        
        .webrtc-persistent-close .webrtc-close-btn:hover {
            background-color: rgba(255, 255, 255, 0.4);
        }
        
        .webrtc-persistent-close .webrtc-close-btn i {
            color: #ffffff;
        }
        
        .webrtc-video-container {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #000000;
            overflow: hidden;
        }
        
        .webrtc-video {
            width: 100%;
            height: 100%;
            object-fit: contain;
            background-color: #000000;
            cursor: pointer;
        }
        
        .webrtc-spinner {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        .webrtc-status {
            position: absolute;
            bottom: 80px;
            left: 20px;
            background-color: rgba(0,0,0,0.7);
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            font-size: 14px;
        }
        
        .webrtc-debug-info {
            display: none;
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: rgba(0,0,0,0.7);
            color: white;
            padding: 10px;
            border-radius: 5px;
            font-size: 12px;
            max-height: 50vh;
            overflow-y: auto;
        }
        
        .webrtc-logo {
            display: flex;
            align-items: center;
        }
        
        .webrtc-logo img {
            height: 45px;
            backdrop-filter: blur(5px);
            padding: 5px;
            border-radius: 10px;
        }
        
        .webrtc-reload-button {
            width: auto;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            
        }
        
        .webrtc-center-reload-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 20px 30px;
            font-size: 16px;
            cursor: pointer;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            border: 2px solid #0bb6d1;
            border-radius: 10px;
            display: none;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            z-index: 100;
            width: auto;
        }
        
        .webrtc-reload-button i {
            padding-left: 0.25rem;
            padding-right: 0.25rem;
        }
        
        .webrtc-fullscreen-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            padding: 0.3rem;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0.1rem;
            border: 1px solid var(--bs-primary);
            font-size: 1rem;
            color: var(--bs-primary);
            box-shadow: #4f4f4fab 0px 0px 3px;
            background-color: #fcfcfc;
        }

        /* WEBRTC COMPONENT INLINE STYLES - MOVED FROM JS */
        .webrtc-play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
            background: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
        }

        .webrtc-unmute-button {
            position: absolute;
            bottom: 60px;
            right: 20px;
            padding: 10px 20px;
            font-size: 14px;
            cursor: pointer;
            background: rgba(0,0,0,0.7);
            color: white;
            border: 1px solid white;
            border-radius: 5px;
        }

        .webrtc-reload-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 20px 30px;
            font-size: 16px;
            cursor: pointer;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            border: 2px solid #0bb6d1;
            border-radius: 10px;
            display: none;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            z-index: 100;
        }

        .webrtc-reload-btn:hover {
            background: rgba(0, 0, 0, 0.9);
            transform: translate(-50%, -50%) scale(1.05);
        }

        .webrtc-error-close-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 20px;
            background: rgba(255, 255, 255, 0.95);
            color: #dc3545;
            border: 2px solid #dc3545;
            border-radius: 10px;
            cursor: pointer;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        .webrtc-error-close-button:hover {
            background: rgba(255, 255, 255, 1);
            transform: translate(-50%, -50%) scale(1.05);
        }
        
        .webrtc-layout-loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 20px;
            border-radius: 10px;
            display: none;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            z-index: 1000;
            backdrop-filter: blur(5px);
        }
        
        .webrtc-layout-spinner .spin {
            border: 3px solid #f3f3f3;
            border-top: 3px solid #0bb6d1;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            animation: spin 1s linear infinite;
        }
        
        .webrtc-layout-status {
            font-size: 14px;
            font-weight: 500;
            text-align: center;
        }

        /* IMAGE VIEWER STYLES - MOVED FROM JS */
        .image-viewer-container {
            background-color: #000000 !important;
            touch-action: none;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
        }

        .image-viewer-container.zoom-enabled {
            cursor: grab;
        }

        .image-viewer-container.panning {
            cursor: grabbing !important;
        }

        .image-viewer-container img.zoomed {
            cursor: grab;
        }

        .image-viewer-container.panning img {
            cursor: grabbing !important;
        }

        /* Image viewer button overrides to match WebRTC exactly */
        #image-viewer-controls .webrtc-fullscreen-btn {
            background-color: rgba(255, 255, 255, 0.2) !important;
            color: #ffffff !important;
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
        }

        

        #image-viewer-controls .webrtc-fullscreen-btn:active {
            background-color: #fcfcfc !important;
            color: var(--bs-primary) !important;
        }

        /* Control visibility and transitions */
        .webrtc-floating-controls {
            transition: opacity 0.3s ease;
            z-index: 1050 !important;
        }

        .webrtc-top-controls {
            transition: opacity 0.3s ease;
            z-index: 1051 !important;
        }

        /* Auto-hide controls */
        .image-viewer-container.controls-hidden .webrtc-floating-controls,
        .image-viewer-container.controls-hidden .webrtc-top-controls {
            opacity: 0;
            pointer-events: none;
        }

        .image-viewer-container.controls-hidden #zoom-indicator {
            opacity: 0.7;
        }

        /* Image viewer modal background */
        .image-viewer-modal .modal-content {
            background-color: #000000 !important;
            border: none;
        }

        /* Camera button success animation */
        @keyframes pulse {
            0% {
                transform: scale(1.2);
                opacity: 1;
            }
            50% {
                transform: scale(1.4);
                opacity: 0.8;
            }
            100% {
                transform: scale(1.2);
                opacity: 1;
            }
        }




.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}


.form-check-input:focus {
    border-color: #86e6fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 221, 253, 0.25);
}

/* React Popup Modal Styles */
.feature-showcase {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.feature-icon-sm {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 50%;
}



.modal {
    backdrop-filter: blur(8px) !important;
    
}
.modal-header {
    border-radius: 0.5rem 0.5rem 0 0;
}

.modal-content {
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border-radius: 0.75rem;
    overflow: hidden;
}

.modal-backdrop {
    backdrop-filter: blur(8px) !important;
    background-color: rgba(0,0,0,0.4) !important;
}

/* Enhanced backdrop blur for React modals */
.modal-backdrop.show {
    backdrop-filter: blur(8px) !important;
    background-color: rgba(0,0,0,0.4) !important;
}

/* Dark mode support for React modals */
[data-theme="dark"] .feature-card {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-primary) !important;
    color: var(--text-primary);
}



[data-theme="dark"] .modal-content {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

[data-theme="dark"] .modal-header {
    background-color: var(--border-accent) !important;
}

[data-theme="dark"] .bg-light {
    background-color: var(--bg-tertiary) !important;
}

/* Premium Feature Modal Styles */
.premium-feature-modal .modal-header {
    background-color: var(--bs-primary) !important;
    color: white !important;
}

.premium-feature-modal .modal-body {
    padding: 2rem !important;
    /* background: linear-gradient(135deg, #f8f9fa90 0%, #e9ecef87 100%) !important; */
    backdrop-filter: blur(20px) !important;
}
.premium-feature-modal > div >.modal-content {
    background-color: #ffffff78 !important;
}

.premium-feature-modal .feature-card {
    background-color: white !important;
    color: var(--text-primary);
}

.premium-feature-modal .premium-tip {
    background-color: #f8f9fa !important;
}

/* Dark mode overrides for premium modals */
[data-theme="dark"] .premium-feature-modal .modal-body {
    background: linear-gradient(135deg, #00000062 0%, var(--bg-secondary) 100%) !important;
}

[data-theme="dark"] .premium-feature-modal > div >.modal-content {
    background-color: #2828284f !important;
}

[data-theme="dark"] .premium-feature-modal .feature-card {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-primary) !important;
}

[data-theme="dark"] .premium-feature-modal .premium-tip {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .premium-feature-modal h4,
[data-theme="dark"] .premium-feature-modal h5,
[data-theme="dark"] .premium-feature-modal h6 {
    color: var(--text-primary) !important;
}
