        /* 全局样式 */
        html, body {
            overflow: hidden;
            height: 100%;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
        }

        h1 {
            text-align: center;
            padding: 1px;
            background-color: #3366ff;
            color: white;
            margin: 0;
            font-size: 20px;
            font-weight: 600;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        #search-hint {
            color: red;
            margin: 1px 10px;
            font-size: 14px;
        }

        #search-box {
          padding: 11px 40px 11px 12px;
          margin: 8px 1px; /* 左右分别留出 5px 的边距 */
          width: calc(100% - 65px - 2px); /* 宽度减去左右边距和内边距 */
          font-size: 13px;
          border: 1px solid #ddd;
          border-radius: 8px;
          outline: none;
          transition: border-color 0.3s ease, box-shadow 0.3s ease;
          display: block; /* 确保搜索框是块级元素 */
          margin-left: auto; /* 自动左边距 */
          margin-right: auto; /* 自动右边距 */
        }

        #search-box:focus {
            border-color: #28a745;
            box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
        }

        .container {
            display: flex;
            flex: 1;
            overflow: hidden;
            background-color: white;
            margin: 0 5px 5px 5px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        #file-list {
            width: 42%;
            background-color: #f8f9fa;
            border-right: 1px solid #ddd;
            overflow-y: auto;
            padding: 5px;
            padding-bottom: 100px;
            height: calc(100vh - 320px);
        }

        .file-item {
            padding: 11px;
            margin: 8px 0;
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            text-align: left;
            font-size: 12px;
            color: #333;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            align-items: center;
        }

        .file-item:hover {
            background-color: #f1f1f1;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .file-item.active {
            background-color: #28a745;
            color: white;
            border-color: #28a745;
        }

        .file-item.has-selected {
            background-color: #d4edda;
            border-color: #28a745;
        }

        #data-display {
            width: 62%;
            overflow-y: auto;
            padding: 10px;
            padding-bottom: 100px;
            height: calc(100vh - 330px);
            background-color: #f8f9fa;
        }

        .data-item {
            padding: 11px;
            margin: 5px 0;
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            font-size: 13px;
            color: #333;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
        }

        .data-item:hover {
            background-color: #f1f1f1;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .data-item.selected {
            background-color: #d4edda;
            border-color: #28a745;
        }

        .data-item.highlight {
            background-color: #fff3cd;
            border-color: #ffc107;
        }

        .group {
            color: #666;
            font-size: 0.9em;
            margin-right: 10px;
        }

        /* 底部按钮样式优化 */
        #show-selected {
          position: fixed;
          bottom: 6px; /* 底部留出10px */
          left: 30px; /* 左边留出20px */
          right: 30px; /* 右边留出20px */
          width: calc(100% - 60px); /* 宽度减去左右边距 */
          padding: 10px;
          background-color: #3366ff;
          color: #ffff33;;
          border: none;
          font-size: 18px;
          font-weight: 500;
          cursor: pointer;
          z-index: 1000;
          transition: background-color 0.3s ease, transform 0.3s ease;
          box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
          border-radius: 20px; /* 圆角12px */
          text-align: center; /* 文字居中 */
        }

        #show-selected:hover {
           background-color: #3366ff;
           transform: translateY(-2px);
        }

        #show-selected:active {
            transform: translateY(0);
        }

        /* 弹窗样式 */
        #modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
            z-index: 1001;
        }

        #modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            max-height: 80vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 10px;
            border-bottom: 1px solid #ddd;
            margin-bottom: 10px;
        }

        .modal-header h2 {
            margin: 0;
            font-size: 18px;
            color: #333;
        }

        #modal-close {
            cursor: pointer;
            font-size: 20px;
            color: #666;
            transition: color 0.3s ease;
        }

        #modal-close:hover {
            color: #333;
        }

        .modal-body {
            flex: 1;
            overflow-y: auto;
            padding: 10px 0;
        }

        #modal-hint {
            color: #ff0000; /* 红色字体 */
            font-size: 14px; /* 字体大小 */
            margin: 10px 0; /* 上下间距 */
            text-align: center; /* 居中显示 */
            padding: 0 10px; /* 左右内边距 */
        }

        #copy-button {
            margin-top: 10px;
            padding: 10px;
            background-color: #3366ff;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            border-radius: 20px; /* 圆角12px */
            transition: background-color 0.3s ease;
        }

        #copy-button:hover {
            background-color: #3333ff;
        }

        .selected-category {
            margin-bottom: 15px;
        }

        .selected-category h3 {
            margin: 0 0 10px 0;
            color: #FF6B6B;
            font-size: 16px;
            font-weight: 600;
        }

        .selected-category ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .selected-category li {
            padding: 8px 0;
            font-size: 14px;
            color: #333;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .selected-category li:last-child {
            border-bottom: none;
        }

        .delete-item-button {
            background-color: #FF4757;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 4px 8px;
            cursor: pointer;
            font-size: 12px;
            transition: background-color 0.3s ease;
        }

        .delete-item-button:hover {
            background-color: #c82333;
        }

        .delete-category-button {
            background-color: #FF4757;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 6px 12px;
            cursor: pointer;
            font-size: 12px;
            transition: background-color 0.3s ease;
            margin-top: 10px;
        }

        .delete-category-button:hover {
            background-color: #c82333;
        }

        #loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
        }

        .loading-spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #28a745;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        /* 确认弹窗样式 */
        #confirm-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
            z-index: 1002;
        }

        #confirm-modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            width: 90%;
            max-width: 400px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        #confirm-modal-content p {
            margin: 0 0 20px 0;
            font-size: 16px;
            color: #333;
        }

        #confirm-modal-content button {
            margin: 0 10px;
            padding: 8px 16px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s ease;
        }

        #confirm-modal-confirm {
            background-color: #FF4757;
            color: white;
        }

        #confirm-modal-confirm:hover {
            background-color: #FF1C3C;
        }

        #confirm-modal-cancel {
            background-color: #6C757D;
            color: white;
        }

        #confirm-modal-cancel:hover {
            background-color: #75757A;
        }