/* ======================================================
   SkillForge Layout Styles
   Version : 1.0
   Description : Navbar, Hero, Sections, Footer
====================================================== */


/* ======================================================
   Navbar
====================================================== */

.navbar{

    height:80px;

    background:#ffffff;

    transition:.35s ease;

    z-index:999;

    margin-top:0 !important;

}

.navbar.sticky-top {
    top:0 !important;
    margin-top:0 !important;
}

.navbar.scrolled{

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.navbar-brand{

    font-size:1.5rem;

    font-weight:700;

    color:var(--primary)!important;

}

.logo-light {
    display: inline-block !important;
}

.logo-dark {
    display: none !important;
}

[data-bs-theme="dark"] .logo-light,
html.dark-mode .logo-light,
body.dark-mode .logo-light {
    display: none !important;
}

[data-bs-theme="dark"] .logo-dark,
html.dark-mode .logo-dark,
body.dark-mode .logo-dark {
    display: inline-block !important;
}

.logo-text {
    color: var(--primary);
}

.navbar-nav{

    gap:12px;

}

/* ======================================================
   Optimized Enterprise Global Search Bar
====================================================== */
.nav-search-wrapper {
    position: relative;
    max-width: 420px;
    width: 100%;
}

.nav-search-bar {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 100px;
    height: 40px;
    padding: 0 8px 0 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.nav-search-bar:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav-search-bar:focus-within {
    background: #FFFFFF;
    border-color: var(--primary, #F97316);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.nav-search-bar .search-icon {
    color: #94A3B8;
    transition: color 0.2s ease;
}

.nav-search-bar:hover .search-icon,
.nav-search-bar:focus-within .search-icon {
    color: var(--primary, #F97316);
}

.nav-search-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 0.875rem;
    color: #1E293B !important;
    cursor: pointer;
    font-weight: 500;
}

.nav-search-input::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.search-hotkey-badge kbd {
    background: #E2E8F0;
    color: #64748B;
    border: 1px solid #CBD5E1;
    border-radius: 5px;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* Dark Mode Search Bar */
[data-bs-theme="dark"] .nav-search-bar,
body.dark-mode .nav-search-bar {
    background: #0B0F19 !important;
    border: 1px solid #1F2937 !important;
}

[data-bs-theme="dark"] .nav-search-bar:hover,
body.dark-mode .nav-search-bar:hover {
    background: #111827 !important;
    border-color: #374151 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

[data-bs-theme="dark"] .nav-search-bar:focus-within,
body.dark-mode .nav-search-bar:focus-within {
    background: #111827 !important;
    border-color: var(--primary, #F97316) !important;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25) !important;
}

[data-bs-theme="dark"] .nav-search-input,
body.dark-mode .nav-search-input {
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .nav-search-input::placeholder,
body.dark-mode .nav-search-input::placeholder {
    color: #64748B !important;
}

[data-bs-theme="dark"] .search-hotkey-badge kbd,
body.dark-mode .search-hotkey-badge kbd {
    background: #1F2937 !important;
    color: #94A3B8 !important;
    border: 1px solid #374151 !important;
}

/* Command Palette Modal Styling */
.command-palette-modal .modal-content {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

#commandPaletteInput,
.command-palette-input,
#commandPaletteInput:focus,
.command-palette-input:focus,
[data-bs-theme="dark"] #commandPaletteInput:focus,
body.dark-mode #commandPaletteInput:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.command-palette-modal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.command-palette-modal .list-group-item {
    transition: all 0.15s ease;
    cursor: pointer;
    background: transparent;
}

.command-palette-modal .list-group-item:hover,
.command-palette-modal .list-group-item.active,
.command-palette-modal .list-group-item.active-palette-item {
    background: rgba(249, 115, 22, 0.08) !important;
    color: #1E293B !important;
    transform: translateX(2px);
}

/* ======================================================
   Modern Professional Theme Toggle Button
====================================================== */

.theme-toggle-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 50% !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.theme-toggle-btn:focus-visible {
    outline: 2px solid var(--primary, #F97316);
    outline-offset: 2px;
}

.theme-toggle-btn:hover {
    background: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.theme-toggle-btn .theme-icon-sun {
    display: none;
    color: #F59E0B;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.theme-toggle-btn .theme-icon-moon {
    display: block;
    color: #64748B;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.theme-toggle-btn:hover .theme-icon-moon {
    color: #6366F1;
    transform: rotate(18deg) scale(1.1);
}

.theme-toggle-btn:hover .theme-icon-sun {
    color: #F59E0B;
    transform: rotate(45deg) scale(1.1);
}

/* Dark Mode Appearance */
[data-bs-theme="dark"] .theme-toggle-btn,
html.dark-mode .theme-toggle-btn,
body.dark-mode .theme-toggle-btn {
    background: #1E293B !important;
    border-color: #334155 !important;
    color: #F8FAFC !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-bs-theme="dark"] .theme-toggle-btn:hover,
html.dark-mode .theme-toggle-btn:hover,
body.dark-mode .theme-toggle-btn:hover {
    background: #273549 !important;
    border-color: #475569 !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25) !important;
}

[data-bs-theme="dark"] .theme-toggle-btn .theme-icon-moon,
html.dark-mode .theme-toggle-btn .theme-icon-moon,
body.dark-mode .theme-toggle-btn .theme-icon-moon {
    display: none !important;
}

[data-bs-theme="dark"] .theme-toggle-btn .theme-icon-sun,
html.dark-mode .theme-toggle-btn .theme-icon-sun,
body.dark-mode .theme-toggle-btn .theme-icon-sun {
    display: block !important;
    color: #F59E0B !important;
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6));
}

.command-palette-modal .list-group-item.active-palette-item h6,
.command-palette-modal .list-group-item:hover h6 {
    color: var(--primary, #F97316) !important;
}

[data-bs-theme="dark"] .command-palette-modal .modal-content,
body.dark-mode .command-palette-modal .modal-content {
    background: #0F172A !important;
    border: 1px solid #1E293B !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7) !important;
}

[data-bs-theme="dark"] .command-palette-modal .modal-header,
body.dark-mode .command-palette-modal .modal-header {
    border-bottom: 1px solid #1E293B !important;
    background: #0B0F19 !important;
}

[data-bs-theme="dark"] .command-palette-modal .modal-footer,
body.dark-mode .command-palette-modal .modal-footer {
    border-top: 1px solid #1E293B !important;
    background: #0B0F19 !important;
}

[data-bs-theme="dark"] .command-palette-modal .list-group-item:hover,
[data-bs-theme="dark"] .command-palette-modal .list-group-item.active,
[data-bs-theme="dark"] .command-palette-modal .list-group-item.active-palette-item,
body.dark-mode .command-palette-modal .list-group-item:hover,
body.dark-mode .command-palette-modal .list-group-item.active,
body.dark-mode .command-palette-modal .list-group-item.active-palette-item {
    background: rgba(249, 115, 22, 0.15) !important;
    color: #F8FAFC !important;
}

.nav-link{

    color:var(--secondary)!important;

    font-weight:500;

    position:relative;

    transition:.3s;

}

/* Active Sidebar Navigation Item */
.sidebar .nav-link.active,
.sidebar .menu a.active,
.sidebar .menu-item.active,
.menu a.active {
    background-color: var(--primary) !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-left: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35) !important;
}

.sidebar .nav-link.active i,
.sidebar .menu a.active i,
.sidebar .menu-item.active i,
.menu a.active i {
    color: #ffffff !important;
}

/* Collapsible Sidebar Section Toggle & Accordion Styling */
.sidebar-section-toggle,
.menu-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #64748b !important;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 4px;
    margin-bottom: 2px;
}

.sidebar-section-toggle:hover,
.menu-section-toggle:hover {
    color: #1e293b !important;
    background-color: rgba(249, 115, 22, 0.06);
}

.sidebar-section-toggle.active-section,
.menu-section-toggle.active-section {
    color: var(--primary) !important;
}

body.dark-mode .sidebar-section-toggle,
body.dark-mode .menu-section-toggle {
    color: #94a3b8 !important;
}

body.dark-mode .sidebar-section-toggle:hover,
body.dark-mode .menu-section-toggle:hover {
    color: #f8fafc !important;
    background-color: rgba(56, 189, 248, 0.1);
}

body.dark-mode .sidebar-section-toggle.active-section,
body.dark-mode .menu-section-toggle.active-section {
    color: #38bdf8 !important;
}

/* Dropdown Chevron Arrow Rotation Animation */
.chevron-icon {
    font-size: 0.72rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-section-toggle[aria-expanded="true"] .chevron-icon,
.sidebar-section-toggle.open .chevron-icon,
.menu-section-toggle[aria-expanded="true"] .chevron-icon,
.menu-section-toggle.open .chevron-icon {
    transform: rotate(180deg);
}

/* Submenu Smooth Expand & Collapse Animation */
.sidebar-submenu,
.menu-section .submenu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-submenu .nav-link,
.menu-section .nav-link,
.menu-section .submenu a {
    padding: 8px 14px 8px 22px !important;
    font-size: 0.86rem !important;
}

/* ====================================================
   DYNAMIC BREADCRUMB NAVIGATION STYLES
   ==================================================== */
.breadcrumb-wrapper {
    background-color: rgba(248, 250, 252, 0.9) !important;
    backdrop-filter: blur(8px);
    border-color: #e2e8f0 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease;
}

.breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before {
    content: "\f105"; /* FontAwesome chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #94a3b8;
    font-size: 0.75rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
}

.breadcrumb-wrapper a {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb-wrapper a:hover {
    color: var(--primary) !important;
}

.breadcrumb-wrapper .breadcrumb-item.active span {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Dark Mode Breadcrumb Rules */
body.dark-mode .breadcrumb-wrapper {
    background-color: rgba(30, 41, 59, 0.9) !important;
    border-color: #334155 !important;
}

body.dark-mode .breadcrumb-wrapper a {
    color: #94a3b8;
}

body.dark-mode .breadcrumb-wrapper a:hover {
    color: #38bdf8 !important;
}

body.dark-mode .breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before {
    color: #64748b;
}

body.dark-mode .breadcrumb-wrapper .breadcrumb-item.active span {
    color: #38bdf8 !important;
}

body.dark-mode .breadcrumb-wrapper .breadcrumb-item.active i {
    color: #38bdf8 !important;
}

/* ====================================================
   GLOBAL COMMAND PALETTE (CTRL+K) STYLES
   ==================================================== */
.command-palette-modal .modal-content {
    background-color: #ffffff;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.command-palette-item {
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.command-palette-item:hover,
.active-palette-item {
    background-color: rgba(37, 99, 235, 0.08) !important;
    border-color: rgba(37, 99, 235, 0.2) !important;
    transform: translateX(2px);
}

.active-palette-item .palette-icon-wrapper {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

.active-palette-item h6 {
    color: var(--primary) !important;
    font-weight: 700 !important;
}

/* Dark Mode Command Palette Styling */
body.dark-mode .command-palette-modal .modal-content {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    border: 1px solid #334155 !important;
}

body.dark-mode .command-palette-modal .modal-header,
body.dark-mode .command-palette-modal .modal-footer {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

body.dark-mode #commandPaletteInput {
    color: #f8fafc !important;
}

body.dark-mode #commandPaletteInput::placeholder {
    color: #64748b !important;
}

body.dark-mode .command-palette-item {
    background-color: transparent !important;
    color: #cbd5e1 !important;
}

body.dark-mode .command-palette-item:hover,
body.dark-mode .active-palette-item {
    background-color: rgba(56, 189, 248, 0.12) !important;
}

body.dark-mode .active-palette-item h6 {
    color: #38bdf8 !important;
}

/* ====================================================
   REAL-TIME NOTIFICATION CENTER STYLES
   ==================================================== */
.unread-notif-bg {
    background-color: rgba(37, 99, 235, 0.04) !important;
}

.notif-card-item {
    transition: all 0.2s ease;
}

.notif-card-item:hover {
    background-color: rgba(37, 99, 235, 0.07) !important;
    transform: translateY(-1px);
}

.notif-icon-box {
    transition: transform 0.2s ease;
}

.notif-card-item:hover .notif-icon-box {
    transform: scale(1.08);
}

/* Dark Mode Notification Rules */
body.dark-mode .unread-notif-bg {
    background-color: rgba(56, 189, 248, 0.08) !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
}

body.dark-mode .notif-card-item {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

body.dark-mode .notif-card-item:hover {
    background-color: #334155 !important;
}

.nav-link:hover{

    color:var(--primary)!important;

}

.nav-link.active{

    color:var(--primary)!important;

}

.nav-link::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-4px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

.nav-link:hover::after{

    width:100%;

}

.navbar-toggler{

    border:none;

}

.navbar-toggler:focus{

    box-shadow:none;

}


/* ======================================================
   Hero Section
====================================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    background:linear-gradient(
    135deg,
    #F8FAFC,
    #EEF4FF
    );

    overflow:hidden;

}

.hero h1{

    font-size:3.4rem;

    line-height:1.2;

}

.hero p{

    font-size:1.1rem;

}

.hero-image{

    max-width:100%;

    animation:floatImage 5s ease-in-out infinite;

}

@keyframes floatImage{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0px);

    }

}


/* ======================================================
   Statistics
====================================================== */

.stats{

    background:white;

}

.stats h2{

    color:var(--primary);

    font-size:2.6rem;

    font-weight:700;

}

.stats p{

    margin:0;

}


/* ======================================================
   Feature Section
====================================================== */

#features{

    background: transparent;

}

#features .feature-card{

    transition:.35s;

}

#features .feature-card:hover{

    box-shadow:0 20px 40px rgba(0,0,0,.10);

}


/* ======================================================
   CTA Section
====================================================== */

.cta{

    background:linear-gradient(
    135deg,
    var(--primary),
    #3B82F6
    );

    color:white;

}

.cta h2{

    color:white;

}

.cta p{

    color:#E5E7EB;

}


/* ======================================================
   Footer Styling & Perfect Alignment
====================================================== */

.footer {
    background: #0B0F19 !important;
    color: #94A3B8;
    padding: 65px 0 28px;
    border-top: 1px solid #1E293B;
    position: relative;
    z-index: 10;
}

.footer-brand {
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand img {
    border: 2px solid rgba(249, 115, 22, 0.4);
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.25);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #94A3B8 !important;
    max-width: 360px;
}

.footer-title {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: #F8FAFC !important;
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 18px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary, #F97316);
    border-radius: 2px;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list a {
    color: #94A3B8 !important;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-nav-list a:hover {
    color: var(--primary, #F97316) !important;
    transform: translateX(4px);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    color: #CBD5E1;
    font-size: 0.9rem;
    margin-bottom: 0 !important;
}

.footer-contact-list a {
    color: #CBD5E1 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list a:hover {
    color: var(--primary, #F97316) !important;
}

.contact-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.12);
    color: var(--primary, #F97316);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary, #F97316);
    border-color: var(--primary, #F97316);
    color: #FFFFFF !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 36px 0 24px;
}

.copyright-text {
    font-size: 0.85rem;
    color: #94A3B8 !important;
}

.footer-legal-links {
    margin: 0;
}

.footer-legal-links .legal-link {
    color: #94A3B8 !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-legal-links .legal-link:hover {
    color: var(--primary, #F97316) !important;
}

.link-bullet {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    user-select: none;
}


/* ======================================================
   Section Heading
====================================================== */

.section-title{

    margin-bottom:60px;

}

.section-title h2{

    font-size:2.5rem;

}

.section-title p{

    max-width:700px;

    margin:auto;

}


/* ======================================================
   Cards
====================================================== */

.info-card{

    background:white;

    border-radius:16px;

    padding:35px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.info-card:hover{

    transform:translateY(-8px);

}


/* ======================================================
   Breadcrumb
====================================================== */

.breadcrumb-section{

    margin-top:80px;

    background:#EEF4FF;

    padding:80px 0;

}

.breadcrumb-section h1{

    margin-bottom:15px;

}


/* ======================================================
   Page Banner
====================================================== */

.page-banner{

    padding:120px 0 80px;

    background:linear-gradient(
    135deg,
    var(--primary),
    #4F8EF7
    );

    color:white;

    text-align:center;

}

.page-banner h1{

    color:white;

}


/* ======================================================
   Forms Section
====================================================== */

.auth-section{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#F8FAFC;

}


/* ======================================================
   Dashboard Layout & Enhanced Sidebar Styles
====================================================== */

/* ======================================================
   Platform Navigation Menu Button (Icon Only)
   Inspired by high-end modern SaaS platforms
====================================================== */

.nav-menu-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    color: #1E293B !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-menu-btn:hover,
.nav-menu-btn[aria-expanded="true"] {
    background: #FFFFFF !important;
    border-color: var(--primary, #F97316) !important;
    color: var(--primary, #F97316) !important;
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.15) !important;
}

/* Offcanvas Drawer Base */
.platform-nav-drawer {
    width: 320px !important;
    max-width: 86vw !important;
    background: #FFFFFF !important;
    border-right: 1px solid #E2E8F0 !important;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.14) !important;
    z-index: 1085 !important;
}

.drawer-header {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border-bottom: 1px solid #E2E8F0 !important;
}

.drawer-brand-logo-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.drawer-role-badge {
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.25);
    color: var(--primary, #F97316);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.role-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10B981;
    box-shadow: 0 0 6px #10B981;
}

.drawer-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: #F1F5F9;
    color: #64748B;
    border: 1px solid #E2E8F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-close-btn:hover {
    background-color: #E2E8F0;
    color: #0F172A;
    border-color: #CBD5E1;
    transform: rotate(90deg);
}

/* Section Header Labels */
.drawer-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #94A3B8;
    padding: 0 8px;
    margin-bottom: 8px;
}

.section-accent-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

/* Premium Navigation Items */
.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none !important;
    background: transparent;
    border: 1px solid transparent;
    color: #334155;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
}

.drawer-item-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-item-title {
    font-size: 0.88rem;
    font-weight: 500;
    color: #1E293B;
    transition: color 0.18s ease;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-item-arrow {
    font-size: 0.7rem;
    color: #94A3B8;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.drawer-nav-item:hover {
    background: #F8FAFC;
    border-color: #E2E8F0;
    transform: translateX(3px);
}

.drawer-nav-item:hover .drawer-item-icon-box {
    transform: scale(1.08);
    background: #FFFFFF;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    border-color: rgba(249, 115, 22, 0.3);
}

.drawer-nav-item:hover .drawer-item-title {
    color: var(--primary, #F97316);
}

.drawer-nav-item:hover .drawer-item-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary, #F97316);
}

/* Active Item State */
.drawer-nav-item.active {
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.12) 0%, rgba(249, 115, 22, 0.03) 100%) !important;
    border-color: rgba(249, 115, 22, 0.28) !important;
}

.drawer-nav-item.active .drawer-item-icon-box {
    background: rgba(249, 115, 22, 0.15) !important;
    border-color: rgba(249, 115, 22, 0.4) !important;
    color: var(--primary, #F97316) !important;
}

.drawer-nav-item.active .drawer-item-title {
    color: var(--primary, #F97316) !important;
    font-weight: 600;
}

.drawer-nav-item.active .drawer-item-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary, #F97316);
}

/* Subtle Badge Color Helpers */
.bg-purple-subtle { background-color: rgba(139, 92, 246, 0.12) !important; }
.text-purple { color: #8B5CF6 !important; }
.bg-indigo-subtle { background-color: rgba(99, 102, 241, 0.12) !important; }
.text-indigo { color: #6366F1 !important; }
.bg-teal-subtle { background-color: rgba(20, 184, 166, 0.12) !important; }
.text-teal { color: #14B8A6 !important; }

/* Drawer Footer */
.drawer-footer {
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0 !important;
}

.drawer-user-avatar-badge {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.85rem;
    font-weight: 700;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
    border: 2px solid #FFFFFF;
}

.online-indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10B981;
    display: inline-block;
}

.drawer-logout-btn {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #EF4444;
    transition: all 0.2s ease;
}

.drawer-logout-btn:hover {
    background: #EF4444;
    border-color: #EF4444;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

/* Dark Mode Overrides for Navigation Drawer */
[data-bs-theme="dark"] .nav-menu-btn,
body.dark-mode .nav-menu-btn {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .nav-menu-btn:hover,
body.dark-mode .nav-menu-btn:hover,
[data-bs-theme="dark"] .nav-menu-btn[aria-expanded="true"],
body.dark-mode .nav-menu-btn[aria-expanded="true"] {
    background: #0F172A !important;
    border-color: var(--primary, #F97316) !important;
    color: var(--primary, #F97316) !important;
}

[data-bs-theme="dark"] .platform-nav-drawer,
body.dark-mode .platform-nav-drawer {
    background: #0B1120 !important;
    border-color: #1E293B !important;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.75) !important;
}

[data-bs-theme="dark"] .drawer-header,
body.dark-mode .drawer-header {
    background: linear-gradient(180deg, #0F172A 0%, #0B1120 100%) !important;
    border-color: #1E293B !important;
}

[data-bs-theme="dark"] .drawer-brand-logo-wrap,
body.dark-mode .drawer-brand-logo-wrap {
    background: #1E293B;
    border-color: #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .drawer-close-btn,
body.dark-mode .drawer-close-btn,
html.dark-mode .drawer-close-btn {
    background-color: #1E293B !important;
    border: 1px solid #334155 !important;
    color: #CBD5E1 !important;
    filter: none !important;
}

[data-bs-theme="dark"] .drawer-close-btn:hover,
body.dark-mode .drawer-close-btn:hover,
html.dark-mode .drawer-close-btn:hover {
    background-color: #334155 !important;
    border-color: #475569 !important;
    color: #FFFFFF !important;
}

[data-bs-theme="dark"] .drawer-section-label,
body.dark-mode .drawer-section-label {
    color: #64748B !important;
}

[data-bs-theme="dark"] .drawer-nav-item,
body.dark-mode .drawer-nav-item {
    background: transparent !important;
    border-color: transparent !important;
    color: #94A3B8 !important;
}

[data-bs-theme="dark"] .drawer-item-icon-box,
body.dark-mode .drawer-item-icon-box {
    background: #111C31 !important;
    border-color: #1E293B !important;
}

[data-bs-theme="dark"] .drawer-item-title,
body.dark-mode .drawer-item-title {
    color: #CBD5E1 !important;
}

[data-bs-theme="dark"] .drawer-nav-item:hover,
body.dark-mode .drawer-nav-item:hover {
    background: #111C31 !important;
    border-color: #1E293B !important;
}

[data-bs-theme="dark"] .drawer-nav-item:hover .drawer-item-icon-box,
body.dark-mode .drawer-nav-item:hover .drawer-item-icon-box {
    background: #1E293B !important;
    border-color: rgba(249, 115, 22, 0.4) !important;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.15) !important;
}

[data-bs-theme="dark"] .drawer-nav-item:hover .drawer-item-title,
body.dark-mode .drawer-nav-item:hover .drawer-item-title {
    color: #FB923C !important;
}

[data-bs-theme="dark"] .drawer-nav-item.active,
body.dark-mode .drawer-nav-item.active {
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.16) 0%, rgba(249, 115, 22, 0.03) 100%) !important;
    border-color: rgba(249, 115, 22, 0.35) !important;
}

[data-bs-theme="dark"] .drawer-nav-item.active .drawer-item-icon-box,
body.dark-mode .drawer-nav-item.active .drawer-item-icon-box {
    background: rgba(249, 115, 22, 0.2) !important;
    border-color: rgba(249, 115, 22, 0.5) !important;
    color: #FB923C !important;
}

[data-bs-theme="dark"] .drawer-nav-item.active .drawer-item-title,
body.dark-mode .drawer-nav-item.active .drawer-item-title {
    color: #FB923C !important;
}

[data-bs-theme="dark"] .drawer-footer,
body.dark-mode .drawer-footer {
    background: #080D1A !important;
    border-color: #1E293B !important;
}

[data-bs-theme="dark"] .drawer-user-avatar-badge,
body.dark-mode .drawer-user-avatar-badge {
    border-color: #1E293B;
}

/* ======================================================
   Dashboard Layout & Global Sidebar Removal
   Pages now stretch cleanly to 100% full width
====================================================== */

main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.dashboard-wrapper{
    display:block !important;
    width: 100% !important;
    min-height:100vh;
    background:var(--light, #F8FAFC);
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.dashboard-content{
    width: 100% !important;
    max-width: 100% !important;
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
    transition:all .3s ease;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove static left vertical sidebar from all views */
.sidebar,
#mainSidebar,
.sidebar-backdrop {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.sidebar-menu-btn {
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    color: #1E293B !important;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sidebar-menu-btn:hover {
    background: var(--primary, #f97316) !important;
    border-color: var(--primary, #f97316) !important;
    color: #ffffff !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.sidebar-body{
    flex:1;
    overflow-y:auto;
    scrollbar-width:thin;
}

.sidebar .nav-link{
    color:#475569 !important;
    font-weight:500;
    font-size:0.9rem;
    padding:10px 14px;
    border-radius:10px;
    margin-bottom:3px;
    transition:all .2s ease;
}

.sidebar .nav-link:hover{
    color:var(--primary, #F97316) !important;
    background-color:rgba(249,115,22,.08) !important;
    transform:translateX(3px);
}

.sidebar .nav-link.active{
    color:#ffffff !important;
    background:var(--primary, #F97316) !important;
    background-color:var(--primary, #F97316) !important;
    font-weight:600 !important;
    border-radius:8px !important;
    border-left:none !important;
    box-shadow:0 4px 12px rgba(249,115,22,.35) !important;
}

.sidebar .nav-link.active i{
    color:#ffffff !important;
}

.sidebar-section-toggle {
    color: #64748B !important;
}

.sidebar-section-toggle:hover,
.sidebar-section-toggle.active-section {
    color: var(--primary, #F97316) !important;
}

.sidebar-footer {
    border-top: 1px solid #E2E8F0 !important;
}

.sidebar-footer .card {
    background-color: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    color: #1E293B !important;
}

.sidebar-footer .text-secondary {
    color: #64748B !important;
}

.sidebar .nav-link::after{
    display:none!important;
}

.fs-xs{
    font-size:0.75rem;
}

.fs-sm{
    font-size:0.875rem;
}

/* Dark Mode Sidebar Theme (Rich Navy Slate) */
[data-bs-theme="dark"] .sidebar,
body.dark-mode .sidebar {
    background: #0F172A !important;
    border-right: 1px solid #1E293B !important;
}

[data-bs-theme="dark"] .sidebar-brand,
body.dark-mode .sidebar-brand {
    border-bottom: 1px solid #1E293B !important;
}

[data-bs-theme="dark"] .sidebar-top-header,
body.dark-mode .sidebar-top-header {
    background: #0F172A !important;
    border-bottom: 1px solid #1E293B !important;
}

[data-bs-theme="dark"] .sidebar-menu-btn,
body.dark-mode .sidebar-menu-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .sidebar .nav-link,
body.dark-mode .sidebar .nav-link {
    color: #94A3B8 !important;
}

[data-bs-theme="dark"] .sidebar .nav-link:hover,
body.dark-mode .sidebar .nav-link:hover {
    color: #FFFFFF !important;
    background-color: rgba(249, 115, 22, 0.15) !important;
}

[data-bs-theme="dark"] .sidebar .nav-link.active,
body.dark-mode .sidebar .nav-link.active {
    color: #FFFFFF !important;
    background: var(--primary, #F97316) !important;
}

[data-bs-theme="dark"] .sidebar-section-toggle,
body.dark-mode .sidebar-section-toggle {
    color: #94A3B8 !important;
}

[data-bs-theme="dark"] .sidebar-section-toggle:hover,
body.dark-mode .sidebar-section-toggle.active-section {
    color: #FFFFFF !important;
}

[data-bs-theme="dark"] .sidebar-footer,
body.dark-mode .sidebar-footer {
    border-top: 1px solid #1E293B !important;
}

[data-bs-theme="dark"] .sidebar-footer .card,
body.dark-mode .sidebar-footer .card {
    background-color: #1E293B !important;
    border: 1px solid #334155 !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .sidebar-footer .text-secondary,
body.dark-mode .sidebar-footer .text-secondary {
    color: #94A3B8 !important;
}

/* Compact Sidebar Mode */
body.sidebar-compact .sidebar{
    width:80px;
    min-width:80px;
}

body.sidebar-compact .sidebar-top-header {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.sidebar-compact .sidebar-top-header #sidebarToggleBtn {
    margin: 0 auto !important;
}

body.sidebar-compact .brand-text,
body.sidebar-compact .menu-label,
body.sidebar-compact .sidebar .nav-link span,
body.sidebar-compact .sidebar-footer .fs-xs,
body.sidebar-compact .compact-text{
    display:none!important;
}

body.sidebar-compact .sidebar .nav-link{
    justify-content:center;
    padding:12px;
}

body.sidebar-compact .sidebar .nav-link i{
    margin-right:0!important;
    font-size:1.25rem;
}

body.sidebar-compact .sidebar-footer .card{
    padding:6px!important;
}

/* Sidebar Backdrop Overlay on Mobile */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sidebar Behavior */
@media(max-width:767.98px){
    .sidebar{
        position:fixed;
        left:-280px;
        top:0;
        bottom:0;
        z-index:1050;
        box-shadow:0 0 25px rgba(0,0,0,.2);
        width: 270px !important;
        min-width: 270px !important;
    }
    
    .sidebar.show{
        left:0;
    }

    /* Force expanded layout in mobile drawer even if body has sidebar-compact */
    body.sidebar-compact .brand-text,
    body.sidebar-compact .menu-label,
    body.sidebar-compact .sidebar .nav-link span,
    body.sidebar-compact .sidebar-footer .fs-xs,
    body.sidebar-compact .compact-text {
        display: block !important;
    }
    
    body.sidebar-compact .sidebar .nav-link {
        justify-content: flex-start !important;
        padding: 10px 14px !important;
    }
    
    body.sidebar-compact .sidebar .nav-link i {
        margin-right: 1rem !important;
        font-size: 0.9rem !important;
    }
    
    body.sidebar-compact .sidebar-footer .card {
        padding: 16px !important;
    }
}

/* Touch-friendly navigation targets for mobile and tablet */
@media(max-width:1199.98px) {
    .sidebar .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Dark Mode Extensions */
body.dark-mode{
    background-color:#0F172A!important;
    color:#F8FAFC!important;
}

body.dark-mode .sidebar,
body.dark-mode .navbar,
body.dark-mode .card,
body.dark-mode .modal-content{
    background-color:#1E293B!important;
    color:#F8FAFC!important;
    border-color:#334155!important;
}

body.dark-mode .sidebar .nav-link{
    color:#94A3B8!important;
}

body.dark-mode .sidebar .nav-link:hover{
    color:#38BDF8!important;
    background-color:rgba(56,189,248,.12);
}

body.dark-mode .sidebar .nav-link.active{
    color:#ffffff!important;
    background:linear-gradient(135deg, var(--primary), var(--primary-dark))!important;
}

body.dark-mode .dropdown-menu{
    background-color:#1E293B!important;
    border-color:#334155!important;
}

body.dark-mode .dropdown-item{
    color:#CBD5E1!important;
}

body.dark-mode .dropdown-item:hover{
    background-color:#334155!important;
    color:#ffffff!important;
}

body.dark-mode .bg-light,
body.dark-mode .bg-light-subtle{
    background-color:#334155!important;
    color:#F8FAFC!important;
}

body.dark-mode .text-dark{
    color:#F8FAFC!important;
}

body.dark-mode .text-muted{
    color:#94A3B8!important;
}

body.dark-mode .form-control{
    background-color:#0F172A!important;
    color:#F8FAFC!important;
    border-color:#334155!important;
}

/* Spacing Utilities */

.py-section{
    padding:90px 0;
}

.mt-navbar{
    margin-top:80px;
}

/* ======================================================
   Professional Profile Button & Avatar Badges
====================================================== */

.profile-avatar-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    cursor: pointer !important;
}

.profile-avatar-btn:hover,
.profile-avatar-btn:focus,
.show > .profile-avatar-btn {
    background: transparent !important;
    border-color: transparent !important;
    transform: scale(1.06);
}

.user-avatar-badge {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: #FFFFFF !important;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
    user-select: none;
    letter-spacing: 0.5px;
    border: 2px solid #FFFFFF;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-avatar-btn:hover .user-avatar-badge {
    transform: scale(1.04);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.45);
}

.user-avatar-badge-lg {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: #FFFFFF !important;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
    user-select: none;
    letter-spacing: 0.5px;
}

.user-avatar-img {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.profile-avatar-btn:hover .user-avatar-img {
    transform: scale(1.04) !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35) !important;
}

.user-avatar-img-lg {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 2px solid var(--primary, #F97316) !important;
    display: block !important;
}

.user-status-dot {
    width: 10px;
    height: 10px;
    background-color: #10B981 !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.6);
    transform: translate(25%, 25%) !important;
}

.profile-dropdown-header {
    background: #F8FAFC !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

/* Dark Mode Overrides for Profile Components */
[data-bs-theme="dark"] .profile-avatar-btn,
body.dark-mode .profile-avatar-btn {
    background: transparent !important;
    border-color: transparent !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .profile-avatar-btn:hover,
[data-bs-theme="dark"] .profile-avatar-btn:focus,
[data-bs-theme="dark"] .show > .profile-avatar-btn,
body.dark-mode .profile-avatar-btn:hover,
body.dark-mode .profile-avatar-btn:focus,
body.dark-mode .show > .profile-avatar-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .user-avatar-badge,
body.dark-mode .user-avatar-badge,
[data-bs-theme="dark"] .user-avatar-img,
body.dark-mode .user-avatar-img {
    border-color: #1E293B !important;
}

[data-bs-theme="dark"] .user-status-dot,
body.dark-mode .user-status-dot {
    border-color: #111827 !important;
}

[data-bs-theme="dark"] .profile-dropdown-header,
body.dark-mode .profile-dropdown-header {
    background: #0B0F19 !important;
    border-bottom: 1px solid #1E293B !important;
}

/* ======================================================
   Clean Enterprise Profile Page Styling
====================================================== */

.profile-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.profile-hero-banner {
    background: linear-gradient(135deg, #0B0F19 0%, #111827 50%, #1E293B 100%) !important;
    color: #FFFFFF !important;
    position: relative;
}

.profile-hero-avatar-wrapper {
    width: 92px;
    height: 92px;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.profile-hero-avatar-img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.profile-hero-avatar-initials {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: #FFFFFF !important;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
    user-select: none;
}

.profile-avatar-camera-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #1E293B;
    border: 2px solid #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.profile-avatar-camera-btn:hover {
    background: var(--primary, #F97316);
    color: #FFFFFF;
    transform: scale(1.1);
}

.profile-detail-row {
    padding: 16px 0;
    border-bottom: 1px solid #F1F5F9;
}

.profile-detail-label {
    font-size: 0.88rem;
    color: #64748B;
    font-weight: 500;
}

.profile-detail-value {
    font-size: 0.95rem;
    color: #0F172A;
    font-weight: 600;
}

/* Dark mode profile styling */
[data-bs-theme="dark"] .profile-card,
body.dark-mode .profile-card {
    background: #111827 !important;
    border-color: #1E293B !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
}

[data-bs-theme="dark"] .profile-detail-row,
body.dark-mode .profile-detail-row {
    border-color: #1E293B !important;
}

[data-bs-theme="dark"] .profile-detail-label,
body.dark-mode .profile-detail-label {
    color: #94A3B8 !important;
}

[data-bs-theme="dark"] .profile-detail-value,
body.dark-mode .profile-detail-value {
    color: #F8FAFC !important;
}

/* ======================================================
   Subscription & Payment History Cards & Table
   Flawless Dark & Light Mode Styling
====================================================== */

.subscription-card,
.payment-history-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    min-height: 240px;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .subscription-card,
body.dark-mode .subscription-card,
[data-bs-theme="dark"] .payment-history-card,
body.dark-mode .payment-history-card {
    background: #151F32 !important;
    border: 1px solid #1E293B !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.payment-history-table {
    width: 100%;
    margin-bottom: 0;
    font-size: 0.875rem;
    --bs-table-bg: transparent !important;
    --bs-table-accent-bg: transparent !important;
    background-color: transparent !important;
}

.payment-history-table > :not(caption) > * > * {
    background-color: transparent !important;
    box-shadow: none !important;
}

.payment-history-table th {
    background: #F8FAFC !important;
    color: #64748B !important;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 14px;
    border-bottom: 1px solid #E2E8F0 !important;
}

.payment-history-table td {
    background: transparent !important;
    color: #334155 !important;
    padding: 14px;
    border-bottom: 1px solid #F1F5F9 !important;
    vertical-align: middle;
}

.payment-history-table tbody tr {
    background: transparent !important;
    transition: background 0.2s ease;
}

.payment-history-table tbody tr:hover {
    background: rgba(249, 115, 22, 0.04) !important;
}

.payment-history-table .payment-date {
    color: #64748B;
    font-size: 0.82rem;
}

.payment-history-table .payment-plan {
    font-weight: 600;
    color: #0F172A;
}

.payment-history-table .payment-amount {
    font-weight: 600;
    color: #0F172A;
}

.payment-history-table .payment-id-text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.78rem;
    color: #64748B;
}

/* Dark Mode Table overrides */
[data-bs-theme="dark"] .payment-history-table,
body.dark-mode .payment-history-table,
html.dark-mode .payment-history-table {
    --bs-table-bg: transparent !important;
    --bs-table-accent-bg: transparent !important;
    background-color: transparent !important;
}

[data-bs-theme="dark"] .payment-history-table > :not(caption) > * > *,
body.dark-mode .payment-history-table > :not(caption) > * > *,
html.dark-mode .payment-history-table > :not(caption) > * > * {
    background-color: transparent !important;
    box-shadow: none !important;
    border-color: #1E293B !important;
}

[data-bs-theme="dark"] .payment-history-table th,
body.dark-mode .payment-history-table th,
html.dark-mode .payment-history-table th {
    background: #0F172A !important;
    color: #94A3B8 !important;
    border-bottom: 1px solid #1E293B !important;
}

[data-bs-theme="dark"] .payment-history-table td,
body.dark-mode .payment-history-table td,
html.dark-mode .payment-history-table td {
    background: transparent !important;
    color: #E2E8F0 !important;
    border-bottom: 1px solid #1E293B !important;
}

[data-bs-theme="dark"] .payment-history-table tbody tr:hover,
[data-bs-theme="dark"] .payment-history-table tbody tr:hover > *,
body.dark-mode .payment-history-table tbody tr:hover,
body.dark-mode .payment-history-table tbody tr:hover > *,
html.dark-mode .payment-history-table tbody tr:hover,
html.dark-mode .payment-history-table tbody tr:hover > * {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #FFFFFF !important;
}

[data-bs-theme="dark"] .payment-history-table .payment-date,
body.dark-mode .payment-history-table .payment-date,
html.dark-mode .payment-history-table .payment-date {
    color: #94A3B8 !important;
}

[data-bs-theme="dark"] .payment-history-table .payment-plan,
body.dark-mode .payment-history-table .payment-plan,
html.dark-mode .payment-history-table .payment-plan {
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .payment-history-table .payment-amount,
body.dark-mode .payment-history-table .payment-amount,
html.dark-mode .payment-history-table .payment-amount {
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .payment-history-table .payment-id-text,
body.dark-mode .payment-history-table .payment-id-text,
html.dark-mode .payment-history-table .payment-id-text {
    color: #94A3B8 !important;
}

/* Subscription Details Text Colors in Dark Mode */
.sub-plan-name {
    color: #0F172A;
    font-weight: 700;
}

.sub-detail-val {
    color: #0F172A;
    font-weight: 600;
}

[data-bs-theme="dark"] .sub-plan-name,
body.dark-mode .sub-plan-name,
[data-bs-theme="dark"] .sub-detail-val,
body.dark-mode .sub-detail-val {
    color: #F8FAFC !important;
}

/* ======================================================
   Card Surface & Theme Adaptive Components
====================================================== */
/* ======================================================
   Comprehensive Global Dark Mode Rules for All Portals (Admin, Student, Public)
====================================================== */
html[data-bs-theme="dark"],
html[data-bs-theme="dark"] body,
html.dark-mode,
html.dark-mode body,
[data-bs-theme="dark"],
[data-bs-theme="dark"] body,
body.dark-mode {
    background-color: #0B0F19 !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .card,
html.dark-mode .card,
body.dark-mode .card,
[data-bs-theme="dark"] .card-surface,
html.dark-mode .card-surface,
body.dark-mode .card-surface,
[data-bs-theme="dark"] .card-custom,
html.dark-mode .card-custom,
body.dark-mode .card-custom {
    background-color: #151F32 !important;
    border-color: #1E293B !important;
    color: #F8FAFC !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

[data-bs-theme="dark"] .card-header,
body.dark-mode .card-header,
[data-bs-theme="dark"] .card-footer,
body.dark-mode .card-footer {
    background-color: #111A2C !important;
    border-color: #1E293B !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .card-body,
body.dark-mode .card-body {
    background-color: transparent !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .bg-white,
body.dark-mode .bg-white {
    background-color: #151F32 !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .bg-light,
body.dark-mode .bg-light,
[data-bs-theme="dark"] .bg-light-subtle,
body.dark-mode .bg-light-subtle,
[data-bs-theme="dark"] .bg-body-tertiary,
body.dark-mode .bg-body-tertiary {
    background-color: #0F172A !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .text-dark,
body.dark-mode .text-dark,
[data-bs-theme="dark"] .text-body,
body.dark-mode .text-body {
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .text-muted,
body.dark-mode .text-muted {
    color: #94A3B8 !important;
}

[data-bs-theme="dark"] .text-secondary,
body.dark-mode .text-secondary {
    color: #CBD5E1 !important;
}

/* All Tables in Dark Mode */
[data-bs-theme="dark"] .table,
body.dark-mode .table,
[data-bs-theme="dark"] table,
body.dark-mode table {
    --bs-table-bg: transparent !important;
    --bs-table-color: #F8FAFC !important;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02) !important;
    --bs-table-striped-color: #F8FAFC !important;
    --bs-table-active-bg: rgba(249, 115, 22, 0.1) !important;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.03) !important;
    --bs-table-hover-color: #F8FAFC !important;
    --bs-table-border-color: #1E293B !important;
    color: #F8FAFC !important;
    border-color: #1E293B !important;
    background-color: transparent !important;
}

[data-bs-theme="dark"] .table > :not(caption) > * > *,
body.dark-mode .table > :not(caption) > * > * {
    background-color: transparent !important;
    color: #E2E8F0 !important;
    border-color: #1E293B !important;
}

[data-bs-theme="dark"] .table thead,
body.dark-mode .table thead,
[data-bs-theme="dark"] .table-light,
body.dark-mode .table-light,
[data-bs-theme="dark"] .table-light th,
body.dark-mode .table-light th,
[data-bs-theme="dark"] .table-dark th,
body.dark-mode .table-dark th,
[data-bs-theme="dark"] .table thead th,
body.dark-mode .table thead th {
    background-color: #0F172A !important;
    color: #94A3B8 !important;
    border-color: #1E293B !important;
}

[data-bs-theme="dark"] .table-hover tbody tr:hover,
body.dark-mode .table-hover tbody tr:hover,
[data-bs-theme="dark"] .table-hover > tbody > tr:hover > *,
body.dark-mode .table-hover > tbody > tr:hover > * {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: #FFFFFF !important;
}

[data-bs-theme="dark"] .table-bordered,
body.dark-mode .table-bordered,
[data-bs-theme="dark"] .table-bordered th,
body.dark-mode .table-bordered th,
[data-bs-theme="dark"] .table-bordered td,
body.dark-mode .table-bordered td {
    border: 1px solid #1E293B !important;
}

/* List Groups in Dark Mode */
[data-bs-theme="dark"] .list-group-item,
body.dark-mode .list-group-item {
    background-color: #151F32 !important;
    border-color: #1E293B !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .list-group-item:hover,
body.dark-mode .list-group-item:hover {
    background-color: #1A263D !important;
}

/* Form Controls in Dark Mode */
[data-bs-theme="dark"] .form-control,
body.dark-mode .form-control,
[data-bs-theme="dark"] .form-select,
body.dark-mode .form-select {
    background-color: #0F172A !important;
    border-color: #1E293B !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .form-control:focus,
body.dark-mode .form-control:focus,
[data-bs-theme="dark"] .form-select:focus,
body.dark-mode .form-select:focus {
    background-color: #0F172A !important;
    border-color: var(--primary, #F97316) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25) !important;
}

[data-bs-theme="dark"] .form-control::placeholder,
body.dark-mode .form-control::placeholder {
    color: #64748B !important;
}

/* Pagination in Dark Mode */
[data-bs-theme="dark"] .page-link,
body.dark-mode .page-link {
    background-color: #151F32 !important;
    border-color: #1E293B !important;
    color: #94A3B8 !important;
}

[data-bs-theme="dark"] .page-item.active .page-link,
body.dark-mode .page-item.active .page-link {
    background-color: #F97316 !important;
    border-color: #F97316 !important;
    color: #FFFFFF !important;
}

[data-bs-theme="dark"] .page-item.disabled .page-link,
body.dark-mode .page-item.disabled .page-link {
    background-color: #0F172A !important;
    border-color: #1E293B !important;
    color: #475569 !important;
}

/* Badges in Dark Mode */
[data-bs-theme="dark"] .badge.bg-light,
body.dark-mode .badge.bg-light {
    background-color: #1E293B !important;
    color: #94A3B8 !important;
    border-color: #334155 !important;
}

/* Modals, Dropdowns & Borders */
[data-bs-theme="dark"] .modal-content,
body.dark-mode .modal-content {
    background-color: #151F32 !important;
    border-color: #1E293B !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .modal-header,
body.dark-mode .modal-header,
[data-bs-theme="dark"] .modal-footer,
body.dark-mode .modal-footer {
    background-color: #111A2C !important;
    border-color: #1E293B !important;
}

[data-bs-theme="dark"] .border,
body.dark-mode .border,
[data-bs-theme="dark"] .border-top,
body.dark-mode .border-top,
[data-bs-theme="dark"] .border-bottom,
body.dark-mode .border-bottom,
[data-bs-theme="dark"] .border-start,
body.dark-mode .border-start,
[data-bs-theme="dark"] .border-end,
body.dark-mode .border-end {
    border-color: #1E293B !important;
}

[data-bs-theme="dark"] .dropdown-menu,
body.dark-mode .dropdown-menu {
    background-color: #151F32 !important;
    border-color: #1E293B !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .dropdown-item,
body.dark-mode .dropdown-item {
    color: #94A3B8 !important;
}

[data-bs-theme="dark"] .dropdown-item:hover,
body.dark-mode .dropdown-item:hover {
    background-color: #1E293B !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   Aptitude Practice & Palette Responsive Styles
   ========================================================================== */
.apt-palette-btn {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 6px 0 !important;
    text-align: center !important;
    transition: all 0.18s ease-in-out !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    cursor: pointer !important;
}

/* Palette States - Light Mode */
.apt-palette-btn.btn-palette-unattended {
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    color: #475569 !important;
}
.apt-palette-btn.btn-palette-unattended:hover {
    background: #E2E8F0 !important;
    color: #0F172A !important;
}
.apt-palette-btn.btn-palette-answered {
    background: #16A34A !important;
    border-color: #15803D !important;
    color: #FFFFFF !important;
}
.apt-palette-btn.btn-palette-flagged {
    background: #D97706 !important;
    border-color: #B45309 !important;
    color: #FFFFFF !important;
}
.apt-palette-btn.is-current {
    outline: 2px solid #F97316 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25) !important;
}

/* Palette States - Dark Mode */
[data-bs-theme="dark"] .apt-palette-btn.btn-palette-unattended,
body.dark-mode .apt-palette-btn.btn-palette-unattended {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    color: #94A3B8 !important;
}
[data-bs-theme="dark"] .apt-palette-btn.btn-palette-unattended:hover,
body.dark-mode .apt-palette-btn.btn-palette-unattended:hover {
    background: #334155 !important;
    color: #F8FAFC !important;
}
[data-bs-theme="dark"] .apt-palette-btn.btn-palette-answered,
body.dark-mode .apt-palette-btn.btn-palette-answered {
    background: #16A34A !important;
    border-color: #22C55E !important;
    color: #FFFFFF !important;
}
[data-bs-theme="dark"] .apt-palette-btn.btn-palette-flagged,
body.dark-mode .apt-palette-btn.btn-palette-flagged {
    background: #D97706 !important;
    border-color: #F59E0B !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   ATS Resume Checker Responsive Theme Styles
   ========================================================================== */
.ats-main-card,
.ats-side-card,
.ats-report-card,
.ats-stat-card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.ats-main-card .card-header,
.ats-side-card .card-header,
.ats-report-card .card-header {
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
}

[data-bs-theme="dark"] .ats-main-card,
[data-bs-theme="dark"] .ats-side-card,
[data-bs-theme="dark"] .ats-report-card,
[data-bs-theme="dark"] .ats-stat-card,
body.dark-mode .ats-main-card,
body.dark-mode .ats-side-card,
body.dark-mode .ats-report-card,
body.dark-mode .ats-stat-card {
    background: #111827 !important;
    border-color: #1F2937 !important;
}
[data-bs-theme="dark"] .ats-main-card .card-header,
[data-bs-theme="dark"] .ats-side-card .card-header,
[data-bs-theme="dark"] .ats-report-card .card-header,
body.dark-mode .ats-main-card .card-header,
body.dark-mode .ats-side-card .card-header,
body.dark-mode .ats-report-card .card-header {
    background: #151F32 !important;
    border-color: #1F2937 !important;
}

[data-bs-theme="dark"] .card.bg-white,
body.dark-mode .card.bg-white,
[data-bs-theme="dark"] .card.border-light-subtle,
body.dark-mode .card.border-light-subtle {
    background-color: #111827 !important;
    border-color: #1F2937 !important;
    color: #F8FAFC !important;
}

[data-bs-theme="dark"] .card.bg-white h1,
[data-bs-theme="dark"] .card.bg-white h2,
[data-bs-theme="dark"] .card.bg-white h3,
[data-bs-theme="dark"] .card.bg-white h4,
[data-bs-theme="dark"] .card.bg-white h5,
[data-bs-theme="dark"] .card.bg-white h6,
[data-bs-theme="dark"] .card.bg-white .text-dark,
body.dark-mode .card.bg-white .text-dark {
    color: #F8FAFC !important;
}




