.content-wrapper {
    margin-top: 30px; /* Adjust this value as needed */
    margin-bottom: 30px; /* Adjust this value as needed */
}

.toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    z-index: 1001;
    position: relative;
}

.toolbar button, .toolbar input[type="color"] {
    margin: 0 10px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
    height: 40px; /* Ensure consistent height */
}

.toolbar button i, .toolbar input[type="color"] {
    font-size: 24px;
}

.canvas-container {
    border: 10px solid #ccc;
    border-radius: 20px;
    background-color: white;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    width: 80%;
    max-width: 800px;
    height: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1000;
    overflow: hidden;
    margin: 0 auto;
}

canvas {
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

.resize-handle {
    width: 40px;
    height: 40px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: ns-resize;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resize-handle i {
    font-size: 20px;
    color: #777;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content button {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
}

.dropdown-content button:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}
.color-picker-btn {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.color-picker-btn::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker-btn::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
}

.color-picker-btn:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    width: 20px;
    height: 30px;
    background-color: inherit;
    border-radius: 50%;
    transform: translateX(-50%) rotate(45deg);
    z-index: -1;
}

.color-picker-btn:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 40px;
    height: 20px;
    background-color: inherit;
    border-radius: 50%;
    transform: translateX(-50%) rotate(45deg);
    z-index: -1;
}

