* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}
.parent {
    display: flex;
}
.content {
    flex: 1;
    padding: 10px;
    margin-left: 260px;
}
.main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0px;
}
.sidebar {
    width: 20%;
}
.preview, .edit {
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.preview {
    overflow: hidden;
    height: 800px;
}
.edit {
    display: flex;
    flex-direction: column;
}
input, select {
    padding: 10px;
    border: 1px solid #c5c5c5;
    border-radius: 10px;
    margin-bottom: 10px;
    width: 100%;
}
input {
    margin-top: 5px;
}
#gridPreview {
    display: grid;
    padding: 10px;
    min-height: 350px;
    resize: both;
    overflow: none;
    transition: all 0.3s ease;
    width: 100%;
}
#gridPreview div {
    background: #6f2cf6;
    color: #fff;
    display: flex;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #4a1bb5;
    transition: transform 0.3s ease;
}
.label {
    width: 100%;
}
.ui {
    width: 100%;
    padding: 5px;
}
@media screen and (max-width: 768px) {
    .main {
        display: flex;
        flex-direction: column;
    }
}