/* ===============================================
   BASIC PAGE SETUP
   =============================================== */

html, body {background-color: #222222;}
#sb-site {box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.3);padding: 50px 0 30px 0;}
#top-arrow {padding-top: 17px;padding-bottom: 13px;}
footer {margin-top: 30px;}

ul.navbar-nav {display: none;}


/* ===============================================
   NAVBAR COLORS & STYLING
   (Main navbar is styled in navbar_cosmo_override.css)
   =============================================== */

.navbar .sb-toggle-left {
width: 50px;
padding: 10px;
cursor: pointer;
flex-shrink: 0;
}

.navbar .sb-toggle-right {
width: 50px;
padding: 10px;
cursor: pointer;
flex-shrink: 0;
}

.navbar #logo {
flex-grow: 1;
text-align: center;
margin: 0;
padding: 0 10px;
}

.navbar #logo h3 {
margin: 0 !important;
padding: 0 !important;
color: white !important;
font-size: 18px;
line-height: 50px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.navicon-line {
width: 20px;
height: 4px;
border-radius: 3px;
margin-bottom: 3px;
background-color: #fff;
}


/* ===============================================
   SLIDEBAR COLORS
   =============================================== */

.sb-slidebar {
	background-color: #0a5f87;  /* ← SLIDEBAR BACKGROUND COLOR */
	color: #daf1fc;             /* ← SLIDEBAR TEXT COLOR */
}

.sb-slidebar a {
	color: #daf1fc;             /* ← SLIDEBAR LINK COLOR */
	text-decoration: none;
}

.sb-slidebar a:hover {
	color: #129de0;             /* ← SLIDEBAR LINK HOVER COLOR */
	text-decoration: underline;
}


/* ===============================================
   SIDE MENU - MAIN MENU ITEMS COLORS
   =============================================== */

