﻿      
@font-face {
    font-family: 'Roboto';
    src: url('/Roboto-Regular.ttf');
    font-weight: normal;
}


@font-face {
    font-family: 'Roboto-Bold';
    src: url('/Roboto-Bold.ttf');
    font-weight: bold;
}



@font-face {
    font-family: 'Roboto-Medium';
    src: url('/Roboto-Medium.ttf');
    font-weight: normal;
    font-stretch: narrower;
}


body {
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 4px;
    background-color: #f5f3f1;
    -webkit-tap-highlight-color: transparent;
}

body, td, th {
    font-family: Roboto;
    font-weight: normal;
    font-size: 12px;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #F00;
}

a:active {
    text-decoration: none;
}

.textborderpadding {
    border-radius: 16px;
    padding: 6px
}

.buttonborder {
    border-radius: 12px;
}



.placeholder-container {
    width: 500px;
}


.post-placeholder-item {
    display: flex;
    align-items: flex-start;
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 35px;
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #FFFFFF;
}


.placeholder-avatar {
    width: 48px;
    height: 48px;
    background-color: #f0f0f0;
    border-radius: 50%;
    margin-right: 15px;
    margin-bottom: 10px;
    animation: loading-pulse 1.5s infinite ease-in-out;
}

.placeholder-avatar1 {
    width: 48px;
    height: 48px;
    background-color: #e1e1e6;
    border-radius: 50%;
    margin-right: 15px;
    margin-bottom: 10px;
    border: 1px solid #FFFFFF;
    animation: loading-pulse 1.3s infinite ease-in-out;
}


.placeholder-image-sector1 {
    width: 80%;
    height: 110px;
    background-color: #f0f0f0;
    margin-bottom: 8px;
    border-radius: 18px;
    animation: loading-pulse 1.5s infinite ease-in-out;
}


.placeholder-content {
    flex-grow: 1;
}


.placeholder-line {
    height: 12px;
    background-color: #f0f0f0;
    margin-bottom: 8px;
    border-radius: 8px;
    animation: loading-pulse 1.5s infinite ease-in-out;
}


.placeholder-image {
    width: 100%;
    height: 250px;
    background-color: #f0f0f0;
    margin-bottom: 8px;
    border-radius: 14px;
    animation: loading-pulse 1.5s infinite ease-in-out;
}

.placeholder-image-sector {
    width: 80%;
    height: 80px;
    background-color: #f0f0f0;
    margin-bottom: 8px;
    border-radius: 14px;
    animation: loading-pulse 1.5s infinite ease-in-out;
}

.post-placeholder-item-sector {
    display: flex;
    align-items: flex-start;
    padding-left: 3px;
    padding-right: 15px;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 4px;
    background-color: #FFFFFF;
}

.placeholder-line.short {
    width: 40%;
}

.placeholder-line.medium {
    width: 75%;
}

.placeholder-line.long {
    width: 95%;
}


@keyframes loading-pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.sidemenu {
    font-family: "Roboto";
    font-size: 14px;
    font-weight: bold;
    color: #2b2116;
    white-space: pre-line;
    color: #666;
}




.machines {
    font-family: "Roboto";
    font-size: 10px;
    font-weight: bold;
    color: #2b2116;
    white-space: pre-line;
    color: #666;
}

.longdescription {
    font-family: 'Roboto';
    font-size: 11px;
    font-style: normal;
    color: #3d3b3b;
    white-space: pre-line;
}


.panelindustries {
    background-color: #FFFFFF;
    border: solid 2px #e2e2e1;
    padding: 14px;
    background-color: #FFFFFF;
    z-index: 9999999;
    border-radius: 5px;
}

.linkindclose {
    color: #7b7b7c;
    font-family: 'Roboto';
    font-weight: bold;
    cursor: pointer;
}


.flagborder {
    border-radius: 5px;
    vertical-align: middle;
}


.flagborder1 {
    border-radius: 6px;
    vertical-align: middle;
}


.pagedisplaybottom {
    background-color: white;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-color: #808080;
    border-width: 1px;
    width: 100%;
    height: 100%;
    padding-left: 4px;
    padding-right: 4px;
}



.pagedisplaytop1 {
    background-color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-color: #808080;
    border-width: 1px;
    margin-left: 0vw;
    margin-right: 0vw;
    width: 100%;
}


.pagedisplaybottom1 {
    background-color: white;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-color: #808080;
    border-width: 1px;
    margin-left: 0vw;
    margin-right: 0vw;
    width: 100%;
}






.videodisplay {
    background-color: black;
    max-height: 510px;
    min-height: 350px;
    width: 100%;
}

.videodisplay1 {
    margin-left: 0vw;
    margin-right: 0vw;
    background-color: black;
    min-height: 350px;
    height: 100%;
}




.sectorname {
    font-family: Roboto-Bold;
    font-size: 13px;
    color: #8d8d8d;
    font-weight: bold;
    white-space: pre-line;
}

.sectorname1 {
    font-family: Roboto;
    font-size: 13px;
    color: #adacac;
    white-space: pre-line;
}


.iconmargin {
    padding-top: 8px;
}

.sectordetails {
    font-family: Roboto;
    padding-top: 8px;
    padding-bottom: 8px;
}

.sectordetailscolor {
    font-size: 15px;
    color: #1f1f1f;
    font-family: Roboto;
    white-space: pre-line;
}




.img-circle {
    border-radius: 50%;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #F4F4F4;
    background-color: #FFFFFF;
    cursor: pointer;
    object-position: center center;
    display: block;
}

.img-circle1 {
    border-radius: 10px;
    cursor: pointer;
}


.img-circle1a {
    border-radius: 5px;
    z-index: 9999999 !important;
}

    .img-circle1a img {
        border-radius: 5px;
        z-index: 9999999 !important;
    }

.parentdisplaydesign {
    max-width: 800px;
    min-width: 350px;
    width: 1106px;
}



.parentdisplay {
    max-width: 1106px;
    min-width: 800px;
    width: 1106px;
}

.parentdisplay1 {
    margin-left: 0vw;
    margin-right: 0vw;
    max-width: 100%;
    min-width: 100%;
}


.sideprofile {
    border-radius: 50%;
    border-width: 3px;
    border-color: #f5f4f3;
    background-color: #FFFFFF;
}


.profilecover {
    height: 175px;
    overflow-y: hidden;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #FFFFFF;
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 0px;
    border-top-color: #e9e8e7;
    border-left-color: #e9e8e7;
    border-right-color: #e9e8e7;
    border-top-style: solid;
    border-left-style: solid;
    border-right-style: solid;
    cursor: pointer;
    object-position: center center;
    display: block;
}




