body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 20px;
    color: #333;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1 {
    color: #007BFF;
    text-align: center;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #007BFF;
}
input[type="file"], select, input[type="range"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #007BFF;
    border-radius: 5px;
    font-size: 16px;
}
.preview-container {
    text-align: center;
    margin: 20px 0;
}
#previewImage {
    max-width: 100%;
    max-height: 300px;
    border-radius: 5px;
    display: none;
}
.button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
    transition: background-color 0.3s;
}
.button:hover {
    background-color: #0056b3;
}
.button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
.info {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}
.error {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}
.spinner {
    display: none;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007BFF;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    .button {
        width: 100%;
        margin: 10px 0;
    }
}