.sb-menu {padding: 0;margin: 0;list-style-type: none;}
.sb-menu li {width: 100%;padding: 0;margin: 0;
	border-top: 0px solid #006393;     /* ← TOP BORDER COLOR */
	border-bottom: 1px solid #006393;        /* ← BOTTOM BORDER COLOR */}
.sb-menu > li:first-child {border-top: none;}
.sb-menu > li:last-child {border-bottom: none;}
.sb-menu li a {
    width: 100%;
    display: inline-block;
    padding: 0;
    height: 50px;
    line-height: 50px;
    padding-left: 15px;
    padding-right: 15px;
    color: #f2f2f2;
}.sb-menu li a:hover {text-decoration: none;background-color: #063a53;  /* ← MAIN MENU HOVER BACKGROUND */}


/* ===============================================
   SIDE MENU - LEFT BORDER HOVER EFFECT
   =============================================== */

.sb-left .sb-menu li a {border-left: 3px solid transparent;  /* ← CHANGE 3px to set border width, change color */}
.sb-left .sb-menu li a:hover {border-left: 3px solid #FF3971;      /* ← LEFT BORDER HOVER COLOR (change color here) */}
.sb-right .sb-menu li a {border-right: 3px solid transparent;}
.sb-right .sb-menu li a:hover {border-right: 3px solid #FF3971;     /* ← RIGHT BORDER HOVER COLOR */}


/* ===============================================
   SIDE MENU - SUBMENU COLORS & PADDING
   =============================================== */

.sb-submenu {
    display: none;
    list-style: none;
    padding-left: 0;
    margin: 0;
    background-color: #063a53;  /* ← SUBMENU BACKGROUND COLOR (darker than main) */
}

.sb-submenu li {
    border-left: 2px solid rgba(255, 255, 255, 0.1);  /* ← SUBMENU LEFT BORDER COLOR */
    border-top: none;
    border-bottom: none;
}

.sb-submenu a {
    padding: 0 !important;
    padding-left: 30px !important;
    padding-right: 15px !important;
    height: 50px;
    line-height: 50px;
    font-size: 16px !important;
    display: block;
    color: #f2f2f2;
}

.sb-submenu a:hover {
    background-color: #0a5f87;  /* ← SUBMENU HOVER BACKGROUND */
}


/* ===============================================
   MENU PARENT (Expandable Menu Items)
   =============================================== */

.menu-parent {
    position: relative;
    cursor: pointer;
    display: block;
    padding: 1em;
    color: #f2f2f2;             /* ← MENU PARENT TEXT COLOR */
    text-decoration: none;
    width: 100%;
}

.menu-parent:hover {
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.05);  /* ← MENU PARENT HOVER BACKGROUND */
}

.menu-parent i {
    float: right;
    transition: transform 0.3s ease;
    line-height: 50px;
    vertical-align: middle;
    display: inline-block;
    color: #f2f2f2;
    font-size: 8px;  /* ← ADD THIS - adjust size here */
}

.menu-parent.active i {
    transform: rotate(180deg);
}


/* ===============================================
   LEFT SLIDEBAR EXTRAS
   =============================================== */

.sb-menu li .sb-open-right, 
.sb-menu li small {
    display: inline-block;
    padding: 2px;
}

.sb-menu li img {
    margin: 14px;
}

.sb-toggle-left, 
.sb-toggle-right, 
.sb-open-left, 
.sb-open-right, 
.sb-close {
    cursor: pointer;
}

.sb-right {z-index: 9999;
}


/* ===============================================
   RIGHT SLIDEBAR (Profile Section)
   =============================================== */

aside#about-me {
    padding: 14px 14px 14px 14px;
}

img.img-me {
    margin: 14px auto;
    border: 4px solid #fff;
}


/* ===============================================
   HELPER CLASSES
   =============================================== */

.add-bottom-margin {
    margin-bottom: 15px;
}

.no-bottom-margin {
    margin-bottom: 0;
}

.add-top-margin {
    margin-top: 15px;
}

.no-top-margin {
    margin-top: 0;
}

.push-down {
    position: relative;
    top: 2px;
}

.img-responsive-stretch {
    display: block;
    width: 100%;
    height: auto;
}


/* ===============================================
   MEDIA QUERIES
   =============================================== */

@media (min-width: 768px) {
    ul.navbar-nav {
        display: block;
    }
    
    #logo {
        text-align: left;
    }
}

/* ===============================================
   MENU ICONS STYLING - FIXED VERSION
   Replace the previous icon CSS with this
   =============================================== */

/* Main icon (left side) for regular menu items */
.sb-menu li a > i.fa-home,
.sb-menu li a > i.fa-gear,
.sb-menu li a > i.fa-right-from-bracket {
    margin-right: 10px;
    width: 24px;
    font-size: 18px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
}

/* Main icon (left side) for menu parent items with submenus */
.menu-parent > i.fa-users,
.menu-parent > i.fa-store,
.menu-parent > i.fa-heart,
.menu-parent > i.fa-calendar-days,
.menu-parent > i.fa-briefcase,
.menu-parent > i.fa-building,
.menu-parent > i.fa-house,
.menu-parent > i.fa-palette {
    margin-right: 10px;
    width: 24px;
    font-size: 18px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    float: none !important;
    transform: none !important;  /* ← PREVENT ROTATION */
    transition: none !important;  /* ← NO TRANSITIONS */
}

/* Text label */
.menu-parent > span,
.sb-menu li a > span {
    display: inline-block;
    vertical-align: middle;
}

/* Chevron icon (right side) - dropdown arrow */
.menu-parent > i.fa-chevron-down {
    float: right !important;
    margin-right: 0 !important;
    margin-left: auto;
    width: auto !important;
    font-size: 12px !important;
    transition: transform 0.3s ease;
    line-height: 50px;
    vertical-align: middle;
    display: inline-block;
    color: #f2f2f2;
}

/* Rotate chevron when menu is active/open - ONLY chevron, not main icon */
.menu-parent.active > i.fa-chevron-down {
    transform: rotate(180deg) !important;
}

/* Make absolutely sure main icons DON'T rotate when active */
.menu-parent.active > i.fa-users,
.menu-parent.active > i.fa-store,
.menu-parent.active > i.fa-heart,
.menu-parent.active > i.fa-calendar-days,
.menu-parent.active > i.fa-briefcase,
.menu-parent.active > i.fa-building,
.menu-parent.active > i.fa-house,
.menu-parent.active > i.fa-palette {
    transform: none !important;
}

/* Optional: Make main icons slightly transparent */
.sb-menu li a > i:not(.fa-chevron-down) {
    opacity: 0.9;
}

/* Optional: Brighten icons on hover */
.sb-menu li a:hover > i:not(.fa-chevron-down),
.menu-parent:hover > i:not(.fa-chevron-down) {
    opacity: 1;
}


/* Force overlay sidebars to appear ABOVE navbar */
.sb-slidebar.sb-style-overlay {
    z-index: 9999 !important;
}
 
/* Specifically fix right sidebar overlay */
.sb-slidebar.sb-right.sb-style-overlay {
    z-index: 9999 !important;
}
 
/* Make sure navbar stays below overlay menus */
nav.navbar.sb-slide {
    z-index: 1030 !important;
}
 
/* When sidebar is active (open), ensure it's on top */
.sb-slidebar.sb-active.sb-style-overlay {
    z-index: 9999 !important;
}
 
 
 /* ===============================================
   RIGHT SIDEBAR - USER PROFILE SECTION COLORS
   Add this to your style.css
   =============================================== */

/* Profile Section Container */
aside#about-me {
    padding: 20px;
    background-color: transparent;  /* ← PROFILE SECTION BACKGROUND (inherits from .sb-slidebar) */
}

