.wth-tool-wrapper {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    text-align: center;
}

.wth-subtitle {
    color: #777;
    margin-bottom: 30px;
}

.wth-upload-box {
    display: block;
    margin-bottom: 20px;
    cursor: pointer;
}

.wth-upload-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #6c63ff, #4f46e5);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s;
}

.wth-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.wth-info {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

.wth-range {
    width: 100%;
    margin-bottom: 20px;
}

.wth-compress-btn {
    width: 100%;
    padding: 14px;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.wth-compress-btn:hover {
    background: #000;
}

.wth-drop-zone {
    border: 2px dashed #6366f1;
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.wth-drop-zone:hover {
    background: #f3f4ff;
    border-color: #4f46e5;
}

.wth-drop-zone.active {
    background: #eef2ff;
    border-color: #4f46e5;
}

.wth-drop-content {
    max-width: 400px;
    margin: auto;
}

.wth-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.wth-main-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111827;
}

.wth-or {
    display: block;
    margin: 15px 0;
    color: #6b7280;
}

.wth-primary-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wth-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.3);
}

.wth-small-text {
    margin-top: 15px;
    font-size: 13px;
    color: #9ca3af;
}


#wthPreviewImage {
    max-width: 100%;
    margin: 20px 0;
    border-radius: 8px;
}

#wthLoader {
    margin-top: 20px;
    font-weight: bold;
}

.wth-quality-wrapper {
    margin-top: 30px;
    margin-bottom: 25px;
    text-align: left;
}

.wth-quality-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    color: #111827;
}

.wth-slider {
    width: 100%;
    height: 8px;
    border-radius: 50px;
    appearance: none;
    outline: none;
    background: #e5e7eb;
    transition: background 0.3s ease;
}

.wth-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #4f46e5;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(79,70,229,0.4);
    transition: transform 0.2s ease;
}

.wth-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}


.wth-compress-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
}

.wth-compress-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.wth-download {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 22px;
    background: #10b981;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wth-download:hover {
    background: #059669;
    transform: translateY(-2px);
}

