.wp-text-highlighter * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .wp-text-highlighter {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #ffffff;
            padding: 20px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
        }

        .wp-text-highlighter .wth-container {
            max-width: 100%;
            margin: 0 auto;
            background: white;
            border-radius: 8px;
            overflow: hidden;
        }

        .wp-text-highlighter .wth-header {
            background: #000000;
            color: white;
            padding: 20px;
            text-align: center;
            border-radius: 8px 8px 0 0;
        }

        .wp-text-highlighter .wth-header h1 {
            font-size: 1.8em;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .wp-text-highlighter .wth-header p {
            font-size: 1em;
            opacity: 0.9;
        }

        /* Slider Section */
        .wp-text-highlighter .wth-slider-section {
            background: #f8f9fa;
            padding: 20px;
            border-bottom: 2px solid #e0e0e0;
            margin: 0;
        }

        .wp-text-highlighter .wth-slider-container {
            max-width: 600px;
            margin: 0 auto;
        }

        .wp-text-highlighter .wth-slider-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .wp-text-highlighter .wth-slider-header h3 {
            color: #000000;
            font-weight: 600;
            margin: 0;
        }

        .wp-text-highlighter .wth-slider-value {
            background: #000000;
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 1.1em;
        }

        .wp-text-highlighter .wth-slider-wrapper {
            position: relative;
            margin-bottom: 10px;
        }

        .wp-text-highlighter .wth-slider {
            width: 100%;
            height: 8px;
            border-radius: 5px;
            background: linear-gradient(to right, #ffebee 0%, #ff5252 50%, #b71c1c 100%);
            outline: none;
            -webkit-appearance: none;
        }

        .wp-text-highlighter .wth-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #000000;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
            transition: all 0.2s;
        }

        .wp-text-highlighter .wth-slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
        }

        .wp-text-highlighter .wth-slider::-moz-range-thumb {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #000000;
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
            transition: all 0.2s;
        }

        .wp-text-highlighter .wth-slider::-moz-range-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
        }

        .wp-text-highlighter .wth-slider-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 8px;
            font-size: 0.9em;
            color: #666;
        }

        .wp-text-highlighter .wth-slider-description {
            text-align: center;
            color: #666;
            font-size: 0.95em;
            margin-top: 10px;
            font-style: italic;
        }

        .wp-text-highlighter .wth-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            padding: 20px;
            background: #ffffff;
        }

        .wp-text-highlighter .wth-panel {
            display: flex;
            flex-direction: column;
        }

        .wp-text-highlighter .wth-panel h2 {
            color: #000000;
            margin-bottom: 12px;
            font-size: 1.3em;
            font-weight: 600;
        }

        .wp-text-highlighter textarea {
            flex: 1;
            padding: 15px;
            border: 2px solid #333333;
            border-radius: 6px;
            font-size: 15px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            resize: vertical;
            min-height: 350px;
            transition: border-color 0.3s;
            background: #ffffff;
            color: #000000;
        }

        .wp-text-highlighter textarea:focus {
            outline: none;
            border-color: #000000;
        }

        .wp-text-highlighter .wth-output-box {
            flex: 1;
            padding: 15px;
            border: 2px solid #333333;
            border-radius: 6px;
            font-size: 15px;
            background: #f9f9f9;
            overflow-y: auto;
            min-height: 350px;
            line-height: 1.8;
            cursor: text;
            transition: border-color 0.3s;
            color: #000000;
        }

        .wp-text-highlighter .wth-output-box:focus {
            outline: none;
            border-color: #000000;
        }

        .wp-text-highlighter .wth-output-box strong {
            font-weight: 700;
            color: #000000;
            background: #e0e0e0;
            padding: 2px 4px;
            border-radius: 3px;
        }

        .wp-text-highlighter .wth-controls {
            display: flex;
            gap: 10px;
            margin-top: 12px;
            flex-wrap: wrap;
        }

        .wp-text-highlighter button {
            background: #000000;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 600;
        }

        .wp-text-highlighter button:hover {
            background: #333333;
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .wp-text-highlighter button:active {
            transform: translateY(0);
        }

        .wp-text-highlighter .wth-secondary-btn {
            background: #666666;
        }

        .wp-text-highlighter .wth-secondary-btn:hover {
            background: #888888;
        }

        .wp-text-highlighter .wth-info-section {
            padding: 20px;
            background: #f8f9fa;
            border-top: 2px solid #e0e0e0;
            margin-top: 20px;
            border-radius: 0 0 8px 8px;
        }

        .wp-text-highlighter .wth-info-section h3 {
            color: #000000;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .wp-text-highlighter .wth-rules-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 12px;
            margin-top: 15px;
        }

        .wp-text-highlighter .wth-rule-item {
            background: white;
            padding: 12px;
            border-radius: 6px;
            border-left: 4px solid #000000;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .wp-text-highlighter .wth-rule-item strong {
            color: #000000;
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .wp-text-highlighter .wth-stats {
            margin-top: 12px;
            padding: 15px;
            background: white;
            border-radius: 6px;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            border: 1px solid #e0e0e0;
        }

        .wp-text-highlighter .wth-stat-item {
            flex: 1;
            min-width: 120px;
            text-align: center;
            padding: 12px;
            border-radius: 6px;
            background: #000000;
            color: white;
        }

        .wp-text-highlighter .wth-stat-item .wth-number {
            font-size: 1.8em;
            font-weight: bold;
        }

        .wp-text-highlighter .wth-stat-item .wth-label {
            font-size: 0.85em;
            opacity: 0.9;
            margin-top: 4px;
        }

        @media (max-width: 768px) {
            .wp-text-highlighter .wth-content {
                grid-template-columns: 1fr;
            }
            
            .wp-text-highlighter .wth-header h1 {
                font-size: 1.5em;
            }

            .wp-text-highlighter .wth-controls {
                flex-direction: column;
            }

            .wp-text-highlighter button {
                width: 100%;
            }
        }