.profilecover1 {
    height: 195px;
    overflow-y: hidden;
    object-fit: cover;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    background-color: #FFFFFF;
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 0px;
    border-top-color: #e9e8e7;
    border-left-color: #e9e8e7;
    border-right-color: #e9e8e7;
    border-top-style: solid;
    border-left-style: solid;
    border-right-style: solid;
    cursor: pointer;
    object-position: center center;
    display: block;
}


.profilecover2 {
    height: 125px;
    overflow-y: hidden;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #FFFFFF;
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 0px;
    border-top-color: #e9e8e7;
    border-left-color: #e9e8e7;
    border-right-color: #e9e8e7;
    border-top-style: solid;
    border-left-style: solid;
    border-right-style: solid;
    cursor: pointer;
    object-position: center center;
    display: block;
}

.pagedisplaytop {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: white;
    border-color: #808080;
    border-width: 1px;
    width: 100%;
    height: 100%;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 20px;
}




.right-panel-sectors {
    /* Fixed positioning relative to the .page-container */
    overflow-y: auto;
    width: 280px;
    background-color: #FFFFFF;
    border-radius: 20px;
    height: 100%;
}



.searchtext {
    color: #dfdfe0;
}



.showsector {
    border-radius: 30px;
    vertical-align: middle;
    border-style: solid;
    border-width: 2px;
    border-color: #e2e2e1;
    background-color: #fcfcfc;
    position: fixed !important;
    /* You can adjust these values as needed */
    top: 50% !important;
    left: 60% !important;
    transform: translate(-50%, -50%);
    max-width: 330px;
    z-index: 999999 !important;
}

@media (max-width: 600px) {
    .showsector {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        max-width: 330px;
        z-index: 999999 !important;
    }


    .pagedisplaytop {
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }

    .pagedisplaybottom {
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    body {
        background-color: #FFFFFF;
    }
}

.showsectorimage {
    border-radius: 30px;
    vertical-align: middle;
    cursor: pointer;
    max-width: 600px;
    width: 95%;
    border-style: solid;
    border-width: 1px;
    border-color: #8d8d8d;
    position: fixed !important;
    /* Center the panel */
    top: 40% !important; /* Adjusted from 40% to 50% for perfect centering */
    left: 50% !important;
    transform: translate(-50%, -50%); /* Adjusted transform for perfect centering */
    z-index: 99999999 !important;
    box-shadow: 0 0 65px 10px rgba(0, 0, 0, 0.3);
}


.watermarktext {
    color: #c4c4c6;
}


.sideprofileimage {
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f5f4f3;
    background-color: #FFFFFF;
    object-fit: cover;
    object-position: center center;
    display: block;
}


.profile_image {
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #F4F4F4;
    background-color: #FFFFFF;
    cursor: pointer
}

#PanelHeaderLeftMobile, #PanelHeaderRightMobile {
    display: none;
}

.header-panel {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the content wrapper within the fixed header */
    position: fixed;
    top: 0;
    width: 100%;
    height: 52px;
    background-color: #f0f0f0;
    z-index: 1000;
    background-color: #fff;
    padding-top: 12px;
    padding-bottom: 8px;
    box-sizing: border-box;
    z-index: 1000;
    border-bottom-style: solid;
    border-bottom-color: #e2e2e1;
    border-bottom-width: 1px;
}

        
  
.page-container {
    margin-left: auto;
    margin-right: auto;
    margin-top: 72px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 50px;
    width: fit-content;
	}



.main-content {
    min-width: 330px;
    max-width: 500px;
    padding-left: 28px;
    padding-right: 28px;
    display: block !important;
           
}


#divleftPanel {
    width: 260px;
    flex-shrink: 0;
}

#divRightPanel {
    width: 260px;
    flex-shrink: 0;
    position: sticky !important; /* Re-enabled */
    top: 70px; /* Distance from top of viewport when sticking */
    display: block;
}
          

@media (min-width: 951px) {
    /* Targets the panel when it is a child of .page-container */
    .page-container > #divleftPanel,
    .page-container > #divRightPanel {
        /* CRITICAL: Disable all mobile positioning and animation */
        position: sticky !important;
        top: 70px !important;
        transform: none !important;
        transition: none !important;
        z-index: 1; /* Normal flow z-index */
        /* Ensure it is visible as a column */
        display: block !important; /* Or 'flex', 'grid', etc., for your column layout */
        width: 260px;
    }

    #leftPanelSpacer {
        display: block !important; /* Hide desktop search */
    }
}

   
    /* --- THE BRIDGE: Keeps Right Panel visible from 651px to 950px --- */
@media (max-width: 950px) and (min-width: 651px) {
    .page-container > #divRightPanel {
        display: block !important;
        position: sticky !important;
        width: 260px !important;
        flex: 0 0 260px !important; 
        transform: none !important;
        z-index: 1;
              
                
    }


      

    .main-content {
        min-width: 330px;
        max-width: 500px;
        padding-left: 15px;
        padding-right: 20px;
        display: block !important;
    }


    .left-panel,
    .right-panel {                         
        display: block !important;
        z-index: 99999;
        width: 260px;              
        transition: transform 0.3s ease-out; 
                
    }

            

    body > #divRightPanel {
        display: none !important;
    }
}



@media (max-width: 950px) {
    /* 1. Hide the Left Panel column */
    .page-container > #divleftPanel {
        display: none !important;
              
    }


    .main-content {
        min-width: 330px;
        max-width: 500px;
        padding-left: 15px;
        padding-right: 20px;
        display: block !important;
    }

    #PanelHeaderLeftMobile {
        display: block !important;
    }


    #PanelSearch {
        display: none !important; /* Hide desktop search */
    }


    #leftPanelSpacer {
        display: none !important; /* Hide desktop search */
    }

    .left-panel,
    .right-panel { 
        display: block !important;
        z-index: 99999;
        width: 260px;
        box-shadow: none;           
        min-height: 100vh;        
        transition: transform 0.3s ease-out;  
        padding:0 15px 15px 15px;
    }

    .left-panel {
        position: fixed;
        left: 0;
        transform: translateX(-100%);
        background-color: #FFFFFF;
    }

           
}

      

/* --- Breakpoint 2: Hide Right Panel (width <= 750px) --- */