/* Profile Heading (h3) */
aside#about-me h3 {
    color: #ffffff;                 /* ← HEADING TEXT COLOR */
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);  /* ← HEADING BORDER COLOR */
}

/* Profile Text Paragraphs */
aside#about-me p {
    color: #e8e8e8;                 /* ← PARAGRAPH TEXT COLOR */
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Profile Menu List */
aside#about-me ul {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);  /* ← TOP BORDER COLOR */
}

aside#about-me ul li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);  /* ← DIVIDER BETWEEN ITEMS */
}

aside#about-me ul li:last-child {
    border-bottom: none;
}

/* Profile Menu Links */
aside#about-me ul li a {
    display: block;
    padding: 12px 15px;
    color: #f2f2f2;                 /* ← LINK TEXT COLOR */
    text-decoration: none;
    font-size: 15px;
    border-left: 3px solid transparent;  /* ← LEFT BORDER (hidden by default) */
    transition: all 0.3s ease;
}

/* Profile Menu Links Hover */
aside#about-me ul li a:hover {
    background-color: rgba(255, 255, 255, 0.08);  /* ← HOVER BACKGROUND COLOR */
    border-left: 3px solid #FF3971;               /* ← HOVER LEFT BORDER COLOR */
    color: #ffffff;                               /* ← HOVER TEXT COLOR */
    padding-left: 20px;             /* ← Slight indent on hover */
}

/* Optional: Add icons to profile menu items */
aside#about-me ul li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

aside#about-me ul li a:hover i {
    opacity: 1;
}

/* Optional: Profile Image (if you add one) */
aside#about-me img.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;             /* ← Makes it circular */
    border: 3px solid #ffffff;      /* ← IMAGE BORDER COLOR */
    margin: 0 auto 15px auto;
    display: block;
}






/* ===============================================
   SIDEBAR SCROLLBAR STYLING
   Choose ONE of the options below
   =============================================== */

/* ─────────────────────────────────────────────
   OPTION 1: HIDE SCROLLBAR (Still scrollable)
   ───────────────────────────────────────────── */

/* Hide scrollbar for Chrome, Safari, Edge */
.sb-slidebar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
.sb-slidebar {
    scrollbar-width: none;
}

