﻿.receipt-template{
    display:flex;
    flex-direction:row;
    gap:5px;
}
.receipt-template-container{
    width:70%;
}
.receipt-template-container-tab {
    
}
.receipt-template-menu {
    width: 30%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: calc(100vh - 60px - 120px);
    overflow-x: hidden;
}
.receipt-template-view {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 15px;
    width: 450px;
    border-radius:5px;
    gap:5px;
}
.receipt-template-header {
    display: flex;
    flex-direction: column;
    gap:5px;
}
.receipt-template-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.receipt-template-element {
    border: dotted #f3f5f7;
    border-radius: 2px;
    padding: 5px;
    position: relative;
    cursor:pointer;
}
    .receipt-template-element:hover, .receipt-template-element-property:hover {
        background-color: #f3f5f7;
    }
.receipt-template-element-edit{
    position:absolute;
    right:0px;
    top:0px;
    opacity:0;
}
.receipt-template-element:hover .receipt-template-element-edit {
    opacity: 1;
}
.receipt-template-element-property:hover .receipt-template-element-edit {
    opacity: 1;
}
.receipt-template-element-property {
    border: dotted #f3f5f7;
    border-radius: 2px;
    padding: 5px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
}
.receipt-template-element-text {
    font-family: Courier New, Courier, monospace;
    color: black;
    margin-bottom: 0px;
    text-wrap: nowrap;
    white-space: pre-wrap;
}
.receipt-template-separator {
    height: 1px;
    width: 100%;
    border: 1px dotted black;
}
.receipt-template-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}