.svg-template-editor { 
    display: flex;
    box-sizing: border-box;
    width: 100%;
    min-height: calc(100vh - 44px);
}

.svg-template-editor .left-bar { 
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.svg-template-editor .component-bar { 
    width: 100%;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, 80px);
    grid-template-rows: repeat(auto-fit, 80px);
    justify-content: space-between;
    align-content: space-around;
}

.svg-template-editor .component-bar .component-item { 
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 15px 5px;
    /* width: 92px; */
    /* height: 92px; */
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    cursor: pointer;
    background-color: #fff;
    border-radius: 15px;
}

.svg-template-editor .component-bar .component-item .label { 
    user-select: none;
}

.svg-template-editor .component-bar .component-item svg { 
    width: 64px;
}

.svg-template-editor .template-container { 
    width: 60%;
    background: #CFD8DC;
    box-shadow: inset 0 0 10px #1a29350d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-template-editor .template-container .svg-template-container {
    height: 100%;
    aspect-ratio: 2100 / 2970;
    background: #fff;
}

.svg-template-editor .template-container .svg-template-container svg {
    width: 100%;
}

.svg-template-editor .property-bar { 
    width: 20%;
    padding: 20px;
}

.svg-template-editor .property-bar .property-bar-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.svg-template-editor .property-bar .property-bar-container .property-bar-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.svg-template-editor .property-bar .property-bar-container .property-bar-item .property-bar-item-input {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

.svg-template-editor .property-bar .property-bar-container input.property-bar-item-input.color {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.svg-template-editor .property-bar .property-bar-container input.property-bar-item-input.color::-webkit-color-swatch {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 10px;
}

.svg-template-editor .property-bar .property-bar-container input.property-bar-item-input.color::-webkit-color-swatch-wrapper {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 10px;
}

.svg-template-editor .property-bar .seperate-box {
    height: 1px;
    width: 100%;
    border-bottom: 1px solid rgba(118, 118, 118, 0.3);
    margin-top: 14px;
    margin-bottom: 10px;
}

.svg-template-editor .left-bar {
    padding: 20px;
}

.svg-template-editor .left-bar .seperate-box {
    height: 1px;
    width: 100%;
    border-bottom: 1px solid rgba(118, 118, 118, 0.3);
    /* margin-top: 14px; */
    /* margin-bottom: 10px; */
}

.svg-template-editor .left-bar .open_template_container {
    display: flex;
    gap: 10px;
}

.svg-template-editor .left-bar .open_template_container .open_template_button {
    padding: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--main-sidebar-menu-button-selected-background-color);
    color: white;
    user-select: none;
    cursor: pointer;
    border-radius: 10px;
}

.svg-template-editor .left-bar .open_template_container .load_data_button {
    padding: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0078d4;
    color: white;
    user-select: none;
    cursor: pointer;
    border-radius: 10px;
}

.svg-template-editor .left-bar .open_template_container .export_template_button {
    padding: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--main-topbar-background-color);
    color: white;
    user-select: none;
    cursor: pointer;
    border-radius: 10px;
}


.svg-template-editor .font-face-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.svg-template-editor .font-face-bar .font-face-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    user-select: none;
}

.svg-template-editor .font-face-bar .font-face-header .header {
    font-weight: bold;
}

.svg-template-editor .font-face-bar .font-face-header .button {
    background-color: var(--main-sidebar-menu-button-selected-background-color);
    color: white;
    padding: 3px 10px;
    border-radius: 7px;
    cursor: pointer;
}


.svg-template-editor .font-face-bar .font-list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.svg-template-editor .font-face-bar .font-list-container .font-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 7px;
    padding: 10px;
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
}

.svg-template-editor .font-face-bar .font-list-container .remove-button {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.svg-template-editor .property-bar .property-bar-button-item {
    display: flex;
    justify-content: space-between;
}

.svg-template-editor .property-bar .property-bar-button-item .font-style-button {
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.svg-template-editor .property-bar .property-bar-button-item .font-style-button.selected {
    color: #000;
    border: 2px solid #000;
    border-radius: 10px;
}

.svg-template-editor .property-bar .delete-button {
    background-color: red;
    color: white;
    height: 36px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.svg-template-editor .property-bar .delete-button.disabled {
    background-color: #CFD8DC !important;
    color: white !important;
    cursor: not-allowed;
}

.svg-template-editor .property-bar .delete-button svg {
    height: 28px;
}
