﻿@import url("filter-items.css");
@import url("moveable.css");
@import url("order.css");

:root {
    /* Colors: */
    --color-text-explanitory: #AAABAC;
    --color-table-text: #616262;
    --color-headline-text: #313131;
    --color-container: #FFFFFF;
    --color-sidebar: #13440F;
    --color-input-stroke: #DBDCDD;
    --color-table: #D5EED3;
    --color-input-stroke-focused: #1A80E5;
    --color-menu-item: #0E330B;
    --color-scroll-indicator: #C2C3C4;
    --color-negative-button-hover: #FCE7E7;
    --color-petroff-annulated: #FFCDD2;
    --color-petroff-stored: #FFE0CD;
    --color-lightgray-table-background: #F3F4F5;
    --mud-palette-primary: rgba(50, 170, 42, 1);
    /* Layout */
    --mud-button-borderradius: 28px;
    --step-wizard-max-width: 800px;
    /* Font/text values */
    --typography-body-xxs: 400 12px/15px Mulish;
    --typography-helper-l: bold 400 11px/14px Mulish;
    --typography-helper: regular 400 11px/14px Mulish;
    --typography-helper-italic: italic 400 11px/14px Mulish;
    --typography-button-m: 400 16px/20px Mulish;
    --typography-button-s: 600 14px/18px Mulish;
    --typography-button-xs: 400 14px/18px Mulish;
    --typography-sidebar-company: 700 23px/28px Mulish;
}

