#image-compressor {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    padding: 30px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: auto;
}

h2 {
    text-align: center;
    color: #0073aa;
    margin-bottom: 30px;
}

#image-upload {
    padding: 20px;
    border: 2px dashed #0073aa;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
}

#image-upload p {
    font-size: 16px;
    color: #0073aa;
}

.upload-button {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#image-preview, #compression-settings, #compressed-preview {
    text-align: center;
    margin-top: 20px;
}

.hidden {
    display: none;
}

button, .button {
    background-color: #0073aa;
    color: white;
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover, .button:hover {
    background-color: #005f7f;
}

#quality {
    width: 80%;
    margin-top: 10px;
}

#quality-value {
    font-size: 14px;
    color: #333;
    margin-left: 10px;
}

.checkbox {
    margin-top: 10px;
}

#compressed-image {
    max-width: 100%;
    height: auto;
}

#download-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

#download-link:hover {
    background-color: #218838;
}
