/* Image Resizer Specific Styles */
.image-resizer {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.drop-area {
    border: 2px dashed #ccc !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.drop-area:hover {
    border-color: #007bff !important;
    background-color: #f8f9ff;
}

.drop-area.dragover {
    border-color: #007bff !important;
    background-color: #e7f3ff;
    transform: scale(1.02);
}

/* Image Resizer specific styles */
.upload-area {
    border: 2px dashed #007bff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #0056b3;
    background: #f8f9fa;
}

.image-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.resize-slider {
    background: linear-gradient(to right, #007bff, #28a745);
}

.quality-indicator {
    font-size: 0.9rem;
    color: #6c757d;
}

.before-after {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.comparison-arrow {
    font-size: 2rem;
    color: #007bff;
}

.file-info {
    background: #e9ecef;
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.progress-container {
    display: none;
}

.processing {
    opacity: 0.6;
    pointer-events: none;
}
.upload-area {
    border: 3px dashed #dee2e6;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
}

.upload-area:hover {
    border-color: #007bff;
    background: linear-gradient(45deg, #e3f2fd 0%, #bbdefb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.15);
}

.upload-area.drag-over {
    border-color: #007bff;
    background: linear-gradient(45deg, #e3f2fd 0%, #bbdefb 100%);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,123,255,0.2);
}

.preview-container {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    background: #f8f9fa;
}

.preview-container img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 5px;
}

.image-info {
    margin-top: 0.5rem;
    text-align: center;
}

.resize-options {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.btn-check:checked + .btn-outline-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-color: #0056b3;
    color: white;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.form-range {
    accent-color: #007bff;
}

.form-range::-webkit-slider-thumb {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 2px 6px rgba(0,123,255,0.3);
}

.badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
}

.image-info {
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.form-range {
    accent-color: #667eea;
}

.download-options {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .preview-container img {
        max-height: 200px;
    }
}