/* Hide scrollbar for IE */
.sb-slidebar {
    -ms-overflow-style: none;
}


/* ─────────────────────────────────────────────
   OPTION 2: STYLE SCROLLBAR (Recommended)
   Comment out Option 1 above if using this
   ───────────────────────────────────────────── */

/* Scrollbar width */
.sb-slidebar::-webkit-scrollbar {
    width: 8px;  /* ← CHANGE WIDTH HERE (try 6px, 10px, 12px) */
}

/* Scrollbar track (background) */
.sb-slidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);  /* ← TRACK BACKGROUND COLOR (dark) */
    border-radius: 10px;
}

/* Scrollbar handle (the draggable part) */
.sb-slidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);  /* ← HANDLE COLOR (light gray) */
    border-radius: 10px;
}

/* Scrollbar handle on hover */
.sb-slidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);  /* ← HANDLE HOVER COLOR (brighter) */
}

/* Firefox scrollbar styling */
.sb-slidebar {
    scrollbar-width: thin;  /* Options: auto, thin, none */
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.2);  /* handle track */
}


/* ─────────────────────────────────────────────
   OPTION 3: STYLED SCROLLBAR (Alternative Colors)
   Comment out Options 1 & 2 if using this
   ───────────────────────────────────────────── */

/* Minimal thin scrollbar with accent color */
.sb-slidebar::-webkit-scrollbar {
    width: 6px;
}

.sb-slidebar::-webkit-scrollbar-track {
    background: transparent;  /* No track background */
}

.sb-slidebar::-webkit-scrollbar-thumb {
    background: #FF3971;  /* ← PINK ACCENT COLOR (matches your theme) */
    border-radius: 10px;
}

.sb-slidebar::-webkit-scrollbar-thumb:hover {
    background: #E83165;  /* ← DARKER PINK ON HOVER */
}

/* Firefox */
.sb-slidebar {
    scrollbar-width: thin;
    scrollbar-color: #FF3971 transparent;
}


/* ─────────────────────────────────────────────
   OPTION 4: ULTRA MINIMAL (Nearly Invisible)
   Comment out Options 1, 2 & 3 if using this
   ───────────────────────────────────────────── */

.sb-slidebar::-webkit-scrollbar {
    width: 4px;  /* Very thin */
}

.sb-slidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sb-slidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);  /* Very subtle */
    border-radius: 10px;
}

.sb-slidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Firefox */
.sb-slidebar {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}


/* ===============================================
   FIXED FOOTER BAR WITH 5 ICONS
   Add this to your style.css
   =============================================== */

/* Footer Bar Container */
.footer-bar-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    background-color: #021b26;  /* ← FOOTER BACKGROUND COLOR */
    border-top: 1px solid rgba(255, 255, 255, 0.1);  /* ← TOP BORDER COLOR */
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);  /* ← SHADOW */
}

/* Regular Footer Icons (Icons 1, 2, 4, 5) */
.footer-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999999;  /* ← ICON COLOR (inactive) */
    font-size: 22px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    flex: 1;
    max-width: 80px;
}

.footer-icon i {
    font-size: 22px;
    margin-bottom: 3px;
}

.footer-icon span {
    font-size: 11px;
    color: #999999;  /* ← LABEL COLOR (inactive) */
}

/* Regular Icons Hover/Active State */
.footer-icon:hover,
.footer-icon.active {
    color: #ffffff;  /* ← ICON COLOR (active/hover) */
}

.footer-icon:hover span,
.footer-icon.active span {
    color: #ffffff;  /* ← LABEL COLOR (active/hover) */
}

/* ═══════════════════════════════════════════════
   CENTER ICON (Icon 3) - SPECIAL/PROMINENT
   ═══════════════════════════════════════════════ */

.footer-icon-center {
    position: relative;
    top: -20px;  /* ← Overlaps upward (adjust this to move up/down) */
}