@media (max-width: 650px) {
    /* 1. Hide the Right Panel column */
    .page-container > #divRightPanel {
        display: none !important;
    }

    .page-container > #divleftPanel {
        display: none !important;
    }


    .main-content {
        padding-left: 0;
        padding-right: 0;
        display: block !important;
        width: 100% !important;
        max-width: 500px !important;
    }


    #PanelHeaderRightMobile {
        display: block !important; /* Show icon to open right panel */
    }


    #PanelHeaderRight {
        display: none !important; /* Show icon to open right panel */
    }

    #leftPanelSpacer {
        display: none !important; /* Hide desktop search */
    }

    .left-panel,
    .right-panel {
        position: fixed;
        top: 0;             
        z-index: 99999;
        width: 260px;
        box-shadow: none;            
        min-height: 100vh;
        max-height: calc(100vh - 10px);  
        transition: transform 0.3s ease-out;
        display: none;
            padding:15px;
    }


    .right-panel {
        right: 0;
        transform: translateX(100%);
        background-color: #FFFFFF;        
    }

        #divRightPanel {
        position: fixed !important; /* Force fixed over sticky  */
        top: 0 !important; /* Force it to the very top  */
        right: 0 !important; /* Ensure it's pinned to the right [cite: 37] */
        height: 100vh !important; /* Fill the vertical screen  */
        margin-top: 0 !important; /* Remove any desktop margins */
        display: none; /* Controlled by is-open class [cite: 36, 39] */
        transform: translateX(100%); /* Start off-screen [cite: 37] */
        transition: transform 0.3s ease-out; /* Smooth slide  */
    }

        /* When the JS adds 'is-open', show it and slide it in */
        #divRightPanel.is-open {
            display: block !important; /* [cite: 39] */
            transform: translateX(0) !important; /* [cite: 43] */
        }  display: block !important;
        }
}



/* --- Panel Overlay CSS (Ensure this is present for the toggle to work) --- */
/* Body class to prevent main content scroll when overlay is open */

.body-no-scroll {
    overflow: hidden;
}



/* Backrop style (optional, but recommended) */

#backdrop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none; /* Hidden by default, shown by JS when a panel opens */
}


.left-panel.is-open,
.right-panel.is-open {
    transform: translateX(0);
}

/* Hidden State (Off-screen) */
.left-panel {
    left: 0;
    transform: translateX(-100%);
}

.right-panel {
    right: 0;
    transform: translateX(100%);
}

    /* Open State (Class applied by JS toggle) */
    /* Open State (Class applied by JS toggle) */
    .left-panel.is-open,
    .right-panel.is-open {
        transform: translateX(0);
    }



#NotificationArea {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* The bell icon */
.notification-toggle-icon {
    cursor: pointer;
}


#NotificationCount,
#NotificationCountMobile {
    position: absolute;
    top: -7px;
    right: -11px;
    z-index: 10;
    width: 12px;
    height: 12px;
    line-height: 12px;
    border-radius: 50%;
    background-color: #e50505; /* Red */
    color: white;
    font-size: 8.5px;
    font-weight: bold;
    text-align: center;
    padding: 4px;
    box-shadow: 0 0 0 2px #fff; /* White ring/border */
}


    #NotificationCount.hidden,
    #NotificationCountMobile.hidden {
        display: none;
    }


.notification-dropdown,
#NotificationDropdown {
    position: absolute;
    top: 30px;
    z-index: 100;
    background-color: #fff;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    width: 345px;
    max-width: 90vw;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, max-height 0.5s ease-in-out;
    right: -123px;
    left: auto;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transform: translateY(-10px);
}



.notification-list {
    padding: 0 5px 0 5px !important;
    margin: 0 !important;
    overflow-y: auto;
    max-height: 500px;
    list-style: none;
}

    .notification-list.scrollbar-active {
        padding-right: 0px !important;
        margin-right: 2px !important;
    }



.notification-dropdown.show,
#NotificationDropdown.show {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.no-notifications-message {
    padding: 20px;
    text-align: left;
    font-family: Roboto;
    font-weight: bold;
    color: #494c4e;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 5px 14px 14px;
    position: relative;
    overflow: hidden;
    margin-top: 12px;
    margin-bottom: 12px;
    text-align: left;
    transition: max-height 0.45s ease-in-out, opacity 0.45s ease-in-out, padding 0.45s ease-in-out, margin 0.45s ease-in-out;
}

    .notification-item:last-child {
        border-bottom: none;
    }


    .notification-item:hover {
        cursor: pointer;
        background-color: #fbf9f9;
        border-radius: 18px;
    }


    .notification-item:active {
        box-shadow: 0 0 0 1px rgba(255, 167, 102, 0.20);
        border-radius: 18px;
    }

    /* Unread State (Request 10) */
    .notification-item.unread {
        padding: 14px 5px 14px 14px;
        border-radius: 18px;
        text-align: left;
    }

        .notification-item.unread:hover {
            background-color: #fbf9f9;
            border-radius: 18px;
        }


.notification-link {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: #333;
    flex-grow: 1;
    position: relative;
    border-radius: 8px;
    transition: background-color 0.2s;
}



.avatar-area {
    position: relative;
    width: 50px;
    min-width: 40px;
    height: 50px;
    margin-right: 14px;
    flex-shrink: 0;
}

.notif-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
    background-color: #FFFFFF;
}



/* --- Message Area --- */
.message-area {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    line-height: 1.1;
    padding-top: 5px;
    text-align: left;
}


.notification-message {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
    transition: color 0.2s;
    white-space: normal;
    word-wrap: break-word;
    color: rgba(0, 0, 0, 0.35);
}

.notification-subject {
    font-size: 12px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.35);
    margin: 0;
    padding: 1px 0 4px 0;
    white-space: normal;
}

.notification-item.unread .notification-subject {
    font-family: Roboto;
    font-weight: bolder;
    color: #484546;
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.notification-item.unread .notification-message {
    font-family: Roboto;
    font-weight: bolder;
    color: #494c4e;
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.notification-time {
    font-size: 7pt;
    color: rgba(0, 0, 0, 0.25);
    text-align: left;
}


.notification-item.unread .notification-time {
    font-size: 7pt;
    color: #8a6a6a;
    text-align: left;
}

.notif-actions {
    display: flex;
    flex-shrink: 0; /* Do not shrink */
    align-items: flex-start;
    padding-top: 5px; /* Vertical align with the message/avatar */
}


.action-icon {
    position: absolute;
    bottom: -10px;
    margin-left: 35px;
    width: 14px;
    height: 14px;
    padding: 3px;
    box-sizing: content-box;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.notif-dismiss-btn {
    background: none;
    border: none;
    color: #bbb;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    transition: all 0.2s ease;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}



    .notif-dismiss-btn:hover {
        color: #e50505; /* Red icon color */
        background-color: rgba(0, 0, 0, 0.05); /* Light gray circle */
    }



.notification-item.dismissing {
    opacity: 0 !important;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    overflow: hidden;
    transition: max-height 0.45s ease-in-out, opacity 0.45s ease-in-out, padding 0.45s ease-in-out, margin 0.45s ease-in-out;
}

    /* Ensure the link inside also collapses with the item */
    .notification-item.dismissing .notification-link {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .notification-item.dismissing .notif-dismiss-btn {
        opacity: 0 !important; /* It should disappear with the item */
    }


/* --- 4. Notification Toast (New Notification Popup) --- */

.notification-toast {
    position: fixed;
    bottom: 75px;
    left: 50%;
    z-index: 9999999999999999 !important;
    /* Keeps the Slide-Up animation intact */
    transform: translateX(-50%) translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
    opacity: 0;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    min-width: 180px;
    max-width: 320px;
    font-family: Roboto, Arial, sans-serif;
    /* Centering Logic */
    display: flex;
    align-items: center; /* Vertical center */
        gap: 10px;
    min-height: 50px;


}

    .notification-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0px);
        pointer-events: auto;
    }

/* Specific Style Variations */
.toast-error {
    font-size: 12px;
    font-weight: bold;
    justify-content: center; /* Horizontal center icon + text */
    text-align: center; /* Center multi-line text */
}

.toast-success {
    font-size: 12px;
    font-weight: bold;
    justify-content: center; /* Horizontal center icon + text */
    text-align: center; /* Center multi-line text */
}

    

/* Toast Avatar (Requested: Gray Border) */
.toast-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #ccc;
    background-color: #e9e8e7;
}

/* Toast Content */
.toast-content-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}



.toast-text-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows it to take all remaining space */
    overflow: hidden; /* Important for ellipsis on children */
    min-width: 0; /* Important for flex items with overflow */
}


