
:root {

}

html {
    background-color:#F3F4F6;
}

body {
    margin: 0;
    background-color: #F3F4F6;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

body.modal-on-display {
    overflow: hidden;
}

ui-header {
    display: block;
    position: relative;
    z-index: 1;
}

ui-header > .box {
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.10);
    background-color: white;
}

menu-item,
.menu-item {
    user-select: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    color: #757575;
    padding: 3.3px 5.5px;
    white-space: nowrap;
}

menu-item.selected,
.menu-item.selected {
    background-color: #CA0A1C;
    color: white;
}

.menu-item .subtab {
    background-color: #FFFFFF;
    overflow: hidden;
    color: #757575;
    border-radius: 2px;
    border-top-left-radius: 1px;
    border-bottom-left-radius: 1px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 7px;
    max-width: 0;
    opacity: 0;
    padding: 0;
    transition: 300ms max-width, 300ms opacity, 300ms padding;
}

menu-item-subtab .menu-item.selected .subtab {
    max-width: 100px;
    opacity: 1;
    padding: 0 5px;
}

menu-item-subtab .menu-item.selected .subtab .selected{
    color: #CA0A1C;
}

menu-item-subtab .menu-item {
    display: flex;
    gap: 5px;
    padding-right: 3px;
}

menu-item-subtab .menu-item.selected {
    padding-right: 3px;
}

.card {
    background: #FFFFFF;
    box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.10), 0 1px 3px 0 rgba(0, 0, 0, 0.10);
    border-radius: 6px;
    font-size: 14px;
    color: #6B7280;
}

action-button {
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    border-radius: 6px;
    font-weight: 600;
    font-size: 11px;
    color: #111827;
    display: inline-block;
    padding: 6px 9px;
    -webkit-tap-highlight-color: transparent;
}

action-button:active {
    background: #e4e4e4;
}

checkbox {
    background-color: #D8D8D8;
    border-radius: 4px;
    width: 16px;
    height: 16px;
}

checkbox.checked {
    background-color: #CA0A1C;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

dropdown, dropdown-multiple select, dropdown-multiple-platformless, faux-dropdown {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05), inset 0 0 0 0 #D1D5DB;
    border-radius: 6px;
    font-size: 15px;
    color: #757575;
    padding: 6px 10px;
    padding-right: 40px;
    background-color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position-x: right;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-size: 2.5em 1.5em;
    position: relative;
}

dropdown-multiple-platformless {
    background-image: none;
    height: 100px;
    overflow: scroll;
}


dropdown-multiple select {
    appearance: none;
    padding-top: 5px;
    padding-bottom: 5px;
}

dropdown > select {
    appearance: none;
    opacity: 0;
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
}

input-label {
    display: inline-block;
}

input-label > column > span {
    color: #757575;
    font-size: 13px;
}

.label {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: bold;
    color: rgb(117, 117, 117);
}


light-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: rgb(199, 199, 199);
    border: 0.5px solid rgb(161, 161, 161);
    box-shadow: 0 0 1px 0 rgba(199, 197, 197, 0.66);
}

light-indicator.green {
    background: rgba(40,200,64);
    border: 0.5px solid rgba(32, 160, 51);
    box-shadow: 0 0 1px 0 rgba(40,200,64,0.66);
}

light-indicator.yellow {
    background: rgb(230, 199, 46);
    border: 0.5px solid rgb(230, 199, 46);
    box-shadow: 0 0 1px 0 rgba(230, 199, 46, 0.66);
}

light-indicator.red {
    background: rgb(200, 40, 40);
    border: 0.5px solid rgb(160, 32, 32);
    box-shadow: 0 0 1px 0 rgba(200, 40, 40, 0.66);
}


doughnut-chart,
doughnut-chart2,
line-chart {
    height: 100%;
    display: flex;
    justify-content: center;
}

doughnut-chart > canvas,
doughnut-chart2 > canvas,
line-chart > canvas{
    height: 100%;
    width: 100%;
}

basic-tab-view {
    overflow: hidden;
    visibility: hidden;
    position: relative;
}

