﻿/* ======================================================
   GENERAL / EXISTING STYLES
====================================================== */

#ctl00_cphMain_lblShow {
    font-size: 12px;
    color: Red;
}

.form-label1 {
    font-weight: normal;
    color: #aaa;
    position: absolute;
    top: -19px;
    left: 0;
    cursor: text;
    transition: 0.2s;
}

.bootstrap-select {
    border-bottom: 0px solid #ddd;
}

.CalendarCSS {
    background-color: #F44336;
    color: Snow;
    border: solid 1px Orange;
}

.ajax__calendar_days {
    left: -7px;
    font-size: 10px;
}

.loadingddl {
    z-index: 10;
    position: absolute;
    left: 11%;
    top: 85%;
    margin: -20px 0 0 -20px;
}

table.dataTable.display tbody tr.selected {
    background-color: #fed839;
}

.alert-minimalist {
    background-color: rgb(241, 242, 240);
    border-color: rgba(149, 149, 149, 0.3);
    border-radius: 3px;
    color: rgb(202, 31, 31);
    padding: 10px;
}

.clsToUppr {
    text-transform: uppercase;
}

.clsUserL {
    border: 2px solid white;
    height: 34px;
    margin-top: 19px !important;
    border-radius: 28px;
}

#cboxLoadingGraphic {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
}

/* ======================================================
   SIDEBAR BASE
====================================================== */

.sidebar {
    position: fixed;
    left: 0;
    width: 70px; /* collapsed width */
    height: 100%;
    z-index: 2000;
    overflow: hidden;
    background: #ffffff;
    transition: width 0.25s ease;
}

/* Expand sidebar */
body.sidebar-hover .sidebar,
body.sidebar-fixed .sidebar {
    width: 280px;
}

/* ======================================================
   CONTENT ADJUSTMENT
====================================================== */

@media (min-width: 1170px) {
    section.content {
        margin-left: 70px !important;
    }
    body.sidebar-hover section.content,
    body.sidebar-fixed section.content {
        margin-left: 280px !important;
    }    
} 

/* ======================================================
   USER INFO
====================================================== */
/* USER INFO – COLLAPSED */
.sidebar .user-info {
    padding: 15px 10px;
    display: flex;
    justify-content: center;
}

/* USER INFO – EXPANDED (FIX POSITION) */
body.sidebar-hover .sidebar .user-info,
body.sidebar-fixed .sidebar .user-info {
    display: block; /* 🔥 key fix */
    padding: 15px;
    text-align: left;
}


    .sidebar .user-info .image img {
        width: 42px;
        height: 42px;
        border-radius: 50%;
    }

/* Hide user info when collapsed */
body:not(.sidebar-hover):not(.sidebar-fixed)
.sidebar .user-info .info-container {
    display: none !important;
} 
/* ======================================================
   MAIN MENU
====================================================== */

.sidebar .menu .list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sidebar .menu .list li a {
        display: flex;
        align-items: center;
        height: 48px;
        padding: 0;
        color: #444;
        text-decoration: none;
        font-size: 14px;
    }

        /* MENU ICON (ALWAYS VISIBLE) */
        .sidebar .menu .list li a i {
            width: 50px;
            text-align: center;
            line-height: 48px;
            margin-left: 10px;
        }
    .sidebar .menu .list .ml-menu span {
        margin: 3px 0 1px 0px;
    }
        /* MENU TEXT */
        .sidebar .menu .list li a span {
            white-space: nowrap;
        }

/* Hide menu text when collapsed */
body:not(.sidebar-hover):not(.sidebar-fixed)
.sidebar .menu .list li a span {
    display: none !important;
}

/* ======================================================
   SUB MENU (THIS FIXES YOUR ISSUE)
====================================================== */

.sidebar .menu .ml-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f7f7f7;
}

/* Hide submenu when sidebar collapsed */
body:not(.sidebar-hover):not(.sidebar-fixed)
.sidebar .menu .ml-menu {
    display: none !important;
}