.toast-subject {
    font-size: 11px;
    color: #ccc; /* Lighter color for secondary text */
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

    .toast-message {
    font-size: 12px;
    font-weight: bold;       
    color: #ffffff;
    max-width:220px!important;
    padding-right:15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal; /* Allow wrapping */
    word-break: break-word; /* Prevents long words from breaking bounds */
}

.toast-action-icon-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* 3. THE ICONS (Consolidated Sizes) */
.toast-action-icon {
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    width: 26px; /* Matching the action icon for symmetry */
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 768px) {
    /* Apply positioning to the dropdowns */
    .notification-dropdown,
    #NotificationDropdownMobile {
        width: 90vw;
        max-width: 345px;
        left: auto;
        right: -28px;
        transform: translateY(-10px);
    }

        .notification-dropdown.show,
        #NotificationDropdownMobile.show {
            transform: translateY(0);
        }



    .notif-dismiss-btn {
        opacity: 0.4 !important; /* Override the default opacity: 0 */
        background-color: rgba(0, 0, 0, 0.05) !important;
    }

    /* 2. Hide the UNREAD dot when the button is visible, to prevent overlap */
    .notification-item.unread .unread-dot-indicator {
        display: none !important;
    }

    /* 3. Ensure the button gets a slight background when tapped/hovered for feedback */
    .notif-dismiss-btn:hover,
    .notif-dismiss-btn:active {
        background-color: rgba(0, 0, 0, 0.1) !important;
    }
}



.notification-header {
    /* Required to give the header a visible boundary */
    background-color: rgba(251, 251, 251, 0.00);
    border-bottom: 1px solid #e0e0e0;
    /* Your existing layout and font properties */
    padding: 18px 14px 14px 14px;
    font-size: 13pt;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    /* Ensure height is determined by padding and content */
    height: auto;
}


/* Notification Footer (2b) */
.notification-footer {
    height: 20px;
    text-align: center;
    padding-top: 14px;
    padding-bottom: 10px;
    justify-content: center;
    align-items: center;
    font-size: 9pt;
    font-weight: bold;
    color: #575655;
}

.markallread-link {
    font-size: 9pt;
    font-weight: bold;
    color: #575655;
}


.unread-dot-indicator {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgba(255, 32, 203, 0.90); /* Muted Red Color */
    position: absolute;
    top: 19px;
    right: 16px;
    z-index: 1;
}


.notif-actions {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: flex-start;
    padding-top: 5px;
    margin-left: auto;
    padding-right: 14px;
    width: 44px;
}

.notif-dismiss-btn {
    background: none;
    border: none;
    color: #787575;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    opacity: 0; /* Hidden */
    transition: opacity 0.2s ease;
    position: absolute;
    top: 10px; /* Vertically centers the button */
    right: 6px; /* Horizontally centers the button in the column */
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 2; /* CRITICAL: Ensure button is above the dot */
}

/* --- Visibility Toggle on Hover --- */

/* Show button on hover (Fade in) */
.notification-item:hover .notif-dismiss-btn {
    opacity: 1; /* Show the button */
    background-color: rgba(0, 0, 0, 0.05); /* Gray hover circle */
}



.notification-item.unread .unread-dot-indicator {
    display: block;
}

.notification-item.unread:hover .unread-dot-indicator {
    display: none !important;
}



.notif-dismiss-btn:hover {
    color: #e50505;
    background-color: rgba(0, 0, 0, 0.1);
}

       
.search-panel-popup {
display: none;
}

/* Popup Box Container - BASE STYLES */
.search-popup-container {
position: fixed;
/* Desktop Base Dimensions */
max-width: 480px;
max-height: 500px;
width: 95%;
min-height: 500px;
background-color: white;
border-radius: 30px;
/* Desktop border is retained, mobile will override it */
border: 2px solid #C0C0C0;
padding: 18px;
box-sizing: border-box;
z-index: 1001;
/* Animation Base Transitions */
transition: transform 0.4s ease-out, top 0.4s ease-out, border-radius 0.4s ease-out, box-shadow 0.4s ease-out;
}

/* --- CLOSE BUTTON STYLE (BOTTOM RIGHT FIX) --- */
.search-close-button {
position: absolute;
bottom: 18px;
right: 18px;
font-size: 28px;
font-family: Arial, sans-serif;
line-height: 24px;
height: 36px;
width: 36px;
display: flex;
align-items: center;
justify-content: center;
color: #808080; /* Base color for 'X' */
background: rgba(128, 128, 128, 0.1); /* Faint gray circle background */
border-radius: 50%;
cursor: pointer;
z-index: 10;
transition: color 0.2s ease-in-out, background 0.2s ease-in-out;
}

.search-close-button:hover {
color: #ff0000; /* <-- ONLY 'X' TURNS RED */
background: rgba(128, 128, 128, 0.1); /* Keep circle color the same */
}

.search-close-button:active {
color: #ff0000;
background: rgba(128, 128, 128, 0.1); /* Keep circle color the same */
}


@media (min-width: 601px) {
.search-popup-container {
left: 50%;
top: 100%;
transform: translate(-50%, 0);
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
}

/* 🔥 CRITICAL FIX: Changed -14% to -20% to move the popup approximately 30px higher */
.search-popup-container.is-active {
    top: 50%;
    transform: translate(-50%, -30%);
}

/* Results container size adjusted for the close button space (No Change) */
.search-results-container {
max-height: calc(500px - 100px - 50px);
}
}

