/* Image Compressor Specific Styles */

.compress-section {
    min-height: 60vh;
}

.compression-settings {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-range {
    cursor: pointer;
}

.form-range::-webkit-slider-thumb {
    background-color: #fb983a;
}

.form-range::-moz-range-thumb {
    background-color: #fb983a;
}

.form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 0.25rem rgba(251, 152, 58, 0.25);
}

/* Image Result Card */
.image-result {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.image-result:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.image-result img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    object-fit: contain;
}

.size-comparison {
    display: flex;
    justify-content: space-around;
    margin: 15px 0;
}

.size-box {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background: #f8f9fa;
}

.size-box.original {
    border-left: 4px solid #dc3545;
}

.size-box.compressed {
    border-left: 4px solid #28a745;
}

.savings-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

/* Download Buttons */
.download-btn {
    background-color: #fb983a;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    background-color: #e8872a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 152, 58, 0.3);
    color: white;
}

/* Feature Box */
.feature-box {
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Progress Bar Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 152, 58, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(251, 152, 58, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(251, 152, 58, 0);
    }
}

.progress {
    animation: pulse 2s infinite;
}

/* About Section Box Model */
.about-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(251, 152, 58, 0.2);
    border-color: #fb983a;
}

.about-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fb983a, #ff6b35);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(251, 152, 58, 0.3);
}

.about-icon i {
    font-size: 32px;
    color: white;
}

.about-box-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.about-box-text {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    text-align: justify;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .image-result img {
        max-width: 150px;
        max-height: 150px;
    }
    
    .size-comparison {
        flex-direction: column;
        gap: 10px;
    }
    
    .about-box {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .about-icon {
        width: 60px;
        height: 60px;
    }
    
    .about-icon i {
        font-size: 28px;
    }
    
    .about-box-title {
        font-size: 18px;
    }
}
