/* LQIP Generator Specific Styles */

.lqip-dropzone {
    border: 2px dashed #dee2e6;
    transition: all 0.2s ease-in-out;
}

.lqip-dropzone:hover,
.lqip-dropzone.drag-over {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

.interactive-dropzone {
    cursor: pointer;
}

/* Base64 & Textareas */
.copy-btn {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
}

textarea.font-monospace {
    font-size: 0.85rem;
    resize: none;
}

textarea:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

/* Compare Image Slider */
.comparison-container {
    background-color: transparent;
    user-select: none;
    position: relative;
    border-radius: 8px;
    height: 400px;
}

.comparison-container img,
.comparison-container canvas {
    max-height: 400px;
    object-fit: contain;
}

/* Tabs */
.phi-tabs.nav-pills .nav-link {
    color: #495057;
    font-size: 0.9rem;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1rem;
    background: transparent;
}

.phi-tabs.nav-pills .nav-link.active {
    color: #0d6efd;
    background: transparent;
    border-bottom-color: #0d6efd;
    font-weight: 600;
}

.phi-tabs.nav-pills .nav-link:hover:not(.active) {
    border-bottom-color: #e9ecef;
}

/* Form controls */
.form-range::-webkit-slider-thumb {
    background: #0d6efd;
}

.form-range::-moz-range-thumb {
    background: #0d6efd;
}

.form-range::-ms-thumb {
    background: #0d6efd;
}

#metrics-block.opacity-50 {
    opacity: 0.5 !important;
}

#color-block.opacity-50 {
    opacity: 0.5 !important;
}

.pe-none {
    pointer-events: none;
}