.search-input-wrapper {
display: flex;
align-items: center;
border: 2px solid #f2f0ee;
border-radius: 35px;
width: 100%;
height: 28px;
margin-top: 12px;
margin-bottom: 10px;
padding: 8px 14px 8px 10px;
}

.search-text-box {
flex-grow: 1;
border: none;
outline: none;
padding: 4px;
background: transparent;
font-family: Roboto;
font-size: 15px;
color: #444444;
font-weight: bold;
}

.search-icon {
height: 28px;
width: 28px;
cursor: pointer;
}

/* Note: .search-results-container max-height is set in media queries */

.search-separator {
border: 0;
border-top: 1px solid #eee;
margin: 10px 0;
}

.search-result-item {
display: flex;
align-items: center;
padding: 8px 0;
border-bottom: 1px solid #f0f0f0;
cursor: pointer;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f9f9f9;
}

.search-result-item strong {
    background-color: #ffff00;
    padding: 0 2px;
    border-radius: 3px;
    font-weight: bold;
}

.search-result-item img {
    margin-right: 10px;
}

.search-history-item {
transition: opacity 0.4s ease-out, height 0.4s ease-out, margin-bottom 0.4s ease-out, padding-top 0.4s ease-out, padding-bottom 0.4s ease-out, transform 0.4s ease-out, border 0.4s ease-out, box-shadow 0.4s ease-out;
overflow: hidden;
}

.searchpanel {
display: block;
border-radius: 18px;
cursor: pointer;
}


.sys-alerts {
    position: fixed;
    bottom: 30px;
    left: 50%;
    z-index: 9999;
    transform: translateX(-50%) translateY(10px);
    width: 250px;
    height: 20px;
    padding: 15px;
    background-color: rgba(29, 27, 27, 0.9);
    color: #eaeaea;
    border-radius: 35px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    font-size: 8pt;
    color: #dbd8d8;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    display: flex;
    align-items: center; /* Vertically centers the text */
    justify-content: center; /* Horizontally centers the text */
    text-align: center;
}


    .sys-alerts.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

/* --- WOR1 Store Modal Overlay (Base) --- */
.wor1-modal-overlay {
    display: none; /* Initially hidden. JS changes this to 'flex' */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

/* --- WOR1 Store Modal Content (Desktop/Default) --- */
.wor1-modal-content {
    background-color: #fefefe;
    border: 2px solid #e1e1e1;
    position: relative;
    width: 90%;
    max-width: 440px;
    max-height: 500px; /* Fixed height for the container */
    height: auto;
    border-radius: 35px; /* Modal container is rounded */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 0, 0, 0.1);
    /* Start position: Fully off-screen at bottom for slide-up effect (Desktop & Mobile) */
    transform: translateY(100vh);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    /* Flex Layout for Header/Body/Footer */
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Class added by JS to trigger the slide-in animation */
.wor1-modal-overlay.show-modal .wor1-modal-content {
    transform: translateY(0);
}

/* --- Modal Header (Fixed) --- */
.wor1-modal-header {
    padding: 30px 30px 15px 30px;
    flex-shrink: 0;
    z-index: 1001;
    background-color: #fefefe;
    border-radius: 35px 35px 0 0;
    /* Added border for clean separation */
    border-bottom: 1px solid #eee;
}

.store-title {
    font-family: 'Roboto-Bold';
    font-size: 1.6em;
    color: #585858;
    margin: 0;
    text-align: center;
}

/* --- Modal Body (Scrollable) --- */
.wor1-modal-body {
    padding: 15px 30px;
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* --- Modal Footer (Fixed) --- */
.wor1-modal-footer {
    padding: 15px 30px;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    z-index: 1001;
    background-color: #fefefe;
    border-radius: 0 0 35px 35px;
    border-top: 1px solid #eee;
}

/* --- Store Close Button (Positioned inside the footer) --- */
.store-close-btn {
    position: static;
    background-color: rgba(150, 150, 150, 0.1);
    border: none;
    cursor: pointer;
    padding: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease-out;
    /* FIX: Move button up by 4px and right by 8px */
    margin-top: -4px;
    margin-right: -12px;
}

    .store-close-btn:hover {
        background-color: rgba(150, 150, 150, 0.25);
    }

.close-icon {
    font-family: Arial, sans-serif;
    font-size: 29px;
    line-height: 1;
    font-weight: 300;
    color: #bbb;
    transition: color 0.3s ease-out;
}

.store-close-btn:hover .close-icon {
    color: #FF4444; /* Bright red on hover */
}


.store-close-btn:active .close-icon {
    color: #FF4444;
}

/* ----------------------------------------------------------------
--- WOR1 Store Item Styles (Sleek Layout) ---
---------------------------------------------------------------- */

.wor1-store-items-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Item Container: Flexbox, soft shadow, rounded --- */
.wor1-store-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08), 0 0 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    gap: 15px;
}

/* --- 1. Item Icon: Smaller Size (35px) --- */
.item-image {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
}

/* --- 2. Item Details: Wider Description and Price Placement --- */
.item-details {
    flex-grow: 1; /* Allows description to stretch horizontally */
    overflow: hidden;
}

    .item-details h4 {
        margin: 0 0 4px 0;
        color: #333;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 1.1em;
    }

    .item-details p {
        margin: 0 0 5px 0;
        font-size: 0.9em;
        color: #666;
    }

/* --- Price: Under Description --- */
.item-price {
    font-size: 1.1em;
    font-weight: bold;
    color: #ff6600;
    white-space: nowrap;
    display: block;
    margin-top: 0;
}

/* --- 3. Actions: Vertical stack (Qty/Buy) on the right --- */
.item-price-actions {
    display: flex;
    flex-direction: column; /* Stack quantity and buy button vertically */
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-left: 10px;
    flex-shrink: 0;
    margin-top: 0;
    margin-right: 10px;
}


.quantity-selector {
    position: relative;
    width: 65px;
    flex-shrink: 0; /* Prevents shrinking */
}

    .quantity-selector input {
        width: 100%;
        height: 32px;
        padding: 0 4px 0 4px;
        line-height: 32px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e9e8e7;
        border-radius: 12px;
        cursor: pointer;
        font-size: 0.9em;
    }

.quantity-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 75px;
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: max-height 0.3s ease-in-out, border 0.1s ease;
    z-index: 100;
    border-color: transparent;
}

    .quantity-dropdown.active {
        max-height: 200px;
        overflow-y: auto;
    }

.quantity-option {
    padding: 5px 10px;
    cursor: pointer;
    text-align: center;
    margin-bottom: 3px;
}

    .quantity-option:last-child {
        margin-bottom: 0; /* Remove margin from the last item */
    }

    .quantity-option:hover {
        background-color: #fcf3e7;
    }

