body {
    margin: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    display: flex;
    width: 100%;
    height: 60px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ccc;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-left, .header-center, .header-right {
    display: flex;
    align-items: center;
}

.header-left .logo {
    width: 50px;
    height: 50px;
}

.header-center .title {
    font-size: 24px;
    font-weight: bold;
}

.header-right .help-icon-wrapper {
    position: relative;
}

.header-right .help-icon {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.header-right .help-text {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.header-right .help-icon-wrapper:hover .help-text {
    display: block;
}

.container {
    display: flex;
    width: 90%;
    height: 80%;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.toolbox {
    width: 20%;
    background-color: #f0f0f0;
    overflow-y: auto;
    padding: 10px;
    border-right: 1px solid #ccc;
}

.toolbox h3 {
    text-align: center;
    margin-top: 0;
}

.toolbox #items {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

.item {
    width: 50px;
    height: 50px;
    cursor: grab;
    z-index: 10;
}

.item-label {
    margin-top: 5px;
    font-size: 12px;
    text-align: center;
}

.drawing-area {
    width: 80%;
    position: relative;
    background-color: #ffffff;
    overflow: auto;
}

#stage-container {
    width: 100%;
    height: 100%;
}

.grid-line {
    stroke: #ddd;
    stroke-width: 1;
}

.dragging {
    opacity: 0.5;
}

.draggable {
    cursor: move;
}

.buttons {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.name-input-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.name-input-wrapper input {
    margin-right: 10px;
}

