/* css/cms-layout.css */
/* Scope everything to .cms-layout to prevent affecting the module internals */

body {
    margin: 0;
    padding: 0;
    background-color: #080a0e;
    color: #f8fafc;
}

/* Base Layout Wrapper */
.cms-layout {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: #f8fafc;
    background-color: #080a0e;
}

/* Top Panel */
:root {
    --sp-border: rgba(255, 255, 255, 0.08);
    --sp-border-bright: rgba(255, 255, 255, 0.16);
    --sp-text-primary: #f8fafc;
    --sp-text-secondary: #94a3b8;
    --sp-text-muted: #64748b;
}

.cms-top-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 60px;
    background: rgba(11, 14, 18, 0.88) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
    gap: 16px;
    z-index: 9999999;
    box-sizing: border-box;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cms-top-panel .cms-sidebar-brand {
    padding: 0;
    border: none;
    width: auto;
}

.sp-top-left-group {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.sp-brand-box {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding-right: 12px;
    border-right: 1px solid var(--sp-border);
}

.sp-brand-logo-wrap {
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.sp-brand-logo-wrap img {
    height: 34px;
    width: auto;
    display: block;
}

/* Top Pill Navigation */
.sp-top-nav-pills {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-top-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--sp-text-secondary);
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.sp-top-pill img.pill-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.85;
}

.sp-top-pill:hover {
    color: var(--sp-text-primary);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--sp-border);
}

.sp-top-pill.active {
    color: var(--sp-text-primary);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.sp-top-pill-dropdown {
    position: relative;
}

.sp-top-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: rgba(18, 22, 29, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid var(--sp-border-bright);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65);
    z-index: 10000000;
    flex-direction: column;
    gap: 2px;
}

.sp-top-pill-dropdown.open .sp-top-dropdown-menu {
    display: flex;
}

.sp-top-dropdown-item {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--sp-text-secondary);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.15s ease;
}

.sp-top-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Top Right Controls (Search, Settings, Manual, Notifications, Profile) */
.sp-top-right-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--sp-border);
    border-radius: 999px;
    padding: 0 12px;
    height: 34px;
    width: 230px;
    transition: all 0.2s ease;
}

.sp-search-box:focus-within {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    width: 265px;
}

.sp-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--sp-text-primary);
    font-size: 12px;
    width: 100%;
    font-family: inherit;
}

.sp-search-box input::placeholder {
    color: var(--sp-text-muted);
}

.sp-search-box .search-shortcut {
    font-size: 10px;
    color: var(--sp-text-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 5px;
    border-radius: 4px;
    margin-right: 6px;
    white-space: nowrap;
}

.sp-search-box svg {
    width: 14px;
    height: 14px;
    color: var(--sp-text-secondary);
    flex-shrink: 0;
}

.sp-search-results-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(16, 20, 26, 0.98);
    border: 1px solid var(--sp-border-bright);
    border-radius: 12px;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7);
    z-index: 10000001;
}

.sp-search-result-item {
    padding: 8px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--sp-text-primary);
    cursor: pointer;
}

.sp-search-result-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.sp-icon-btn {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--sp-border);
    color: var(--sp-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.sp-icon-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--sp-border-bright);
}

.sp-icon-btn svg {
    width: 16px;
    height: 16px;
}

.sp-notif-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: #52525b;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #0b0e12;
}

.sp-notif-dropdown-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.sp-top-notif-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    background: rgba(16, 20, 27, 0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.75);
    z-index: 10000002;
    flex-direction: column;
    overflow: hidden;
}

.sp-top-notif-dropdown.open {
    display: flex;
}

.sp-notif-dd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.sp-notif-dd-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-notif-dd-count-pill {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.sp-notif-dd-mark-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    padding: 2px 4px;
    transition: color 0.15s ease;
    font-family: inherit;
}

.sp-notif-dd-mark-btn:hover {
    color: #ffffff;
}

.sp-notif-dd-list {
    max-height: 330px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sp-notif-dd-list::-webkit-scrollbar {
    width: 4px;
}

.sp-notif-dd-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.sp-notif-dd-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: #f8fafc;
    cursor: pointer;
    transition: background 0.15s ease;
    position: relative;
}

