        /* Modal Overlay */
        .b-modal-overlay {
            background-color: rgba(0, 0, 0, 0.3);
            position: fixed;
            inset: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 25000;
            transition: all 0.3s cubic-bezier(0.86, 0, 0.07, 1);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .b-modal-overlay.show { 
            opacity: 1;
            visibility: visible;
            pointer-events: all;
        }

        .b-modal-overlay.show .b-modal {
            scale: 1;
        }

        /* Modal */
        .b-modal {
            background: white;
            border-radius: 20px;
            padding: 32px;
            width: 520px;
            max-width: 95vw;
            min-height: 50vh;
            max-height: 85vh;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: all 0.3s cubic-bezier(0.86, 0, 0.07, 1);
            scale: 0.8;
            border: 1px solid #d1d5db;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        /* Header */
        .bookmarks-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 24px;
        }

        .bookmarks-icon {
            font-size: 28px;
            color: #1a1a1a;
        }

        .bookmarks-title {
            font-size: 28px;
            font-weight: 500;
            color: #1a1a1a;
            flex: 1;
        }

        .bookmarks-close {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 20px;
            color: #6b7280;
            background: transparent;
            border: none;
            padding: 0;
        }

        .bookmarks-close:hover {
            background: #f3f4f6;
            color: #1f2937;
        }

        /* Search Bar */
        .bookmarks-search {
            position: relative;
            margin-bottom: 20px;
        }

        .bookmarks-search input {
            width: 100%;
            padding: 12px 16px 12px 44px;
            border: 1px solid #d1d5db;
            border-radius: 40px;
            font-size: 14px;
            font-family: 'Poppins', sans-serif;
            transition: all 0.2s ease;
            background: white;
            color: #1f2937;
        }

        .bookmarks-search input:focus {
            outline: none;
            border-color: #9ca3af;
            background: #f9fafb;
        }

        .bookmarks-search input::placeholder {
            color: #9ca3af;
        }

        .bookmarks-search-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 18px;
            color: #6b7280;
            pointer-events: none;
        }

        /* Bookmarks List */
        .bookmarks-list {
            flex: 1;
            overflow-y: auto;
            margin: 0 -8px;
            padding: 0 8px;
        }

        .bookmarks-list::-webkit-scrollbar {
            width: 6px;
        }

        .bookmarks-list::-webkit-scrollbar-track {
            background: transparent;
        }

        .bookmarks-list::-webkit-scrollbar-thumb {
            background: #d1d5db;
            border-radius: 3px;
        }

        .bookmarks-list::-webkit-scrollbar-thumb:hover {
            background: #9ca3af;
        }

        /* Bookmark Item */
        .bookmark-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-bottom: 4px;
            position: relative;
        }

        .bookmark-item:hover {
            background: #f9fafb;
        }

        .bookmark-item-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 20px;
            color: #1e40af;
        }

        .bookmark-item-content {
            flex: 1;
            min-width: 0;
        }

        .bookmark-item-name {
            font-size: 14px;
            font-weight: 500;
            color: #1f2937;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .bookmark-item-url {
            font-size: 12px;
            color: #6b7280;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-top: 2px;
        }

        .bookmark-item-menu {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            transition: all 0.2s ease;
            flex-shrink: 0;
            font-size: 18px;
            color: #6b7280;
            position: relative;
        }

        .bookmark-item-menu:hover {
            background: #e5e7eb;
        }

        /* Dropdown Menu */
        .bookmark-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            border: 1px solid #d1d5db;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            z-index: 30;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-4px);
            transition: all 0.2s ease;
            min-width: 160px;
            margin-top: 4px;
            overflow: hidden;
        }

        .bookmark-dropdown.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .bookmark-dropdown-option {
            padding: 10px 16px;
            font-size: 13px;
            color: #374151;
            cursor: pointer;
            transition: background 0.2s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .bookmark-dropdown-option:hover {
            background: #f9fafb;
        }

        .bookmark-dropdown-option.delete {
            color: #dc2626;
        }

        .bookmark-dropdown-option.delete:hover {
            background: #fee2e2;
        }

        /* Empty State */
        .bookmarks-empty {
            text-align: center;
            padding: 40px 20px;
            color: #6b7280;
        }

        .bookmarks-empty i {
            font-size: 48px;
            margin-bottom: 12px;
            opacity: 0.5;
        }

        .bookmarks-empty p {
            font-size: 14px;
        }

        /* Dark Mode */
        @media (prefers-color-scheme: dark) {
            body {
                background: #1a1a1a;
            }

            .b-modal-overlay {
                background-color: rgba(0, 0, 0, 0.65);
            }

            .b-modal {
                background: #101010;
                color: #e8eaed;
                box-shadow: 0 2px 5px 1px rgba(32,33,36,.28);
                border-color: #5f6368;
            }

            .hom-open-modal-btn {
                background: #eef2ff;
                color: #000000;
                border-color: #5f6368;
                box-shadow: 0 2px 5px 1px rgba(32,33,36,.28);
            }

            .hom-open-modal-btn:hover {
                background: #cfd3e1;
            }

            .bookmarks-icon,
            .bookmarks-title {
                color: #e8eaed;
            }

            .bookmarks-search input {
                background: #101010;
                border-color: #5f6368;
                color: #e8eaed;
                box-shadow: 0 2px 5px 1px rgba(32,33,36,.28);
            }

            .bookmarks-search input:focus {
                background: #3c4043;
                border-color: #9aa0a6;
            }

            .bookmarks-search input::placeholder {
                color: #9aa0a6;
            }

            .bookmarks-search-icon {
                color: #9aa0a6;
            }

            .bookmarks-list::-webkit-scrollbar-thumb {
                background: #5f6368;
            }

            .bookmarks-list::-webkit-scrollbar-thumb:hover {
                background: #9aa0a6;
            }

            .bookmark-item:hover {
                background: #3c4043;
            }

            .bookmark-item-icon {
                color: #93c5fd;
            }

            .bookmark-item-name {
                color: #e8eaed;
            }

            .bookmark-item-url {
                color: #9aa0a6;
            }

            .bookmark-item-menu {
                color: #9aa0a6;
            }

            .bookmark-item-menu:hover {
                background: #5f6368;
            }

            .bookmark-dropdown {
                background: #101010;
                border-color: #5f6368;
                box-shadow: 0 2px 8px 1px rgba(32,33,36,.4);
            }

            .bookmark-dropdown-option {
                color: #e8eaed;
            }

            .bookmark-dropdown-option:hover {
                background: #3c4043;
            }

            .bookmark-dropdown-option.delete {
                color: #f87171;
            }

            .bookmark-dropdown-option.delete:hover {
                background: #4c1d1d;
            }

            .bookmarks-empty {
                color: #9aa0a6;
            }

            .bookmarks-close:hover {
                background: #3c4043;
                color: #e8eaed;
            }
        }

        .app-icon-bg {
            max-width: 40px !important;
            max-height: 40px !important;
        }