.wrapper-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
}

h1 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.upload-area {
    border: 2px dashed #6a11cb;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f8f9fa;
    margin-bottom: 25px;
}

.upload-area:hover {
    background-color: #e9ecef;
    border-color: #2575fc;
}

.upload-area.drag-over {
    background-color: #e0f7fa;
    border-color: #00bcd4;
}

.upload-icon {
    font-size: 50px;
    color: #6a11cb;
    margin-bottom: 15px;
}

.upload-text {
    font-size: 18px;
    margin-bottom: 10px;
}

.upload-subtext {
    color: #6c757d;
    font-size: 14px;
}

#file-input {
    display: none;
}

.preview-container {
    text-align: center;
    margin-bottom: 25px;
    display: none;
}

.preview-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #495057;
}

#image-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.size-selection {
    margin-bottom: 25px;
    display: none;
}

.size-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #495057;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.size-option {
    padding: 8px 15px;
    background-color: #e9ecef;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.size-option:hover {
    background-color: #dee2e6;
}

.size-option.selected {
    background-color: #6a11cb;
    color: white;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

#convert-btn {
    background-color: #6a11cb;
    color: white;
    display: none;
}

#convert-btn:hover {
    background-color: #5a0fb8;
    transform: translateY(-2px);
}

#download-btn {
    background-color: #28a745;
    color: white;
    display: none;
}

#download-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

#reset-btn {
    background-color: #dc3545;
    color: white;
}

#reset-btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.info-box {
    background-color: #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.info-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #495057;
}

.info-text {
    color: #6c757d;
    line-height: 1.5;
}

.status-message {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    display: none;
}

.status-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.status-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .upload-area {
        padding: 30px 15px;
    }

    button {
        padding: 10px 20px;
    }
}