.sp-notif-dd-item:last-child {
    border-bottom: none;
}

.sp-notif-dd-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.sp-notif-dd-item.unread {
    background: rgba(255, 255, 255, 0.03);
}

.sp-notif-dd-item.unread:hover {
    background: rgba(255, 255, 255, 0.08);
}

.sp-notif-dd-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #e2e8f0;
    margin-top: 1px;
}

.sp-notif-dd-icon.profile {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.32);
    color: #fbbf24;
}

.sp-notif-dd-icon.run {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.32);
    color: #34d399;
}

.sp-notif-dd-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sp-notif-dd-text {
    font-size: 12.5px;
    line-height: 1.45;
    color: #e2e8f0;
    font-weight: 400;
}

.sp-notif-dd-text b {
    color: #ffffff;
    font-weight: 600;
}

.sp-notif-dd-sub {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.sp-notif-dd-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38bdf8;
    flex-shrink: 0;
    margin-top: 6px;
}

.sp-notif-dd-footer {
    padding: 10px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.sp-notif-dd-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    color: #f8fafc;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.15s ease;
}

.sp-notif-dd-view-all:hover {
    color: #38bdf8;
}

.sp-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 11px 0 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--sp-border);
    color: var(--sp-text-primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.sp-profile-btn:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: var(--sp-border-bright);
}

.sp-avatar-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #27272a;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    position: relative;
}

.sp-avatar-status {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #0b0e12;
}

.sp-sched-input,
.sp-sched-select {
    background: rgba(10, 13, 18, 0.85);
    border: 1px solid var(--sp-border-bright);
    border-radius: 7px;
    color: #f8fafc;
    font-size: 11px;
    padding: 6px 8px;
    font-family: inherit;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.sp-sched-btn {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
    font-family: inherit;
}

.sp-sched-btn:hover {
    opacity: 0.92;
}

/* Sidebar */
.cms-sidebar {
    width: 84px;
    position: fixed;
    height: calc(100vh - 60px);
    left: 0;
    top: 60px;
    background: rgba(11, 14, 18, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 9999998;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    box-shadow: 6px 0 28px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    white-space: nowrap;
}

.cms-sidebar:hover {
    width: 255px;
    background: rgba(14, 18, 24, 0.96);
}

.cms-sidebar-brand {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    width: 255px;
    box-sizing: border-box;
}

.cms-sidebar-brand h2 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.5px;
}

.cms-sidebar-brand span {
    color: #e2e8f0;
}

.cms-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    gap: 8px;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.cms-nav-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    margin: 0 8px;
    box-sizing: border-box;
    text-decoration: none;
    color: #a1a1aa;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-label {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cms-sidebar:hover .nav-label {
    opacity: 1;
}

.cms-nav-item .icon {
    margin-right: 14px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    flex-shrink: 0;
    object-fit: contain;
    vertical-align: middle;
    display: block;
    opacity: 0.9;
}

.cms-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    transform: none;
}

.cms-nav-item.active {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-left: none !important;
    box-shadow: inset 3.5px 0 0 #ffffff, 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

.cms-nav-item.active .nav-label {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.cms-nav-item.active .icon {
    opacity: 1 !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)) !important;
}

/* Main Content Area */
.cms-main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden; /* Must be hidden so Leaflet maps can measure their container height */
    position: relative;
    background-color: transparent;
    padding-left: 84px;
    padding-top: 60px;
    box-sizing: border-box;
}

.cms-main-content > .page-container {
    flex: 1;
    min-height: 0; /* Prevents flex blowout and forces it to size relative to parent */
    width: 100%;
}

/* Fix for Leaflet map collapsing to 0 height inside flex layout */
.cms-main-content .map-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    flex: 1 !important;
    min-height: 0 !important;
}

.cms-main-content .map-wrapper .map-element {
    flex: 1 !important;
    min-height: 0 !important;
    height: 100% !important;
    width: 100% !important;
}

/* -------------------------------------- */
/* HOME PAGE REDESIGN                     */
/* -------------------------------------- */
.cms-home-container {
    padding: 120px 48px 40px 48px;
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow-y: auto; /* Allow home page to scroll since parent is now overflow:hidden */
    box-sizing: border-box;
}

.cms-home-header {
    margin-bottom: 40px;
}

