.upload-container {
    text-align: center;
    padding: 2rem;
}

.drop-area {
    border: 2px dashed #ccc;
    padding: 2rem;
    margin: 1rem 0;
    cursor: pointer;
}

.drop-area.dragover {
    border-color: #4CAF50;
    background-color: #f8f8f8;
}

.color-controls {
    margin: 1rem 0;
}

.color-controls label {
    display: inline-block;
    margin: 0 1rem;
}

.action-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.advertisement {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
}

#imageCanvas {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}
#previewContainer {
        margin: 20px auto;
        width: 570px;
        height: 820px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Button styling */
    .btn {
        padding: 10px 20px;
        background: #4CAF50;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    }

    /* Loading overlay */
    .loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.18);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .loading-box {
        background: white;
        padding: 30px 50px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        font-size: 1.2em;
    }