


        .deduplication-container {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            align-items: center;
        }

        @media (min-width: 768px) {
            .deduplication-container {
                min-width: 560px;
            }
        }

        .config-section {
            width: 100%;
            max-width: 800px;
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
        }

        .config-group {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .config-label {
            font-size: 1rem;
            font-weight: 500;
            color: #2c3e50;
        }

        .replace-item {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 0.4rem;
        }

        .replace-input {
            flex: 1;
            padding: 0.7rem 0.9rem;
            border: 2px solid #e0e6ed;
            border-radius: 8px;
            font-size: 0.95rem;
            outline: none;
            background-color: #f8fafc;
            transition: all 0.2s ease;
            min-width: 125px;
        }

        .replace-input:focus {
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
            background-color: #fff;
        }

        .del-replace {
            padding: 0 0.6rem;
            border: 1px solid #e0e6ed;
            border-radius: 8px;
            background: #f8fafc;
            cursor: pointer;
            color: #e74c3c;
        }

        .add-replace {
            align-self: flex-start;
            padding: 0.6rem 1rem;
            border: none;
            border-radius: 8px;
            background: #3498db;
            color: #fff;
            cursor: pointer;
            font-size: 0.9rem;
        }

        .select-wrapper {
            position: relative;
            width: 100%;
        }

        .config-select {
            width: 100%;
            padding: 0.9rem 1.2rem;
            border: 2px solid #e0e6ed;
            border-radius: 10px;
            font-size: 1rem;
            outline: none;
            background-color: #f8fafc;
            color: #333;
            appearance: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .config-select:focus {
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
            background-color: #fff;
        }

        .select-wrapper::after {
            content: "▼";
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 0.8rem;
            color: #666;
            pointer-events: none;
        }

        .sort-options {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .sort-option {
            flex: 1;
            min-width: 120px;
            padding: 0.9rem 1.2rem;
            border: 2px solid #e0e6ed;
            border-radius: 10px;
            font-size: 1rem;
            background-color: #f8fafc;
            cursor: pointer;
            text-align: center;
        }

        .sort-option.active {
            border-color: #3498db;
            background: rgba(52,152,219,0.1);
            color: #3498db;
            font-weight: 500;
        }

        .input-output-group {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
            width: 100%;
            max-width: 800px;
        }

        .text-area {
            width: 100%;
            min-height: 160px;
            padding: 1rem;
            border: 2px solid #e0e6ed;
            border-radius: 10px;
            font-size: 1rem;
            outline: none;
            resize: vertical;
            background-color: #f8fafc;
        }

        .text-area:focus {
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
            background-color: #fff;
        }

        .btn-group {
            display: flex;
            gap: 1rem;
            width: 100%;
            justify-content: center;
            flex-wrap: wrap;
        }

        .action-btn {
            padding: 0.9rem 2rem;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.25s ease;
            box-shadow: 0 4px 8px rgba(0,0,0,0.08);
        }

        #deduplicateBtn {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
            color: white;
            flex: 1;
        }
        #clearBtn {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            color: white;
            flex: 1;
        }
        #copyBtn {
            background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
            color: white;
            flex: 1;
        }

        ::placeholder {
            color: #94a3b8;
        }

        @media (max-width: 768px) {

            .btn-group {
                flex-direction: column;
                gap: 0.8rem;
            }
            .action-btn {
                width: 100%;
            }
            .replace-item {
                /* flex-direction: column; */
                gap: 0.4rem;
            }
            .sort-options {
                /* flex-direction: column; */
            }

        }

        @media (max-width: 360px) {
            .replace-item {
                flex-direction: column;
                gap: 0.4rem;
            }
            .sort-options {
                flex-direction: column;
            }

            .del-replace {
                height: 30px;
            }

        }