body {
    background: var(--mud-palette-background, #F3F4F5) 0% 0% no-repeat padding-box !important;
    opacity: 1;
}

.mud-tabs-tabbar {
    background-color: transparent !important;
}

th.mud-table-cell {
    font-weight: var(--mud-typography-overline-weight) !important;
    font-size: var(--mud-typography-overline-size) !important;
    line-height: var(--mud-typography-overline-lineheight) !important;
    letter-spacing: var(--mud-typography-overline-letterspacing) !important;
    color: var(--mud-palette-info) !important;
}

.mud-progress-circular {
    display: inline-block;
    color: var(--mud-palette-text-secondary, #32AA2A);
}

    .mud-progress-circular.mud-progress-indeterminate {
        animation: mud-progress-circular-keyframes-circular-rotate 1.4s linear infinite;
    }

.mud-progress-circular-svg {
    display: block;
    transform: rotate(-90deg);
}

.mud-progress-circular-circle {
    stroke: currentColor;
}

    .mud-progress-circular-circle.mud-progress-indeterminate {
        animation: mud-progress-circular-keyframes-circular-dash 1.4s ease-in-out infinite;
        stroke-dasharray: 80px,200px;
        stroke-dashoffset: 0;
    }

.loading_container {
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
    width: 456px;
    height: 255px;
}

    .loading_container h3 {
        text-align: center;
        font: normal normal 800 32px/40px Mulish;
        letter-spacing: 0px;
        color: var(--color-headline-text);
        opacity: 1;
    }

    .loading_container .card {
        text-align: center;
        background: #FFFFFF 0% 0% no-repeat padding-box;
        border-radius: 16px;
        opacity: 1;
        display: flex;
        justify-content: center;
        align-items: end; /* vertical */
        width: 408px;
        height: 159px;
        padding-bottom: 30px;
    }

    .loading_container h4 {
        width: 360px;
        height: 23px;
        text-align: center;
        font: normal normal 800 18px/24px Mulish;
        letter-spacing: 0px;
        color: var(--color-sidebar);
        opacity: 1;
    }

.mud-button {
    border-radius: var(--mud-button-borderradius) !important;
}

.mud-button-filled-size-large, .mud-button-outlined-size-large {
    height: 44px !important;
    font-family: var(--mud-typography-button-family) !important;
    font-size: var(--mud-typography-button-size) !important;
    font-weight: var(--mud-typography-button-weight) !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.mud-button-filled-size-medium, .mud-button-outlined-size-medium {
    height: 36px !important;
    font-family: var(--mud-typography-button-family) !important;
    font-size: var(--mud-typography-button-size) !important;
    font-weight: var(--mud-typography-button-weight) !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.mud-button-filled-size-small, .mud-button-outlined-size-small {
    height: 28px !important;
    font: var(--typography-button-xs) !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.mud-progress-circular.mud-progress-small {
    height: 20px !important;
    width: 20px !important;
}

.mud-button-negative {
    height: 28px !important;
    font: var(--typography-button-s) !important;
}

.mud-button-ghost-big {
    height: 36px !important;
    font-size: var(--mud-typography-subtitle1-size) !important;
    line-height: 20px !important;
}

.mud-button-ghost-small {
    height: 28px !important;
    font-size: var(--mud-typography-subtitle2-size) !important;
    line-height: var(--mud-typography-subtitle2-lineheight) !important;
}

.mud-input {
    border-radius: 8px !important;
}

.mud-input-slot {
    padding: 12px 16px !important;
    font-size: var(--mud-typography-subtitle1-size) !important;
    line-height: 20px !important;
}

.mud-input-label-outlined {
    height: 20px !important;
}

.mud-input-adornment > p.mud-typography {
    font: var(--typography-helper);
    text-overflow: ellipsis;
    overflow: hidden;
}

.mud-link.mud-primary-text {
    color: var(--mud-palette-black) !important;
    font-size: 16px !important;
    line-height: 20px !important;
}

.mud-link.mud-link-no-underline-hover:hover {
    text-decoration: none !important;
}

.mud-appbar-fixed-top {
    color: var(--mud-palette-black) !important;
    border-bottom: 1px solid !important;
    background-color: var(--mud-palette-background) !important;
    height: auto !important;
    border-bottom-color: #e9e9eb !important;
}
.mud-appbar .mud-toolbar-appbar {
    height: auto !important;
}

.mud-list-item-text {
    font-size: var(--mud-typography-subtitle1-size) !important;
    line-height: 20px !important;
}

.mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root {
    height: 20px !important;
}

.mud-tabs-toolbar-wrapper {
    gap: 10px;
}

.mud-tabs-toolbar-content {
    margin: auto 0;
}

.mud-tabs-toolbar-wrapper {
    gap: 10px;
}

.mud-tabs-toolbar-content {
    margin: auto 0;
}

.mud-tab {
    border-radius: 6px !important;
    line-height: 18px !important;
    min-height: 32px !important;
    color: var(--mud-palette-text-secondary) !important;
    background: var(--mud-palette-background) !important;
    font-size: var(--mud-typography-subtitle2-size) !important;
}

.mud-tab-active {
    background-color: var(--mud-palette-secondary) !important;
    color: var(--mud-palette-white) !important;
}

.mud-tab-small {
    font: var(--typography-body-xxs) !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    min-height: 24px !important;
}

.spacing .mud-tabs-tabbar-content .mud-tabs-tabbar-wrapper {
    gap: 6px;
}

.mud-table-root {
    border-radius: 12px !important;
    padding-bottom: 6px !important;
}

.mud-table-head-cell {
    height: 56px !important;
    font: normal normal 800 10px/14px Mulish !important;
}

.mud-table-cell {
    font-size: var(--mud-typography-subtitle2-size) !important;
    font-family: var(--mud-typography-subtitle2-family) !important;
    font-weight: var(--mud-typography-subtitle2-weight) !important;
    line-height: 18px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    max-height: 56px !important;
}

.mud-table-pagination-select {
    justify-content: center !important;
}

.mud-table-sticky-header * .mud-table-root .mud-table-head * .mud-table-cell {
    background-color: var(--mud-palette-table-striped) !important;
}

.mud-picker-calendar-header-switch {
    background-color: var(--mud-palette-secondary) !important;
    color: var(--mud-palette-white) !important;
}

.mud-picker-calendar-header-transition {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 25px !important;
    align-content: center !important;
}

.mud-picker-calendar-header-switch > .mud-icon-button {
    background-color: var(--mud-palette-secondary) !important;
    color: var(--mud-palette-white) !important;
}

.mud-navmenu, .mud-drawer-header {
    background: var(--mud-palette-secondary);
    color: var(--mud-palette-white);
    padding: 12px 0 !important;
}

.mud-nav-link-text {
    font-family: var(--mud-typography-subtitle1-family) !important;
    font-size: var(--mud-typography-subtitle1-size) !important;
    font-weight: var(--mud-typography-subtitle1-weight) !important;
    line-height: 20px !important;
}

.mud-nav-item {
    border-radius: 30px !important;
    margin-top: 9.5px !important;
    margin-bottom: 9.5px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

    .mud-nav-item:hover, .mud-nav-group:hover, .mud-nav-link:hover {
        background-color: var(--color-menu-item) !important;
    }

.mud-nav-link {
    margin-top: auto !important;
    margin-bottom: auto !important;
    border-radius: 30px !important;
    align-items: center !important;
}

    .mud-nav-link.active {
        color: var(--mud-palette-tertiary) !important;
    }

.mud-tabs-toolbar {
    background-color: inherit !important;
}

.mud-fab-extended {
    width: max-content !important;
    height: auto !important;
    font: var(--typography-button-m) !important;
}

.mud-list {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.mud-list-item {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.mud-input-control-helper-container {
    overflow: visible !important;
    margin-top: 0px !important;
}

.mud-select:has(.mud-input-control.mud-input-error.mud-select) {
    margin-bottom: 10px !important;
}

.search-input-slot .mud-input-slot {
    font-family: var(--mud-typography-subtitle2-family) !important;
    font-size: var(--mud-typography-subtitle2-size) !important;
    font-weight: var(--mud-typography-subtitle2-weight) !important;
    line-height: var(--mud-typography-subtitle2-lineheight) !important;
}

.mud-radio-content {
    font-family: var(--mud-typography-h5-family) !important;
    font-size: var(--mud-typography-h5-size) !important;
    font-weight: var(--mud-typography-h5-weight) !important;
    line-height: 20px !important;
}

.income-dialog-tabs > .mud-tabs-toolbar .mud-tabs-toolbar-inner {
    min-height: 24px !important;
    padding-bottom: 5px;
}

.income-dialog-title > .mud-dialog-title {
    padding: 6px 0px !important;
}

.income-radio-button-text > .mud-radio > .mud-radio-content {
    color: var(--mud-palette-secondary) !important;
}

.income-dialog-store-tab {
    min-width: fit-content !important;
}

.add-dialog {
    max-width: 446px !important;
    min-height: 270px !important;
    overflow: hidden !important;
}

.mud-checkbox, p {
    font-size: var(--mud-typography-subtitle1-size) !important;
    font-family: var(--mud-typography-subtitle1-family) !important;
    font-weight: var(--mud-typography-subtitle1-weight) !important;
    line-height: var(--mud-typography-subtitle1-lineheight) !important;
}

.mud-select:has(.mud-input-control.mud-input-error.mud-select) {
    margin-bottom: 10px !important;
}

.table {
    width: 38px;
    height: 38px;
    background-color: var(--color-table);
    border-radius: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
}

.mud-dialog-transparent-background {
    background-color: transparent !important;
    box-shadow: none !important;
}

.background-gray {
    background-color: var(--color-lightgray-table-background);
}

.border-top-gray {
    border-top: var(--color-lightgray-table-background) solid 1px;
}

.border-bottom-gray {
    border-bottom: var(--color-lightgray-table-background) solid 1px;
}

.border-left-gray {
    border-left: var(--color-lightgray-table-background) solid 1px;
}

.border-right-gray {
    border-right: var(--color-lightgray-table-background) solid 1px;
}

.rounded-tl-3 {
    border-top-left-radius: 12px;
}

.rounded-tr-3 {
    border-top-right-radius: 12px;
}

.rounded-bl-3 {
    border-bottom-left-radius: 12px;
}

.rounded-br-3 {
    border-bottom-right-radius: 12px;
}

#blazor-error-ui .dismiss {
    color: inherit;
    cursor: pointer;
    position: absolute;
    left: 6px;
    top: 9px;
}

.mud-tooltip-inline.mud-tooltip-root:has(.market-zone-tab) {
    margin-left: 8px !important;
    align-content: center !important;
}

.mud-data-grid-primary-checkboxes span.mud-ripple-checkbox {
    color: var(--mud-palette-primary);
}

.mud-data-grid-wide-rows tr {
    height: 7vh;
}

.mud-tooltip-inline.mud-tooltip-root:has(.market-zone-tab) {
    margin-left: 8px !important;
    align-content: center !important;
}

.mud-data-grid-primary-checkboxes span.mud-ripple-checkbox {
    color: var(--mud-palette-primary);
}

.mud-data-grid-wide-rows tr {
    height: 7vh;
}

.column-header {
    flex-direction: column-reverse !important;
}

.column-options {
    flex-direction: row !important;
}

.mud-table-head > .mud-table-row {
    vertical-align: top !important;
}

.blue-icon div.mud-list-item-icon svg {
    color: #1b7ced !important;
}

div.mud-list-item-icon {
    color: var(--mud-palette-primary) !important;
}

.data-grid-settings-col {
    background-color: transparent !important;
}

.mud-data-grid .mud-table-row:nth-child(odd) .mud-table-cell.sticky-right {
    background-color: var(--mud-palette-background-gray);
}

.mud-data-grid .mud-table-row:nth-child(even) .mud-table-cell.sticky-right {
    background-color: var(--mud-palette-white);
}

.mud-data-grid .mud-table-row:nth-child(even):hover .mud-table-cell.sticky-right {
    background-color: var(--mud-palette-background-gray);
}

.mud-data-grid-non-settings-column-rows{
    height: 7vh;
}

.truncate-with-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.truncate-in-two-lines {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.text-link {
    cursor: pointer;
    text-decoration: underline;
    user-select: text;
}

.mud-tab-panel.mud-tab-small span.mud-badge-root.mud-tab-badge {
    margin-top: 10px;
    margin-right: 4px;
}

.mud-tab-panel:not(.mud-tab-small) span.mud-badge-root.mud-tab-badge {
    margin-top: 4px;
    margin-right: 5px;
}

.receipt-container {
    font-family: monospace;
    font-size: 14px;
    width: 40ch;
    white-space: pre;
    overflow-wrap: normal;
    word-break: keep-all;
}

.receipt-card {
    clip-path: polygon( 0 0, 100% 0, 100% calc(100% - 5px), 98% 100%, 96% calc(100% - 5px), 94% 100%, 92% calc(100% - 5px), 90% 100%, 88% calc(100% - 5px), 86% 100%, 84% calc(100% - 5px), 82% 100%, 80% calc(100% - 5px), 78% 100%, 76% calc(100% - 5px), 74% 100%, 72% calc(100% - 5px), 70% 100%, 68% calc(100% - 5px), 66% 100%, 64% calc(100% - 5px), 62% 100%, 60% calc(100% - 5px), 58% 100%, 56% calc(100% - 5px), 54% 100%, 52% calc(100% - 5px), 50% 100%, 48% calc(100% - 5px), 46% 100%, 44% calc(100% - 5px), 42% 100%, 40% calc(100% - 5px), 38% 100%, 36% calc(100% - 5px), 34% 100%, 32% calc(100% - 5px), 30% 100%, 28% calc(100% - 5px), 26% 100%, 24% calc(100% - 5px), 22% 100%, 20% calc(100% - 5px), 18% 100%, 16% calc(100% - 5px), 14% 100%, 12% calc(100% - 5px), 10% 100%, 8% calc(100% - 5px), 6% 100%, 4% calc(100% - 5px), 2% 100%, 0 calc(100% - 5px) );
    background: rgba(224, 224, 224, 0.75) !important;
}