/* Notification Bell Styles */
        .wbts-notification-bell {
            position: relative;
            margin-right: 15px;
        }
        
        .wbts-notification-btn {
            position: relative;
            background: none;
            border: none;
            padding: 8px 12px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #6b7280;
            font-size: 18px;
        }
        
        .wbts-notification-btn:hover {
            background: #f3f4f6;
            color: #374151;
        }
        
        .wbts-notification-badge {
            position: absolute;
            top: -2px;
            right: -2px;
            background: #ef4444;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        .wbts-notification-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            width: 380px;
            max-width: 90vw;
            max-height: 500px;
            background: white;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            z-index: 1000;
            display: none;
            overflow: hidden;
        }
        
        .wbts-notification-bell.active .wbts-notification-dropdown {
            display: block;
        }
        
        .wbts-notification-header {
            padding: 16px 20px;
            border-bottom: 1px solid #f3f4f6;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .wbts-notification-header h4 {
            margin: 0;
            font-size: 16px;
            font-weight: 600;
        }
        
        .wbts-mark-all-read-btn {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .wbts-mark-all-read-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        
        .wbts-notification-list {
            max-height: 350px;
            overflow-y: auto;
        }
        
        .wbts-notification-item-link {
            display: block;
            text-decoration: none;
            color: inherit;
        }
        
        .wbts-notification-item-link:hover {
            text-decoration: none;
            color: inherit;
        }
        
        .wbts-notification-item {
            display: flex;
            align-items: flex-start;
            padding: 16px 20px;
            border-bottom: 1px solid #f3f4f6;
            cursor: pointer;
            transition: background-color 0.2s ease;
            position: relative;
        }
        
        .wbts-notification-item:hover {
            background: #f8fafc;
        }
        
        .wbts-notification-item-link:hover .wbts-notification-item {
            background: #f8fafc;
        }
        
        .wbts-notification-item.unread {
            background: #fef3c7;
            border-left: 4px solid #f59e0b;
        }
        
        .wbts-notification-item.unread::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 8px;
            transform: translateY(-50%);
            width: 8px;
            height: 8px;
            background: #f59e0b;
            border-radius: 50%;
        }
        
        .wbts-notification-icon {
            margin-right: 12px;
            margin-top: 2px;
            width: 20px;
            text-align: center;
        }
        
        .wbts-notification-icon i {
            font-size: 16px;
            color: #6b7280;
        }
        
        .wbts-notification-item.unread .wbts-notification-icon i {
            color: #f59e0b;
        }
        
        .wbts-notification-content {
            flex: 1;
            min-width: 0;
        }
        
        .wbts-notification-title {
            font-weight: 600;
            font-size: 14px;
            color: #111827;
            margin-bottom: 4px;
            line-height: 1.4;
        }
        
        .wbts-notification-message {
            font-size: 13px;
            color: #6b7280;
            line-height: 1.4;
            margin-bottom: 6px;
        }
        
        .wbts-notification-time {
            font-size: 12px;
            color: #9ca3af;
        }
        
        .wbts-notification-action {
            margin-left: 8px;
            margin-top: 2px;
        }
        
        .wbts-notification-link {
            color: #6b7280;
            text-decoration: none;
            padding: 4px;
            border-radius: 4px;
            transition: all 0.2s ease;
        }
        
        .wbts-notification-link:hover {
            color: #667eea;
            background: #f3f4f6;
        }
        
        .wbts-notification-empty {
            text-align: center;
            padding: 40px 20px;
            color: #9ca3af;
        }
        
        .wbts-notification-empty i {
            font-size: 32px;
            margin-bottom: 12px;
            display: block;
        }
        
        .wbts-notification-empty p {
            margin: 0;
            font-size: 14px;
        }
        
        .wbts-notification-footer {
            padding: 16px 20px;
            border-top: 1px solid #f3f4f6;
            background: #f8fafc;
            text-align: center;
        }
        
        .wbts-view-all-btn {
            color: #667eea;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            padding: 8px 16px;
            border: 1px solid #667eea;
            border-radius: 6px;
            transition: all 0.2s ease;
        }
        
        .wbts-view-all-btn:hover {
            background: #667eea;
            color: white;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .wbts-notification-dropdown {
                width: 320px;
                right: -50px;
            }
        }
        
        @media (max-width: 480px) {
            .wbts-notification-dropdown {
                width: 280px;
                right: -80px;
            }
        }
        
        /* WBTS-OK Redesigned Dropdown */
        .wbts-ok-user-profile { position: relative; }
        .wbts-ok-dropdown-content {
            position: absolute;
            top: 100%;
            right: 0; /* open to the left */
            left: auto;
            display: none;
            width: 840px;
            max-width: 95vw;
            max-height: 70vh;
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            box-shadow: 0 12px 32px rgba(0,0,0,0.15), 0 10px 10px -5px rgba(0,0,0,0.04);
            z-index: 1200;
            display: none;
            overflow: hidden;
        }
        .wbts-ok-user-profile.active .wbts-ok-dropdown-content { display: block; }
        .wbts-ok-user-dropdown-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 cards per row */
            gap: 12px;
            padding: 12px;
        }
        .wbts-ok-dropdown-content .wbts-dropdown-header {
            padding: 16px 16px 8px 16px;
            border-bottom: 1px solid #f3f4f6;
            background: linear-gradient(135deg, #061c7d 0%, #764ba2 100%);
            color: #fff;
        }
        .wbts-ok-dropdown-content .wbts-dropdown-header h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--secondary-color); background: #ffffff; display: inline-block; padding: 2px 8px; border-radius: 6px; }
        .wbts-ok-dropdown-content .wbts-dropdown-header p { margin: 6px 0 0 0; font-size: 13px; color: #ffffff; }
        .wbts-ok-dropdown-content .wbts-dropdown-header .wbts-ok-welcome { color: #ffffff; }
        .wbts-ok-dropdown-content .wbts-dropdown-header .wbts-ok-user-name { color: #e5e7eb; font-weight: 700; }
        .wbts-ok-user-dropdown-grid .wbts-dropdown-category {
            background: #f9fafb; /* faint background */
            border: 1px solid #f1f5f9;
            border-radius: 8px;
            overflow: hidden;
        }
        .wbts-ok-user-dropdown-grid .wbts-category-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            background: #f8fafc;
            border-bottom: 1px solid #eef2f7;
        }
        .wbts-ok-user-dropdown-grid .wbts-category-header i { color: #475569; }
        .wbts-ok-user-dropdown-grid .wbts-category-header h4 { margin: 0; font-size: 14px; color: #0f172a; }
        .wbts-ok-user-dropdown-grid ul { margin: 0; padding: 0; list-style: none; }
        .wbts-ok-user-dropdown-grid li { border-bottom: 1px solid #f3f4f6; }
        .wbts-ok-user-dropdown-grid li:last-child { border-bottom: none; }
        .wbts-ok-user-dropdown-grid a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            color: #334155;
            text-decoration: none;
            font-size: 13px;
            transition: background .2s, color .2s;
        }
        .wbts-ok-user-dropdown-grid a:hover { background: #f8fafc; color: #061c7d; }
        .wbts-ok-user-dropdown-grid a i { width: 18px; text-align: center; color: #64748b; }

        /* Emphasis for Dashboard links */
        .wbts-ok-user-dropdown-grid a.wbts-ok-dashboard-link { color: var(--secondary-color); font-weight: 600; }
        .wbts-ok-user-dropdown-grid a.wbts-ok-dashboard-link i { color: var(--secondary-color); }

        /* Trigger caret rotation */
        .wbts-ok-user-profile.active .wbts-user-arrow { transform: rotate(180deg); transition: transform .2s; }

        /* Responsive columns to avoid horizontal scroll */
        @media (max-width: 992px) {
            .wbts-ok-user-dropdown-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .wbts-ok-dropdown-content { width: 680px; }
        }
        @media (max-width: 576px) {
            .wbts-ok-user-dropdown-grid { grid-template-columns: 1fr; }
            .wbts-ok-dropdown-content { width: 95vw; }
        }
/* Compact Dropdown Styles */
        .wbts-dropdown-content {
            max-height: none;
            overflow-y: visible;
        }
        
        /* Ensure dropdown content is properly positioned */
        .wbts-dropdown.active .wbts-dropdown-content {
            display: block;
            max-height: none;
            overflow-y: visible;
        }
        
        /* Compact dropdown content */
        .wbts-dropdown-content ul {
            margin: 0;
            padding: 0;
        }
        
        .wbts-dropdown-content li {
            margin: 0;
            padding: 0;
        }
        
        .wbts-dropdown-content a {
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: #374151;
            transition: background-color 0.2s ease;
            border-bottom: 1px solid #f3f4f6;
            font-size: 15px;
            line-height: 1.4;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
        }
        
        .wbts-dropdown-content a:hover {
            background-color: #f8fafc;
            color: #667eea;
            transform: none;
            box-shadow: none;
        }
        
        .wbts-dropdown-content a:last-child {
            border-bottom: none;
        }
        
        .wbts-dropdown-content i {
            width: 18px;
            text-align: center;
            color: #6b7280;
            font-size: 14px;
        }
        
        .wbts-dropdown-content a:hover i {
            color: #667eea;
        }
        
        /* Spacious dropdown container */
        .wbts-dropdown-content {
            min-width: 240px;
            max-width: 280px;
            width: 280px;
            padding: 8px 0;
            overflow: hidden;
            box-sizing: border-box;
        }
        
        .wbts-dropdown-content:hover {
            width: 280px;
            max-width: 280px;
            min-width: 240px;
        }
        
        /* WBTS-OK Program Dropdown Styles */
        .wbts-ok-drop-programs {
            position: relative;
        }
        
        .wbts-ok-drop-program-trigger {
            cursor: pointer;
        }
        
        .wbts-ok-drop-program-arrow {
            transition: transform 0.2s ease;
        }
        
        .wbts-ok-drop-programs.active .wbts-ok-drop-program-arrow {
            transform: rotate(180deg);
        }
        
        .wbts-ok-drop-program-content {
            position: absolute;
            top: 100%;
            left: 0;
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            min-width: 280px;
            width: 320px;
            display: none;
            overflow: hidden;
            box-sizing: border-box;
            padding: 8px 0;
        }
        
        .wbts-ok-drop-program-content:hover {
            width: 320px;
            max-width: 320px;
            min-width: 280px;
        }
        
        .wbts-ok-drop-programs.active .wbts-ok-drop-program-content {
            display: block;
        }
        
        .wbts-ok-drop-program-list {
            margin: 0;
            padding: 12px 0;
            list-style: none;
        }
        
        .wbts-ok-drop-program-item {
            margin: 0;
            padding: 0;
        }
        
        .wbts-ok-drop-program-link {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            color: #374151;
            text-decoration: none;
            transition: background-color 0.2s ease, color 0.2s ease;
            font-size: 15px;
            line-height: 1.4;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
        }
        
        .wbts-ok-drop-program-link:hover {
            background-color: #f8fafc;
            color: #667eea;
            transform: none;
            box-shadow: none;
        }
        
        .wbts-ok-drop-program-icon {
            width: 20px;
            text-align: center;
            color: #6b7280;
            font-size: 16px;
        }
        
        .wbts-ok-drop-program-link:hover .wbts-ok-drop-program-icon {
            color: #667eea;
        }
        
        /* Prevent any expansion on hover */
        .wbts-dropdown-content *,
        .wbts-ok-drop-program-content * {
            box-sizing: border-box;
        }
        
        .wbts-dropdown-content a,
        .wbts-ok-drop-program-link {
            flex-shrink: 0;
        }