/* Submenu item */
.sidebar .menu .ml-menu li a {
    height: 42px;
    padding-left: 70px; /* <<< KEY ALIGNMENT */
    font-size: 13px;
    display: flex;
    align-items: center;
    color: #555;
}

    /* Submenu icon */
    .sidebar .menu .ml-menu li a i {
        width: 40px; 
    }

/* ======================================================
   TOGGLE ARROWS (AdminBSB)
====================================================== */

.sidebar .menu .list li a.menu-toggle:before,
.sidebar .menu .list li a.menu-toggle:after {
    right: 15px;
}

/* Hide arrows when collapsed */
body:not(.sidebar-hover):not(.sidebar-fixed)
.sidebar .menu .list li a.menu-toggle:before,
body:not(.sidebar-hover):not(.sidebar-fixed)
.sidebar .menu .list li a.menu-toggle:after {
    display: none !important;
}

/* ======================================================
   ACTIVE STATES
====================================================== */

.sidebar .menu .list li.active > a {
    background-color: #e3f2fd;
    font-weight: 600;
}

.sidebar .menu .ml-menu li.active > a {
    background-color: #dbeefe;
}

/* ======================================================
   SCROLLBAR CLEAN
====================================================== */

.sidebar::-webkit-scrollbar {
    width: 0;
}

/* ======================================================
   SIDEBAR TOGGLE BUTTON (OPTIONAL)
====================================================== */

.sidebar-toggle {
    position: absolute;
    top: 7%;
    right: -13px;
    width: 28px;
    height: 28px;
    background: #208eaa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 3000;
}

    .sidebar-toggle i {
        font-size: 20px;
        color: #fff;
    }

body.sidebar-fixed .sidebar-toggle i {
    transform: rotate(180deg);
}
.sidebar .menu .list a span {
    margin: 7px 0 7px -4px;
}
.sidebar .menu .list .ml-menu li .ml-menu li a  {
    padding-left: 33px !important;
}
.sidebar .menu .list .ml-menu li a {
    padding-left: 14px !important;
}

body.no-sidebar section.content {
    margin-left: 0 !important;
}

body.has-sidebar section.content {
    margin-left: 70px;
}

body.has-sidebar.sidebar-hover section.content,
body.has-sidebar.sidebar-fixed section.content {
    margin-left: 260px;
}
/* Proper Navbar Integration */
.li-collab {
    margin-right: 18px;
}

/* Clean SaaS Style */
.nav-collab-btn {
    border: 2px solid white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 15px !important;
    border-radius: 50px;
    background: #ffffff !important;
    color: #147c8c !important;    
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
}
 
    /* Icon refinement */
    .nav-collab-btn i {
        font-size: 18px;
        opacity: 0.95;
    }

    /* Professional hover */
    .nav-collab-btn:hover {
        background: transparent;
        color: #ff0303 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        text-decoration: none;
    }
/* Modal Base */
.collab-modal {
    border-radius: 14px;
    overflow: hidden;
    border: none; 
}

/* Dark Header */
.collab-header {
    background: #0c1445;
    color: #fff;
    padding: 35px;
    display: flex;
    gap: 25px;
}

.collab-icon {
    background: #67c100;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .collab-icon i {
        font-size: 30px;
        color: #fff;
    }

.collab-content h4 {
    font-weight: 700;
    margin-bottom: 8px;
}

.collab-content p {
    opacity: 0.85;
    margin-bottom: 20px;
}

/* Link Box */
.collab-link-box {
    display: flex;
    gap: 12px;
}

    .collab-link-box input {
        flex: 1;
        border-radius: 8px;
        border: none;
        padding: 12px;
        background: #2c3570;
        color: #fff;
    }

.btn-copy {
    background: #67c100;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.25s;
}

    .btn-copy:hover {
        background: #5ab000;
    }

/* Expiry */
.collab-expire {
    margin-top: 15px;
    font-size: 13px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Footer */
.collab-footer {
    background: #f4f6fb;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-icon {
    background: #6676d9;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-contact {
    background: #6676d9;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
}

.btn-learn {
    background: #e1e5f5;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
}
    .btn-contact:hover, .btn-learn:hover {
        text-decoration: none !important;
        color: white !important;
    }
 