/* --- 4. Buy Button: Positioned below Qty --- */
.buy-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: box-shadow 0.2s, border 0.2s;
    border: 1px solid transparent;
    border-radius: 50%;
    flex-shrink: 0; /* Prevents shrinking */
}

    .buy-button img {
        height: 32px;
        width: auto;
        display: block;
    }

    .buy-button:hover {
        box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.1); /* Soft Red Shadow */
        border-color: rgba(248, 11, 11, 0.40);
    }

/* ----------------------------------------------------------------
--- Mobile Styling (App Drawer from Bottom) ---
---------------------------------------------------------------- */

@media (max-width: 600px) {

    /* 4. FIX: Forces the modal content to the bottom for the drawer effect */
    .wor1-modal-overlay {
        align-items: flex-end;
    }

    .wor1-modal-content {
        /* Mobile Requirements */
        width: 100%; /* Mobile Flush Width */
        max-width: 100%;
        height: 70vh; /* Mobile Height: 70vh */
        max-height: 70vh;
        margin: 0;
        padding: 0;
        /* Rounded borders only on top for drawer effect */
        border-radius: 35px 35px 0 0;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
        /* Start position: Fully off-screen at the bottom (restores slide-up animation) */
        transform: translateY(100%);
        transition: transform 0.5s ease-out;
    }

    /* 4. FIX: Active class to trigger the mobile slide-in */
    .wor1-modal-overlay.show-modal .wor1-modal-content {
        transform: translateY(0);
    }

    /* Adjust content padding for mobile view */
    .wor1-modal-header {
        padding: 30px 15px 15px 15px;
    }

    .wor1-modal-body {
        padding: 15px 15px;
    }

    .wor1-modal-footer {
        padding: 15px 15px 15px 15px;
    }

    .store-close-btn {
        margin-top: 0px;
        margin-right: 0px;
    }
}


.panelEnergize_post {
    position: absolute;
    z-index: 9999999;
    max-width: 300px;
    background-color: #FFFFFF;
    border: 1px solid #bfbfbe;
    border-radius: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px;
    width: 222px;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease-out; /* Add this line */
    opacity: 1; /* Default hidden state */
    pointer-events: none;
}

    .panelEnergize_post.show-container {
        opacity: 1;
        pointer-events: auto;
    }



.hela-amount-button {
    display: block;
    margin-bottom: 3px;
    min-width: 50px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    font-family: Roboto;
    font-size: 9pt;
    color: #666666;
    padding: 8px 8px 8px 4px;
    background-color: transparent;
    border: none;
    transition: background-color 0.15s;
}

    .hela-amount-button:hover {
        background-color: #fef7ea;
    }

    .hela-amount-button:active {
        background-color: #fef7ea;
    }

    .hela-amount-button.selected {
        background-color: #eee;
        color: #2b2116;
    }

.hela-list-container {
    position: absolute;
    z-index: 1010;
    width: 50px;
    background-color: white;
    border-bottom: 1px solid #e2e2e1;
    border-left: 1px solid #e2e2e1;
    border-right: 1px solid #e2e2e1;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 0;
    max-height: 0;
    overflow: hidden; /* Keeps content hidden during max-height: 0 transition */
    opacity: 0;
    transform: translateY(-5px);
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.show-hela-list {
    max-height: 160px;
    opacity: 1;
    transform: translateY(0);
    padding: 8px;
    overflow-y: auto; /* Enables vertical scrollbar only when needed */
}


.energize-close-button-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 3px;
    padding: 0px 0 0px 1px;
    width: 24px;
    height: 24px;
    font-size: 14pt;
    line-height: 1;
    font-family: Roboto;
    color: #777777;
    background-color: #f1f1f1;
    border: none;
    border-radius: 50%;
    transform: translateY(1px);
    transition: color 0.2s ease-in-out, background-color 0.2s;
}

    .energize-close-button-x:hover,
    .energize-close-button-x:focus {
        color: #e53935;
        background-color: #eeeeee;
        border: none;
        outline: none;
    }

    .energize-close-button-x:active {
        color: #c62828;
        background-color: #dddddd;
    }


.text-green-hela {
    color: #73c608; /* Standard vibrant green, similar to Tailwind 'green-600' */
}

.text-red-hela {
    color: #DC2626; /* Standard vibrant red, similar to Tailwind 'red-600' */
}


.energize-action-icon {
    box-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
    transition: box-shadow 0.15s ease-in-out, border-color 0.15s ease-in-out;
    cursor: pointer;
}

    .energize-action-icon:hover {
        /* Soft red glow on hover */
        box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
        border-color: #ffcccc !important; /* Lighter border color on hover */
    }

    .energize-action-icon:active {
        /* Stronger, tighter red glow on click */
        box-shadow: 0 0 10px 1px rgba(255, 0, 0, 0.8);
        transform: scale(0.98); /* Optional: slight press effect */
    }


.energized-glow {
    box-shadow: 0 0 6px rgba(115, 198, 8, 0.7); /* Permanent, subtle green glow */
    transition: box-shadow 0.15s ease-in-out, border-color 0.15s ease-in-out;
    cursor: pointer;
}

    .energized-glow:hover {
        box-shadow: 0 0 8px rgba(115, 198, 8, 0.8); /* Using #73c608 */
        border-color: #d8f5b8 !important; /* Lighter green border color on hover */
    }

    .energized-glow:active {
        box-shadow: 0 0 8px 1px rgba(115, 198, 8, 0.8); /* Using #73c608 */
        transform: scale(0.98);
    }

.htmlbutton {
    cursor: pointer;
    background-color: #fff;
}

.user-details-popup {
    position: fixed;
    z-index: 99999999999 !important;
    width: 300px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    /* 🌟 DEFAULT STATE: Hidden 🌟 */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.3s ease-out, transform 0.2s ease-out, visibility 0s 0.3s;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(3px);
}

    /* 🌟 FADE-IN CLASS 🌟 */
    .user-details-popup.show {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        transition-delay: 0s;
    }

    /* 🌟 FADE-OUT CLASS 🌟 */
    .user-details-popup.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(0.95);
    }




.popup-loading {
    padding: 20px;
    text-align: center;
    color: #9CA3AF;
}

.media-overlay {
    position: fixed;
    z-index: 9999999999 !important;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}





.media-container {
    position: fixed;
    width: 400px;
    min-height: 240px;
    max-height: 450px;
    height: auto;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.4);
    z-index: 999999999999999 !important;
    background: #100f0f;
    border-radius: 24px;
    border: 3px solid rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.media-content-area {
    width: 100%;
    /* Ensure the content area matches the container's height constraints */
    min-height: 240px;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    overflow: hidden;
}

    .media-content-area img,
    .media-content-area video {
        width: 100%;
        min-height: 240px;
        max-height: 400px;
        height: auto;
        object-fit: cover;
        /* CHANGE THIS: 'center' ensures equal cropping top and bottom */
        object-position: center center;
        border-radius: 22px;
        display: block;
    }


