
.upload-area {
    border: 2px dashed #007bff;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.upload-area.dragover {
    border-color: #28a745;
    background-color: #d4edda;
}

.upload-placeholder {
    color: #6c757d;
}

.conversion-settings {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.settings-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.settings-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.settings-header h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Quality Slider Enhancement */
.quality-slider-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.quality-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.quality-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.quality-label.active {
    opacity: 1;
}

.quality-slider-wrapper {
    position: relative;
    margin: 15px 0;
}

.quality-slider {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #dc3545 0%, #ffc107 50%, #28a745 100%);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.quality-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #007bff;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quality-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.quality-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #007bff;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quality-value-display {
    text-align: center;
    margin-top: 10px;
}

.quality-value-display span {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

.quality-info {
    text-align: center;
}

/* Format Options */
.format-options .row {
    gap: 10px;
}

.format-option {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.format-option:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.format-option.active {
    border-color: #007bff;
    background: #e3f2fd;
}

.format-option .format-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.format-option .format-info strong {
    display: block;
    margin-bottom: 4px;
    color: #495057;
}

.format-option .format-info small {
    color: #6c757d;
}

.format-option .format-check {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #007bff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.format-option.active .format-check {
    opacity: 1;
}

/* Page Range Options */
.page-range-options .form-check {
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-range-options .form-check:hover {
    background-color: #f8f9fa;
}

.page-range-options .form-check-input:checked + .form-check-label {
    color: #007bff;
}

.custom-range-input {
    margin-left: 24px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Additional Options */
.additional-options .form-check {
    margin-bottom: 8px;
}

.additional-options .form-check-label {
    font-weight: 500;
    color: #495057;
}

.additional-options .form-check-input:checked + .form-check-label {
    color: #007bff;
}

.conversion-progress {
    background-color: #e3f2fd;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #bbdefb;
}

.conversion-result {
    background-color: #d4edda;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #c3e6cb;
}

.result-image {
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}

.result-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.result-image .image-info {
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.result-image .download-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-image:hover .download-btn {
    opacity: 1;
}

@media (max-width: 768px) {
    .conversion-settings .row {
        flex-direction: column;
    }
    
    .range-labels {
        font-size: 0.75rem;
    }
}
