        /* Filtering Dialog Overlay */
        .dialog-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .dialog-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Dialog Box */
        .dialog {
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            width: 90%;
            max-width: 400px;
            max-height: 80vh;
            overflow: hidden;
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }

        .dialog-overlay.active .dialog {
            transform: scale(1);
        }

        .dialog-header {
            padding: 20px 20px 10px;
            border-bottom: 1px solid #eee;
        }

        .dialog-title {
            margin: 0;
            font-size: 18px;
            color: #333;
        }

        .dialog-content {
            padding: 20px;
            max-height: 300px;
            overflow-y: auto;
        }

        /* List Styles */
        .selection-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .list-item {
            padding: 12px 16px;
            margin: 4px 0;
            border: 2px solid transparent;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            background: #f8f9fa;
        }

        .list-item:hover {
            background: #e9ecef;
            border-color: #dee2e6;
        }

        .list-item.selected {
            background: #007bff;
            color: white;
            border-color: #0056b3;
        }

        .list-item.selected:hover {
            background: #0056b3;
        }

        .item-title {
            font-weight: 600;
            margin: 0 0 4px 0;
        }

        .item-description {
            font-size: 14px;
            color: #666;
            margin: 0;
        }

        .list-item.selected .item-description {
            color: #e9ecef;
        }

        /* Dialog Buttons */
        .dialog-footer {
            padding: 20px;
            border-top: 1px solid #eee;
            display: flex;
            gap: 10px;
            justify-content: flex-end;
        }

        /* Filter Input */
        .filter-container {
            margin-bottom: 16px;
        }

        .filter-input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #dee2e6;
            border-radius: 8px;
            font-size: 14px;
            box-sizing: border-box;
            transition: border-color 0.2s ease;
        }

        .filter-input:focus {
            outline: none;
            border-color: #007bff;
        }

        .filter-input::placeholder {
            color: #6c757d;
        }

        /* List item visibility */
        .list-item.hidden {
            display: none;
        }

        .no-results {
            text-align: center;
            color: #6c757d;
            padding: 20px;
            font-style: italic;
        }

        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.2s ease;
        }

        .btn-cancel {
            background: #6c757d;
            color: white;
        }

        .btn-cancel:hover {
            background: #545b62;
        }

        .btn-confirm {
            background: #007bff;
            color: white;
        }

        .btn-confirm:hover {
            background: #0056b3;
        }

        .btn-confirm:disabled {
            background: #ccc;
            cursor: not-allowed;
        }

        /* Main page button */
        .open-dialog-btn {
            background: #28a745;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .open-dialog-btn:hover {
            background: #218838;
        }

        .result {
            margin-top: 20px;
            padding: 15px;
            background: #d4edda;
            border: 1px solid #c3e6cb;
            border-radius: 6px;
            color: #155724;
        }

        /* Prevent body scroll when dialog is open */
        body.dialog-open {
            overflow: hidden;
        }
        