.swipe-wrap {
    overflow: hidden;
    position: relative;
}

.swipe-wrap > * {
    float: left;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 28px;
    display: flex;
    flex-direction: column;
}

.swipe-wrap > * > * {
    padding-left: 22px;
    padding-right: 22px;
}

top-products-per-family,
top-products-single {
    display: flex;
    flex-direction: column;
}

.activity-table {
    display: table;
    font-size: 16px;
}

.activity-header {
    font-weight: 450;
    background-color: #CA0A1C24;
    color: #CA0A1C;
}

.activity-header.gold {
    background-color: #FF950024;
    color: #FF9500;
}

.activity-row {
    display: table-row;
}

.activity-row > *:first-child { padding-left: 20px; }
.activity-row > *:last-child { padding-right: 20px; }

.activity-row:first-child > *:first-child { border-top-left-radius: 6px; }
.activity-row:first-child > *:last-child { border-top-right-radius: 6px; }
.activity-row:last-child > *:first-child { border-bottom-left-radius: 6px; }
.activity-row:last-child > *:last-child { border-bottom-right-radius: 6px; }


.activity-row > * {
    display: table-cell;
    padding-top: 12px;
    padding-bottom: 12px;
}

.activity-row > *:not(:first-child) {
    text-align: right;
}

.billing-chart {
    height: calc(100vh - 300px);
}

@media only screen and (orientation: landscape) {
    .billing-chart {
        height: 95vh;
    }
}


.arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left:6px solid black;
    margin-right: 8px;
    transition: 200ms transform;
}

.arrow.open {
    transform: rotate(90deg);
}

.activity-header .arrow {
    border-left-color: #CA0A1C;
}

input[type="text"],
input[type="password"] {
    outline: none;
    background: #FFFFFF;
    border: 0.5px solid #D1D5DB;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), inset 0 0 0 0px #D1D5DB, inset 0 0 0 0 #FFFFFF;
    border-radius: 5px;
    font-size: 12pt;
    padding: 7px;
}

.login-button {
    background-color: #CA0A1C;
    color: #FFFFFF;
    font-size: 14px;
    border-radius: 8px;
    padding: 6pt;
    text-align: center;
}

.login-message.failed {
    background-color: #ffebebff;
    color: #e72622;
    padding: 1em;
    border-radius: 7px;
    border: 1px solid;
}

.login-message.info {
    background-color: #ebf7ff;
    color: #229be7;
    padding: 1em;
    border-radius: 7px;
    border: 1px solid;
}

reports-tab .restaurant-list span:not(:last-child)::after {
    content: ', ';
}

reports-tab .restaurant-list {
    font-weight: 600;
    font-size: 14px;
}

period-selector {
    position: absolute;
    right: 20px;

    color: transparent;
    font-size: 12px;

    padding: 0 10px 0 15px;
    background: white;
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.10);
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
    max-height: 0;

    transition: 210ms color, 300ms max-height, 300ms padding;
}


period-selector.visible {
    color: black;
    padding: 3px 10px 5px 15px;
    max-height: 50px;
    transition: 210ms 90ms color, 300ms max-height, 300ms padding;
}

period-selector .accented-text {
    opacity: 0;
    transition: 210ms opacity;
}

period-selector.visible .accented-text {
    opacity: 1;
    transition: 210ms 90ms opacity;
}

modals-container {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    z-index: 999;
}

modal-period-selector, modal-period-selector-report {
    background-color: rgba(255, 255, 255, 0.7);
    margin: 0 40px;
    position: relative;
    top: 185px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 0 32px 2px rgba(0,0,0,0.20);
    border-radius: 16px;

    animation-duration: 300ms;
    animation-name: modal-appear;
    transform-origin: right top;
}

modal-period-selector-report {
    animation-duration: 300ms;
    animation-name: modal-appear-left;
    transform-origin: left 90px;
    top: 80px;
}

modal-period-selector.willHide {
    animation-duration: 300ms;
    animation-name: modal-disappear;
    opacity: 0;
}

modal-period-selector-report.willHide {
    animation-duration: 300ms;
    animation-name: modal-disappear-left;
    opacity: 0;
}

