body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

header {
    font-size: 2em;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    margin: 5px;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.toolbox {
    display: flex;
    margin-bottom: 20px;
}

.tool {
    padding: 10px;
    margin-right: 10px;
    background-color: #ccc;
    cursor: pointer;
}

.canvas {
    border: 1px solid #ccc;
    min-height: 400px;
    position: relative;
    margin-bottom: 20px;
    padding: 20px;
}

.draggable {
    position: absolute;
    cursor: move;
}

/* Alignment options styling */
.alignment-options {
    position: absolute;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px;
    display: none;
}

.align {
    margin: 5px;
    cursor: pointer;
}

#image-upload {
    display: none;
}

/* Resizable image styling */
.resizable {
    position: relative;
    display: inline-block;
}

.resizable img {
    width: 100%;
    height: auto;
    display: block;
}

.resizable .resize-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #333;
    border-radius: 50%;
    cursor: se-resize;
    right: 0;
    bottom: 0;
    z-index: 10; /* Ensure the handle stays above the image */
}