.cms-home-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.cms-home-subtitle {
    font-size: 16px;
    color: #f1f5f9;
    margin: 0;
}

.cms-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.cms-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cms-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #10b981;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cms-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e2e8f0;
}

.cms-card:hover::before {
    opacity: 1;
}

.cms-card-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

/* Card variants */
.cms-card.comprehensive .cms-card-icon-wrapper { background: #ecfdf5; color: #059669; }
.cms-card.comprehensive:hover .cms-card-action { color: #059669; }

.cms-card.standard { 
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1d4ed8 100%); 
    border-color: #1e40af; 
    box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.4);
}
.cms-card.standard .cms-card-title { color: #ffffff; }
.cms-card.standard .cms-card-desc { color: #bfdbfe; }
.cms-card.standard .cms-card-icon-wrapper { background: rgba(255, 255, 255, 0.15); color: #ffffff; }
.cms-card.standard .cms-card-action { color: #93c5fd; border-top-color: rgba(255, 255, 255, 0.1); }
.cms-card.standard:hover .cms-card-action { color: #ffffff; }
.cms-card.standard:hover { box-shadow: 0 15px 35px -5px rgba(29, 78, 216, 0.5); transform: translateY(-4px); }

.cms-card.reads { 
    background: linear-gradient(135deg, #112d2b 0%, #0d5c46 100%); 
    border-color: #064e3b; 
    box-shadow: 0 10px 25px -5px rgba(13, 92, 70, 0.4);
}
.cms-card.reads .cms-card-title { color: #ffffff; }
.cms-card.reads .cms-card-desc { color: #d1fae5; }
.cms-card.reads .cms-card-icon-wrapper { background: rgba(255, 255, 255, 0.15); color: #ffffff; }
.cms-card.reads .cms-card-action { color: #6ee7b7; border-top-color: rgba(255, 255, 255, 0.1); }
.cms-card.reads:hover .cms-card-action { color: #ffffff; }
.cms-card.reads:hover { box-shadow: 0 15px 35px -5px rgba(13, 92, 70, 0.5); transform: translateY(-4px); }

.cms-card.kpsm { 
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%); 
    border-color: #3730a3; 
    box-shadow: 0 10px 25px -5px rgba(67, 56, 202, 0.4);
}
.cms-card.kpsm .cms-card-title { color: #ffffff; }
.cms-card.kpsm .cms-card-desc { color: #c7d2fe; }
.cms-card.kpsm .cms-card-icon-wrapper { background: rgba(255, 255, 255, 0.15); color: #ffffff; }
.cms-card.kpsm .cms-card-action { color: #a5b4fc; border-top-color: rgba(255, 255, 255, 0.1); }
.cms-card.kpsm:hover .cms-card-action { color: #ffffff; }
.cms-card.kpsm:hover { box-shadow: 0 15px 35px -5px rgba(67, 56, 202, 0.5); transform: translateY(-4px); }

.cms-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.cms-card-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.cms-card-action {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    transition: color 0.2s ease;
    border-top: 1px solid rgba(226, 232, 240, 0.2);
    padding-top: 16px;
}

.cms-card-action span {
    margin-right: 8px;
}

.cms-card-action svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.cms-card:hover .cms-card-action svg {
    transform: translateX(4px);
}



/* Responsive Sidebar */
@media (max-width: 1024px) {
    .cms-home-container {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .cms-layout {
        flex-direction: column;
    }
    .cms-sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .cms-nav {
        flex-direction: row;
        padding: 12px 16px;
        overflow-x: auto;
        gap: 12px;
    }
    .cms-nav-item {
        white-space: nowrap;
        padding: 10px 16px;
    }
    .cms-nav-item:hover {
        transform: none;
    }
}

/* Sub-Navigation Accordion Styling */
.cms-nav-group {
    display: flex;
    flex-direction: column;
}

.cms-sub-nav {
    display: flex;
    flex-direction: column;
    padding-left: 28px;
    gap: 4px;
    margin-top: 4px;
    margin-bottom: 6px;
}

.cms-sub-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #a1a1aa;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.cms-sub-nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.cms-sub-nav-item.active {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-weight: 700;
    border-left: 3px solid #ffffff;
}