modal-period-selector.hidden, modal-period-selector-report.hidden {
    display: none;
}

modal-menu-item {
    flex: 1;
    padding: 12px 18px;
    line-height: 22px;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    font-size: 17px;
    color: #000000;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

modal-menu-item.disabled {
    background-color: rgb(200,200, 200, 1);
    opacity: 0.5;
}

modal-menu-item.disabled:hover {
    background-color: rgb(200,200, 200, 1);
    opacity: 0.5;
}

modal-menu-item.Centered > row {
    justify-content: center;
}

modal-menu-item.Centered > row > column {
    align-items: center;
}

modal-menu-item.Default > row {
    padding-left: 12px;
}

modal-menu-item .checkmark {
    width: 16px;
    position: absolute;
    top: calc(50% - 8px);
    left: 9px;
}


modal-menu-item:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

modal-menu-item .subtitle {
    font-size: 12px;
    color: rgba(60,60,67,0.60);
    line-height: 20px;
}

column > modal-menu-item + modal-menu-item {
    border-top: solid 1px rgba(17,17,17,0.2);
}

row.modal-menu-items-row > modal-menu-item + modal-menu-item {
    border-left: solid 1px rgba(17,17,17,0.2);
}

row.modal-menu-items-row > modal-menu-item + modal-menu-item {
    border-left: solid 1px rgba(17,17,17,0.2);
}

row.modal-menu-items-row + row.modal-menu-items-row {
    border-top: solid 1px rgba(17,17,17,0.2);
}

modal-period-selector > column > modal-menu-item:first-child,
modal-period-selector-report > column > modal-menu-item:first-child {
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
}

modal-period-selector row.modal-menu-items-row:last-child modal-menu-item:last-child,
modal-period-selector-report row.modal-menu-items-row:last-child modal-menu-item:last-child{
    border-bottom-right-radius: 16px;
}

modal-period-selector row.modal-menu-items-row:last-child modal-menu-item:first-child,
modal-period-selector-report row.modal-menu-items-row:last-child modal-menu-item:first-child{
    border-bottom-left-radius: 16px;
}

.modal-quarter-calendar row.modal-menu-items-row:last-child modal-menu-item:first-child,
.modal-quarter-calendar row.modal-menu-items-row:last-child modal-menu-item:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

modal-menu-grouper-text {
    font-size: 11px;
    color: #000000;
    line-height: 13px;
    padding: 6px 13px 4px;
    background-color: rgba(204, 204, 204, 0.3);
}

modal-menu-grouper-text .link {
    color: #229be7;
    display: flex;
    align-items: center;
}

.modal-month-calendar.swap, .modal-quarter-calendar.swap{
    animation-duration: 300ms;
    animation-name: calendar-swap;
}

@keyframes calendar-swap {
    0% {
        transform: none;
        opacity: 1;
    }
    50% {
        opacity: 0;
        transform: scale(0.8) translateX(-100px);
    }
    51% {
        transform: scale(0.8) translateX(+100px);
    }
    100% {
        transform: none;
        opacity: 1;
    }
}

@keyframes modal-appear {
    0% {
        transform: scale(0.5) translateY(-20px);
        opacity: 0;
    }
    60% {
        transform: scale(1.01);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes modal-disappear {
    0% {
        opacity: 1;
        transform: none;
    }
    100% {
        transform: scale(0.5) translateY(-20px);
        opacity: 0;
    }
}


@keyframes modal-appear-left {
    0% {
        transform: scale(0.5) translateY(+20px);
        opacity: 0;
    }
    60% {
        transform: scale(1.01);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes modal-disappear-left {
    0% {
        opacity: 1;
        transform: none;
    }
    100% {
        transform: scale(0.5) translateY(+20px);
        opacity: 0;
    }
}

view, row, column {
    display: flex;
}

view.row, row { flex-direction: row; }
view.column, column { flex-direction: column; }
view.row-reverse, row.reverse { flex-direction: row-reverse; }
view.column-reverse, column.reverse { flex-direction: column-reverse; }