@media (max-width: 520px) {
    .media-container {
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
        /* Maintain the height constraints so the crop logic works on mobile */
        min-height: 240px;
        max-height: 450px;
        height: auto;
        /* Flexbox is required here to keep the content area vertically centered */
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
        border-radius: 22px;
        z-index: 99999999999999 !important;
    }

    /* Apply the crop logic to the actual media inside the container on mobile */
    .media-content-area img,
    .media-content-area video {
        width: 100%;
        height: auto;
        min-height: 240px;
        max-height: 450px;
        object-fit: cover;
        object-position: center center; /* Equal crop top and bottom */
    }

    .media-overlay {
        position: fixed;
        /* Ensure overlay is behind the container but above the page */
        z-index: 99999999999998 !important;
    }
}

#MediaEnlargementOverlay {
    display: none;
    position: fixed;
    z-index: 99999999999999999 !important;
}


#userDetailsPopupModal {
    display: none;
    position: fixed;
    z-index: 999999999999999 !important;
}
      
.create-post-button {
    /* Base style: Round, fixed size, no padding */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border-radius: 50% !important; /* Makes it perfectly round */
    text-decoration: none;
    /* Inherit base colors and shadow from the .feed-button definition for consistency */
    background-color: #ee0202 !important;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

    /* Apply the exact same HOVER / ACTIVE states as .feed-button */
    .create-post-button:hover,
    .create-post-button:active {
        background-color: #efeeee !important;
        box-shadow: 0 0 6px 0 #ee0202;
    }

    /* Ensure the icon maintains its size (relying on .feed-icon for 20px size) */
    .create-post-button .create-post-icon {
        height: 20px;
        width: 20px;
    }


.close-button-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #f2f1f1; /* Light gray circle bg */
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

    .close-button-wrapper:hover {
        background-color: #f1f0ee; /* Mid gray circle bg on hover */
    }


    .close-icon-swapper {          
    display: block;
    vertical-align: middle;
}
           

#ImageCloseUserPopup {
    cursor: pointer;
    padding: 12px; /* Extra room for thumbs */
    margin: -12px; /* Offset so layout doesn't move */
    -webkit-tap-highlight-color: transparent;
}


.auth-card-modern {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    text-align: center;
}

.auth-input {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 10px !important;
    border: 1px solid #EAEAEA !important;
    padding: 12px !important;
    box-sizing: border-box;
}

.btn-create-identity {
    /* Layout */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    padding: 12px;
    position: relative;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    /* Aesthetics */
    background-color: #FFFFFF;
    border: 1px solid #DCDCDC;
    border-radius: 16px;
    /* Text */
    color: #888888 !important;
    font-family: 'Roboto', sans-serif;
    font-size: 9pt;
    font-weight: bold;
    text-decoration: none; /* Removes the underline */
    text-align: center;
    /* Interactive */
    transition: all 0.3s ease;
}

    .btn-create-identity:hover {
        background-color: #F5F5F5;
        border-color: #CCCCCC;
        color: #666666 !important;
        text-decoration: none;
    }

    .headerleft {
        width:200px;
    }

@media (max-width: 480px) {
    .headerleft {
        width:152px;
    }
}

    @media (max-width: 380px) {
    .headerleft {
        width:152px;
    }
}


/* Spinner Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.button-wrapper {
    position: relative;           
    vertical-align: middle;
    width:200px;
}
         
/* Loading state trigger */
.is-loading {
    position: relative !important;
    pointer-events: none !important;
    opacity: 0.9;
}

/* Hide text for <a> and <button> but NOT <input> */
a.is-loading, button.is-loading {
    color: transparent !important;
}

/* The Red Spinner - Only works on container-style elements (a, button, div) */
.is-loading::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    top: calc(50% - 9px);
    /*left: calc(50% - 9px);*/
    left: 20px;
    border: 2px solid rgba(240, 240, 240, 0.3);
    border-top: 2px solid #FF0000;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    z-index: 2;
}

/* Specific fix for asp:Button (input tags) */
input.buttonborder.is-loading {
    color: #FF0000 !important;
    background-color: #FFFFFF!important;
    border-color: #FF0000 !important;
    cursor: wait;
}
               
         


#PanelWor1Users, #PanelSectors {
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease, padding 0.4s ease-in-out, margin-bottom 0.4s ease-in-out;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0px 0px 0px 1px;
    width: 240px;
}

    
.right-panel-toggle-button {
    height: 24px;
    padding: 2px 8px;
    width: auto;
    min-width: 35px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background-color: #f8f8f8;
    margin: 0 3px;
    box-shadow: none;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

    .right-panel-toggle-button:hover {
        background-color: #f0f0f0;
    }

    /* Active State: Panel is VISIBLE, indicated by soft red glow */
    .right-panel-toggle-button.active {
        /* Soft red glow: 0px offset, 5px blur, 0px spread, 40% opacity */
        box-shadow: 0 0 5px 0 rgba(255, 0, 0, 0.4);
    }

    /* Hidden State: Panel is HIDDEN, indicated by NO red glow */
    .right-panel-toggle-button.inactive {
        box-shadow: none;
        opacity: 0.8;
    }

              


.panel-half-height {
    height: 315px !important;
    background-color: #FFFFFF;
    width: 240px;
}
        
        
.panelUsers, .panelSectors {
    overflow: visible;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), opacity 0.4s ease-in-out, transform 0.5s cubic-bezier(0, 1, 0, 1);
    display: block !important;
    transform: translateY(0px);
    pointer-events: none;
    height: auto;
}

.panelSectors {
    opacity: 0;
}

.panel-hidden {
    padding-top: 0 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    transform: translateY(-30px) !important;
    overflow: hidden !important; /* Lock it down when hidden */
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    background-color: #FFFFFF;
    width: 240px;
}

       

.panel-visible {
    /* Height is handled by JS, but we need enough room here */
    max-height: 1000px;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}


#contentModal .contentModal-container {
    background: #fff;
    /* Drawer style: Rounded only at the top for mobile */
    border-radius: 30px 30px 0 0;
    width: 100%;
    max-width: 650px;
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    z-index: 999999999 !important;
    display: flex;
    flex-direction: column;
    height: 85vh;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    border: 2px solid #d9d6d6;
    border-bottom: none;
    overflow: hidden; /* Important to clip the iframe corners */
}

/* 2. Active State for Slide-in */
#contentModal.active .contentModal-container {
    bottom: 0;
}

