body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
}

.custom-file-upload {
    display: block;
    background: #007bff;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.custom-file-upload input {
    display: none;
}

.input-group {
    margin-bottom: 10px;
}

button {
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:active {
    transform: scale(0.95);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.btn.reduce { background: #28a745; color: white; }
.btn.download-all { background: #ffc107; color: black; }
.btn.clear-all { background: #dc3545; color: white; }
.btn.download { background: #007bff; color: white; }

.image-preview {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.image-container {
    text-align: center;
}

.image-preview img {
    max-width: 150px;
    max-height: 150px;
    border: 2px solid #ddd;
    padding: 5px;
    background: white;
    display: block;
    margin: auto;
}