.footer-icon-center .center-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FF3971 0%, #E83165 100%);  /* ← CENTER ICON BACKGROUND */
    border-radius: 50%;  /* Makes it circular */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 57, 113, 0.4);  /* ← GLOW SHADOW */
    border: 4px solid #222222;  /* ← BORDER COLOR (matches footer background) */
    transition: all 0.3s ease;
}

.footer-icon-center i {
    font-size: 28px;
    color: #ffffff;  /* ← CENTER ICON COLOR */
    margin-bottom: 0;
}

/* Center Icon Hover Effect */
.footer-icon-center:hover .center-icon-wrapper {
    transform: scale(1.1);  /* Grows slightly on hover */
    box-shadow: 0 6px 16px rgba(255, 57, 113, 0.6);  /* Stronger glow */
}

/* Center Icon Active/Pressed Effect */
.footer-icon-center:active .center-icon-wrapper {
    transform: scale(0.95);  /* Shrinks slightly when clicked */
}

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 480px) {
    .footer-bar-fixed {
        height: 55px;
    }
    
    .footer-icon {
        font-size: 20px;
    }
    
    .footer-icon i {
        font-size: 20px;
    }
    
    .footer-icon span {
        font-size: 10px;
    }
    
    .footer-icon-center .center-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .footer-icon-center i {
        font-size: 24px;
    }
}

/* ═══════════════════════════════════════════════
   ADD SPACE AT BOTTOM OF PAGE CONTENT
   (So content doesn't go under footer)
   ═══════════════════════════════════════════════ */

body {
    padding-bottom: 80px;  /* Prevents content from being hidden under footer */
}

/* OR if you're using a specific content div: */
#sb-site {
    padding-bottom: 80px;
}


/* ===============================================
   NAVBAR - ALL ICONS CONSISTENT STYLING
   Replace your entire navbar CSS with this
   =============================================== */


/* ═══════════════════════════════════════════════
   ALL NAVBAR ICONS - EXACT SAME STYLING
   (Hamburgers, Search, Bell)
   ═══════════════════════════════════════════════ */

.navbar-icon-item {
    width: 50px;
    height: 50px;
	padding-left:12px;
	padding-right:8px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}

.navbar-icon-item i {
    font-size: 22px;
    color: #ffffff;
    transition: all 0.3s ease;
    line-height: 50px;
    vertical-align: middle;
}

.navbar-icon-item:hover i {
    color: #cccccc;
    transform: scale(1.1);
}

/* ═══════════════════════════════════════════════
   LOGO (Center)
   ═══════════════════════════════════════════════ */

nav.navbar.sb-slide #logo {
    flex-grow: 1;
    text-align: center;
    margin: 0;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

nav.navbar.sb-slide #logo h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: white !important;
    font-size: 15px;
	padding-bottom:5px;
    line-height: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════
   NOTIFICATION BADGE
   ═══════════════════════════════════════════════ */

.notification-badge {
    position: absolute;
    top: 8px;
    right: 6px;
    background-color: #ff3333;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #222222;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.notification-badge.hidden {
    display: none;
}

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 480px) {
    nav.navbar.sb-slide {
        height: 55px !important;
        padding: 0 3px !important;
    }
    
    .navbar-icon-item {
        width: 45px;
        height: 55px;
    }
    
    .navbar-icon-item i {
        font-size: 20px;
        line-height: 55px;
    }
    
    nav.navbar.sb-slide #logo h3 {
        font-size: 10px !important;
        line-height: 55px;
    }
    
    .notification-badge {
        min-width: 16px;
        height: 16px;
        font-size: 9px;
        top: 10px;
        right: 5px;
    }
}

/* ═══════════════════════════════════════════════
   CLEAN UP - Remove old styles
   ═══════════════════════════════════════════════ */

/* Hide old navicon lines if they still exist */
.navicon-line {
    display: none !important;
}

/* Remove any old navbar-left/navbar-right classes */
.navbar-left,
.navbar-right {
    float: none !important;
}