/* 3. Desktop Style (Fully Rounded & Centered) */
@media (min-width: 768px) {
    #contentModal .contentModal-container {
        border-radius: 25px !important;
        border: 2px solid #d9d6d6;
        bottom: 50% !important;
        /* Center perfectly on both axes */
        transform: translate(-50%, 50%) !important;
        height: 85vh;
        width: 500px; /* Default width */
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        transition: width 0.3s ease; /* Smooth expansion */
    }

    /* Target the container when the parent has the .wide-modal class */
    #contentModal.wide-modal .contentModal-container {
        width: 650px !important;
    }
}

/* 4. The Header - Centered & Increased */
.contentModal-header {
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #eee;
	background: #fff;
	text-align: center;
	z-index: 10;
}

#contentModalTitle {
	margin: 5px 0 0 0 !important;
	font-size: 1.2rem !important;
	font-weight: 800;
	color: #000;
}

#contentModalStatusBadge {
	margin-right: 0 !important;
	margin-bottom: 4px;
}

/* 5. Floating Close Button */
.contentModal-floating-close-btn {
	position: absolute;
	bottom: 25px;
	right: 25px;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: #f2f2f2;
	border: none;
	font-size: 18px;
	font-weight: 900;
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	z-index: 10002;
	outline: none;
}

	/* Close Button: Hover (Uniform Red Shadow) */
	.contentModal-floating-close-btn:hover {
		color: #ff0000;
		background: #fff;
		transform: rotate(90deg) scale(1.1);
		box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
	}

	.contentModal-floating-close-btn:active {
		color: #cc0000;
		transform: scale(0.9) rotate(90deg);
	}

/* 6. Body & Iframe with HIDDEN SCROLLBARS */
.contentModal-body {
	flex: 1;
	position: relative;
	overflow-y: auto;
	overflow-x: hidden;
	background: #fff;
	/* Hide scrollbars for IE, Edge and Firefox */
	-ms-overflow-style: none;
	scrollbar-width: none;
}

	/* Hide scrollbars for Chrome, Safari and Opera */
	.contentModal-body::-webkit-scrollbar,
	#contentFrame::-webkit-scrollbar {
		display: none !important;
		width: 0 !important;
		height: 0 !important;
	}

#contentFrame {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
	/* Ensure the iframe itself doesn't show bars */
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* Overlay */
.contentModal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.2);
	z-index: 10000;
}



/* Overlay Background - Blur Removed */
.featureDev-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* backdrop-filter removed */
    z-index: 1000000;
}

/* Container Logic */
.featureDev-modal .featureDev-modal-container {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    position: fixed;
    z-index: 1001;
    transition: transform 0.4s cubic-bezier(0.15, 0, 0.15, 1), opacity 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    height: 450px;
    z-index: 999999999 !important;
}

/* Drawer Handle */
.featureDev-drawer-handle {
    width: 40px;
    height: 5px;
    background: #e0e0e0;
    border-radius: 10px;
    margin: 12px auto 0;
    cursor: pointer;
    display: none;
}

@media (max-width: 768px) {
    .featureDev-drawer-handle {
        display: block;
    }

    .featureDev-modal .featureDev-modal-container {
        bottom: 0;
        left: 50%;
        width: 100%;
        max-height: 85vh;
        border-radius: 25px 25px 0 0;
        border-bottom: none;
        transform: translateX(-50%) translateY(100%);
    }
}

@media (min-width: 769px) {
    .featureDev-modal .featureDev-modal-container {
        top: 50%;
        left: 50%;
        width: 420px;
        border-radius: 30px;
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
}

/* Modal Active State */
.featureDev-modal.active .featureDev-modal-container {
    opacity: 1;
}

@media (max-width: 768px) {
    .featureDev-modal.active .featureDev-modal-container {
        transform: translateX(-50%) translateY(0);
    }
}

@media (min-width: 769px) {
    .featureDev-modal.active .featureDev-modal-container {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Header & Body */
.featureDev-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f8f8f8;
    text-align: center;
}

.featureDev-modal-title-text {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
}

.featureDev-modal-body {
    text-align: center;
    padding: 40px 20px;
}

/* GIF Centered */
.featureDev-gif {
    display: block;
    margin: 15px auto; /* Auto margins for perfect horizontal centering */
    width: 180px;
    height: auto;
    border-radius: 15px;
}

/* Pulse Animation Keyframes */
@keyframes featureDev-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.featureDev-status-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #bbb;
    letter-spacing: 1px;
    margin-bottom: 5px;
    animation: featureDev-pulse 2.5s ease-in-out infinite;
    text-transform: uppercase;
}

.featureDev-notice {
    color: #03a1fe;
    font-size: 14px;
    font-weight: 700;
    padding-left: 5px;
    padding-right: 5px;
    display: block;
    line-height: 1.5;
}

.featureDev-notice-sub {
    color: #999;
    font-size: 12px;
    font-weight: 500;
    padding-left: 20px;
    padding-right: 20px;
    display: block;
    line-height: 1.5;
}
/* Floating X Close Button */
.featureDev-floating-close-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f2f2f2;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.2s ease;
}

    .featureDev-floating-close-btn:hover, .featureDev-floating-close-btn:active {
        color: #ff3b30;
        background: #fff0f0;
        transform: scale(1.1);
    }


.privacyterms {
	font-family: "Roboto";
	font-size: 14px;
	font-weight: bold;
	color: #2b2116;
	white-space: pre-line;
	color: #666;
}

	.privacyterms:hover {
		color: #ff0000;
	}

	.privacyterms:active {
		color: #ff0000;
	}

/* Container Button */
.apk-download-btn {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 10px 14px;
    min-width: 220px;
    height: 45px;
    text-decoration: none;
    border: 1px solid #f8f8f8;
    transition: all 0.3s ease;
}

    .apk-download-btn:hover {
        box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
        border-color: #dc2626;
    }

/* Icon */
.apk-icon {
    height: 32px;
    margin-right: 12px;
}

/* Text Content Area */
.apk-info {
    flex-grow: 1;
    line-height: 1;
}

.apk-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    color: #4b5563;
    padding-top: 3px;
    margin-bottom: 2px;
}

.apk-title {
    font-size: 0.85rem;
    font-weight: 900;
    display: block;
    color: #dc2626;
}

/* Vertical Separator */
.apk-divider {
    width: 1px;
    height: 24px;
    background-color: #d1d5db;
    margin: 0 10px;
}

/* Release Date Stats */
.apk-meta {
    font-size: 0.55rem;
    color: #9ca3af;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    min-width: 55px;
}


.signupintro {
    font-family: Roboto;
    font-size: 9pt;
    color: #999;
    font-weight: 700;
    padding-left: 45px;
    padding-right: 40px;
    padding-top: 25px;
}

@media (max-width:600px){
    .signupintro {
        font-family: Roboto;
        font-size: 9pt;
        color: #999;
        font-weight: 700;
        padding-left: 5px;
        padding-right: 0px;
    }

}
