.enlarge-image-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

h2, h3 {
    text-align: center;
    color: #2c3e50;
}

.upload-section {
    text-align: center;
    margin: 30px 0;
    padding: 30px;
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.upload-section:hover {
    border-color: #3498db;
    background-color: #eaf2f8;
}

.upload-input {
    display: none;
}

.upload-label {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3498db;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.upload-label:hover {
    background-color: #2980b9;
}

.file-info {
    margin-top: 15px;
    font-size: 14px;
    color: #7f8c8d;
}

.preview-section, .result-section {
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

.image-container {
    margin: 20px auto;
    text-align: center;
}

#original-image {
    max-width: 100%;
    max-height: 400px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.resolution-info {
    margin: 10px 0;
    font-size: 16px;
    color: #34495e;
}

.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.scale-options {
    display: flex;
    gap: 15px;
}

.scale-option {
    padding: 10px 20px;
    background-color: #ecf0f1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.scale-option.active {
    background-color: #3498db;
    color: white;
}

.scale-option:hover:not(.active) {
    background-color: #bdc3c7;
}

.enlarge-button {
    padding: 12px 30px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.enlarge-button:hover {
    background-color: #27ae60;
}

.download-button {
    display: block;
    margin: 20px auto;
    padding: 12px 30px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #c0392b;
}

.image-comparison {
    margin: 20px 0;
}

.status-message {
    margin: 20px 0;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.status-message.success {
    background-color: #d5f5e3;
    color: #27ae60;
}

.status-message.error {
    background-color: #fadbd8;
    color: #e74c3c;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}