@import "common.css";

* {
    /* font-family: "Roboto", sans-serif; */
    font-family: sans-serif;
}

html {
    font-size: 12px;
}

.spin-rotate {
    -webkit-animation: spinload 0.8s linear infinite;
    animation: spinload 0.8s linear infinite;
    display: inline-flex;
}

.loader {
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top: 3px solid #00a0ff;
    width: 40px;
    height: 40px;
    -webkit-animation: spinload 1s linear infinite;
    animation: spinload 1s linear infinite;
    display: inherit;
    margin: 50px auto;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.loader--lg {
    border-width: 6px;
    border-top-width: 6px;
    width: 90px;
    height: 90px;
}

/* Safari */
@-webkit-keyframes spinload {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spinload {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 1280px) {
    html {
        font-size: 13px;
    }
}

@media (min-width: 1366px) {
    html {
        font-size: 14px;
    }
}

.border-marker-left {
    border-left: 2px solid var(--theme-primary);
    padding-left: 10px;
}

.mdc-drawer .mdc-list-item--activated .mdc-list-item__graphic {
    color: var(--mdc-theme-primary, #6200ee);
}

.mdc-drawer .mdc-list-item--activated {
    color: rgb(0 117 160);
}

.color-primary {
    color: var(--theme-primary) !important;
}

.color-success {
    color: var(--theme-success) !important;
}

.bg-success {
    background-color: var(--theme-success) !important;
}

.color-primary-bg {
    background-color: var(--theme-primary) !important;
}

.color-text-rgb {
    color: var(--theme-text-rgb, #616161);
}

.color-subtext {
    color: var(--theme-component-subtext, black);
}

.list-item--danger,
.list-item--danger .mdc-list-item__graphic {
    color: var(--theme-danger);
}

.list-item--success,
.list-item--success .mdc-list-item__graphic {
    color: var(--theme-success);
}

.mdc-chip {
    background: #ececec;
    color: var(--theme-primary);
    font-size: 14px;
    font-weight: 600;
}

.mdc-theme--white {
    color: white;
}

.mdc-theme--white-bg {
    background-color: white;
}

.mdc-icon-button {
    color: rgb(0 0 0 / 50%);
}

.mdc-icon-button:hover {
    color: black;
}

.mdc-icon-button.mdc-icon-button--small {
    width: 30px;
    height: 30px;
    padding: 3px;
}
.mdc-icon-button.mdc-icon-button--small .material-icons-round,
.mdc-icon-button.mdc-icon-button--small.material-icons-round {
    font-size: 22px;
}
.mdc-icon-button.mdc-icon-button--medium {
    width: 39px;
    height: 39px;
    padding: 7.5px;
}
.mdc-icon-button.mdc-icon-button--large {
    width: 58px;
    height: 58px;
    padding: 7.5px;
    font-size: 32px;
}

.mdc-icon-button .icon-text {
    font-size: 10px;
    height: 24px;
    width: 24px;
    position: relative;
    background: #fff;
    margin: auto;
    border-radius: 8px;
    color: #009bd5;
    line-height: 25px;
    font-weight: 700;
}

.mdc-icon-button.mdc-icon-button--large svg {
    height: 32px;
    width: 28px;
}

.mdc-icon-button.mdc-icon-button--large .icon-text {
    font-weight: 800;
    font-size: 13px;
    line-height: 34px;
    height: 34px;
    width: 34px;
}

.mdc-button,
.mdc-button--unelevated,
.mdc-button--raised {
    padding: 0 24px 0 24px;
}

.mdc-button--xs {
    font-size: 0.6rem;
    height: 20px;
}
.mdc-button--s {
    font-size: 0.8rem;
    height: 28px;
}
.mdc-button--m {
    font-size: 1rem;
    height: 36px;
}
.mdc-button--l {
    font-size: 1.2rem;
    height: 44px;
}

.mdc-snackbar__surface {
    background-color: #1a1a1a;
}

.mdc-snackbar {
    margin: 24px;
}

.mdc-button--outlined {
    padding: 0 23px 0 23px;
}

.mdc-button--icon {
    padding: 0px;
    min-width: 32px;
}

.mdc-button--icon .material-icons-round {
    margin: auto;
}

.mdc-snackbar.mdc-snackbar--left {
    justify-content: left;
}

.mdc-snackbar.mdc-snackbar--right {
    justify-content: right;
}

.mdc-card--outlined {
    border-style: none;
}

.mdc-menu-surface {
    box-shadow: 0px 5px 5px -3px rgb(0 0 0 / 10%),
        0px 8px 10px 1px rgb(0 0 0 / 4%), 0px 3px 14px 2px rgb(0 0 0 / 2%);
}

.square-action {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 54px;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 8px;
    padding: 3px;
    cursor: pointer;
    user-select: none;
    color: #fff;
    background: rgb(0 0 0 / 9%);
}

.square-action-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    color: white;
}

.square-action i {
    /* font-size: 42px; */
}

/* Start - Bottom Sheet */

.cdk-overlay-container {
    position: fixed;
    pointer-events: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1000;
}

.cdk-overlay-backdrop {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
}

.cdk-overlay-dark-backdrop {
    background: rgba(0, 0, 0, 0.32);
}

.cdk-overlay-light-backdrop {
    background: rgb(255 255 255 / 32%);
}

.cdk-global-overlay-wrapper {
    justify-content: center;
    align-items: flex-end;
}

.cdk-global-overlay-wrapper,
.cdk-overlay-pane {
    display: flex;
    position: absolute;
    z-index: 1000;
}

.mat-bottom-sheet-container-xlarge,
.mat-bottom-sheet-container-large,
.mat-bottom-sheet-container-medium {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.cdk-overlay-pane {
    pointer-events: auto;
    box-sizing: border-box;
    max-width: 100%;
    max-height: 100%;

    /* in js */
    max-width: 100%;
    position: static;
    margin-bottom: 0px;
}

.mat-bottom-sheet-container {
    /* padding: 8px 16px; */
    min-width: calc(100vw - 25px);
    box-sizing: border-box;
    display: block;
    outline: 0;
    max-height: 88vh;
    overflow: auto;

    transform: translateY(100%);
    transition: all 0.2s;

    box-shadow: 0 8px 10px -5px rgb(0 0 0 / 20%),
        0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 12%);
    background: #fff;
    color: rgba(0, 0, 0, 0.87);
}

@media (min-width: 780px) {
    .mat-bottom-sheet-container-large {
        min-width: 512px;
        max-width: calc(100vw - 256px);
    }
}

/* End - Bottom Sheet */

/* Start - Top Sheet */

.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
    opacity: 1;
}

.cdk-global-overlay-wrapper,
.cdk-overlay-container {
    pointer-events: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.cdk-overlay-top-pane {
    display: flex;
    position: absolute;
    z-index: 1000;
    align-content: flex-start;
    align-items: flex-start;
}

.mat-top-sheet-container-xlarge,
.mat-top-sheet-container-large,
.mat-top-sheet-container-medium {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.mat-top-sheet-container {
    /* padding: 8px 16px; */
    min-width: calc(100vw - 25px);
    box-sizing: border-box;
    display: block;
    outline: 0;
    max-height: 88vh;
    overflow: auto;
    transform: translateY(-100%);
    transition: all 0.2s;
    box-shadow: 0px -20px 10px -5px rgb(0 0 0 / 20%),
        0 -22px 24px 2px rgb(0 0 0 / 14%), 0 -16px 30px 5px rgb(0 0 0 / 12%);
    background: #fff;
    color: rgba(0, 0, 0, 0.87);
}

@media (min-width: 780px) {
    .mat-top-sheet-container-large {
        min-width: 512px;
        max-width: calc(100vw - 256px);
    }
}

/* End - Top Sheet */

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 50px;
    border-bottom: 1px solid #eff2f5;
}

.card-title {
    font-weight: 600;
    color: var(--theme-text, black);
    font-size: 1.2rem;
}

.ui.text.container {
    font-size: 14px;
}

.critical-error {
    position: fixed;
    bottom: 0;
    right: 40px;
    color: #939393;
    background-color: #131212;
    padding: 40px;
    max-width: 500px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 11px 15px -7px rgb(0 0 0 / 30%),
        0 24px 38px 3px rgb(0 0 0 / 35%), 0 9px 46px 8px rgb(0 0 0 / 35%);
}

.critical-error h1 {
    color: red;
}

.critical-error * {
    margin: 0;
    font-family: sans-serif;
}

.error-message {
    padding: 16px;
    color: var(--theme-danger, red);
}

.error-message i {
    font-size: 50px;
}

.error-message span {
    font-size: 1.2rem;
}

body {
    background-color: var(--theme-background);
    color: var(--theme-text, #171717);
    overflow: hidden;
    margin: 0;
}

button {
    transition: all 0.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) 0s;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #c1c1c1 !important;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #c1c1c1 !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #c1c1c1 !important;
}

.resize-v {
    resize: vertical;
}

.resize-h {
    resize: horizontal;
}

.app-title {
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.7rem;
    border-radius: 6px;
    padding-right: 12px;
    padding-left: 12px;
    color: var(--theme-primary, "red");
    line-height: var(--mdc-typography-headline6-line-height, 2rem);
    user-select: none;
    cursor: pointer;
}

.app-title span:last-child {
    /* color: rgb(0 0 0 / 0.5); */
    color: rgb(133 119 138);
}

.app-main-content {
    overflow: auto;
    height: calc(100vh - 48px);
}

.app-simple-content {
    overflow: auto;
    height: 100vh;
}

.gn-tl {
    position: absolute;
    max-width: 220px;
    box-shadow: 0 1px 4px -2px #434a4e;
    z-index: 1000;
    background: #000000a9;
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.gn-tl span {
    color: #cccccc;
}

.button-icon--navbar {
    padding: 8px;
    font-size: 32px !important;
}

.name-app {
    text-align: center;
    font-size: 1.5rem;
}

.name-app span:last-child {
    color: var(--theme-primary);
}

.mdc-tab-hidden {
    transition: opacity 0.5s ease-out;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.tab-content--active {
    opacity: 1;
    height: auto;
}

.marked-required::after {
    content: "\002A";
    color: red;
}

.mdc-list-item {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    height: 48px;
    overflow: hidden;
    padding: 0px 16px;
}

.mdc-list-item__primary-text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 0;
    line-height: normal;
    margin-bottom: -8px;
    display: block;
}

.mdc-list-item__secondary-text {
    font-family: sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.0178571429em;
    text-decoration: inherit;
    text-transform: inherit;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 0;
    line-height: normal;
    display: block;
}

.mdc-drawer .mdc-list-item {
    font-family: sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: 0.875rem;
    line-height: 1.375rem;
    font-weight: 500;
    letter-spacing: 0.0071428571em;
    text-decoration: inherit;
    text-transform: inherit;
    height: 40px;
    margin: 8px;
    padding: 0 8px;
    border-radius: 4px;
    color: rgba(0, 0, 0, 0.7);
}

.mdc-list-item__graphic {
    margin-left: 0;
    margin-right: 32px;
    width: 24px;
    height: 24px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    fill: currentColor;
    color: rgba(0, 0, 0, 0.5);
}

.mdc-list-rounder .mdc-list-item {
    border-radius: 32px;
}

.mdc-list-item--activated .mdc-list-item__text,
.mdc-list-item--selected .mdc-list-item__text,
.mdc-list-item--selected .mdc-list-item__graphic {
    color: var(--mdc-theme-primary, #6200ee);
}

@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.spinner-border {
    color: var(--theme-primary, black);
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border 0.75s linear infinite;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

@-webkit-keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    50% {
        opacity: 1;
    }
}

@keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    50% {
        opacity: 1;
    }
}

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: spinner-grow 0.75s linear infinite;
    animation: spinner-grow 0.75s linear infinite;
}

.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 70px;
    height: 70px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    margin: 8px;
    border: 4px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--theme-secondary, black) transparent transparent
        transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* BADGE */

.badge {
    display: inline-block;
    padding: 0.495em 0.95em;
    font-size: 75%;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    -webkit-transition: color 0.15s ease-in-out,
        background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
}
.badge-action {
    cursor: pointer;
    user-select: none;
}
.badge.badge-circle,
.badge.badge-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.75rem;
    min-width: 1.75rem;
    padding: 0 0.1rem;
}
.badge.badge-circle {
    border-radius: 50%;
    padding: 0;
    min-width: unset;
    width: 1.75rem;
}
.badge.badge-xs {
    min-width: 1.5rem;
    font-size: 0.7rem;
    padding: 0.305em 0.75em;
}
.badge.badge-xs.badge-circle {
    width: 1.5rem;
    height: 1.5rem;
}
.badge.badge-sm {
    min-width: 1.5rem;
    font-size: 0.85rem;
}
.badge.badge-sm.badge-circle {
    width: 1.5rem;
    height: 1.5rem;
}
.badge.badge-lg {
    min-width: 2rem;
    font-size: 1rem;
}
.badge.badge-lg.badge-circle {
    width: 2rem;
    height: 2rem;
}

.badge-primary {
    color: #fff;
    background-color: var(--theme-primary);
}

.badge-light-primary {
    color: var(--theme-primary);
    background-color: rgb(var(--theme-rgb-primary) / 20%);
}

.badge-secondary {
    color: #fff;
    background-color: var(--theme-secondary);
}

.badge-light-secondary {
    color: var(--theme-secondary);
    background-color: rgb(var(--theme-rgb-secondary) / 20%);
}

.badge-success {
    color: #fff;
    background-color: var(--theme-success);
}

.badge-light-success {
    color: var(--theme-success);
    background-color: rgb(var(--theme-rgb-success) / 20%);
}

.badge-info {
    color: #fff;
    background-color: var(--theme-info);
}

.badge-light-info {
    color: var(--theme-info);
    background-color: rgb(var(--theme-rgb-info) / 20%);
}

.badge-warning {
    color: #fff;
    background-color: var(--theme-warning);
}

.badge-light-warning {
    color: var(--theme-warning);
    background-color: rgb(var(--theme-rgb-warning) / 20%);
}

.badge-danger {
    color: #fff;
    background-color: var(--theme-danger);
}

.badge-light-danger {
    color: var(--theme-danger);
    background-color: rgb(var(--theme-rgb-danger) / 20%);
}

.badge-write {
    color: #fff;
    background-color: var(--theme-light);
}

.badge-dark {
    color: #fff;
    background-color: var(--theme-dark);
}

.badge-r {
    border-radius: 10rem;
}

.badge-client-P {
    color: var(--theme-danger);
    background-color: rgb(var(--theme-rgb-danger) / 20%);
}
.badge-client-C {
    color: var(--theme-warning);
    background-color: rgb(var(--theme-rgb-warning) / 20%);
}
.badge-client-E {
    color: #ffbd3b;
    background-color: hsl(40deg 100% 62% / 20%);
}
.badge-client-L {
    color: var(--theme-success);
    background-color: rgb(var(--theme-rgb-success) / 20%);
}
.badge-client-R {
    color: var(--theme-info);
    background-color: rgb(var(--theme-rgb-info) / 20%);
}
.badge-client-I {
    color: purple;
    background-color: rgb(128 0 128 / 20%);
}

.secondary-header-page {
    border-bottom: 2px solid rgb(235 238 240);
}

/* Additional Header */

.additional-header {
    display: flex;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--mdc-theme-primary);
    color: var(--mdc-theme-primary);
}

.additional-header > span {
    font-size: 2rem;
}

.additional-header .additional-actions-header {
    margin-left: auto;
}

/* Start - Symbol Icon */

.symbol-icon {
    display: inline-grid;
    background: #c5c5c5a6;
    padding: 16px;
    border-radius: 12px;
}

.symbol-icon i {
    font-size: 35px;
    color: #000000a8;
}
/* End - Symbol Icon */

/*LIVE TABLE*/

.live-table tbody tr td.txt-right {
    text-align: right;
}

.live-table tbody tr td.txt-center {
    text-align: center;
}

/*Custom Live Table*/
.custom-live-table .live-table tbody tr td {
    font-size: 12px;
}

.grid-home--statistic {
    gap: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    text-align: center;
    height: 100%;
    align-content: stretch;
    overflow: auto;
}

.grid-home--statistic .value-statistic {
    font-size: 2rem;
    font-weight: 600;
}

.card-simple {
    height: 100%;
    padding: 10px;
    border-radius: 24px;
    display: grid;
    align-content: center;
}

.card-simple--orange {
    background: rgb(255 165 0 / 3%);
    color: #ffa500;
}

.card-simple--blue {
    background: rgb(0 185 255 / 3%);
    color: #00b9ff;
}

.card-simple--red {
    background: rgb(255 37 26 / 3%);
    color: #ff251a;
}

.home-bg--panel {
    width: 100%;
    height: 290px;
    /* background: var(--mdc-theme-primary); */
    top: 0px;
    position: absolute;
    background-image: url(../img/animate.gif);
    background-size: contain;
    background-repeat: repeat-x;
    filter: grayscale(0.1) blur(1.2px);
}

@media (max-width: 600px) {
    .home-bg--panel {
        background-size: cover;
    }
}

.home-user {
    padding-bottom: 16px;
}

.home-user h4 {
    font-size: 24px;
    margin: 0;
    color: var(--theme-light);
}

.button-home--shortcut {
    margin-right: 5px;
}

.button-home--shortcut,
.button-home--shortcut .mdc-button__ripple {
    border-radius: 30px;
}

.button-light:not(:disabled) {
    background-color: var(--theme-white);
    color: var(--mdc-theme-primary);
}

.header-app--action {
    background-color: var(--theme-header--bg);
    color: var(--theme-text, black);
    /* margin-top: 48px; */
    position: sticky;
}

.header-border {
    border-bottom: 1px solid #dedbdb;
}

.page-not-found {
    text-align: center;
}

.page-not-found h4 {
    color: red;
    font-weight: bold;
}

.page-not-found img {
    filter: grayscale(0.5) blur(3px);
    width: 200px;
}

.box-view-text {
    position: relative;
}

.box-view-text.bx-line {
    display: grid;
    grid-template-columns: 105px auto;
    align-items: center;
}

.box-view-text h5 {
    font-size: 1em;
    margin: 0;
    line-height: 20px;
    padding: 8px 12px;
    border: 2px solid #f3f5f8;
    border: 1px solid #eaecef;
    border-radius: 6px;
    min-height: 38px;
    margin-top: 6px;
    background-color: #fefefe;
    background-color: #f9f9f9;
}

.box-view-text input {
    min-height: 38px;
    margin-top: 6px;
}

.box-view-text span {
    color: #585858;
    font-size: 0.95em;
    position: absolute;
    margin-top: -10px;
    background: #fefefe;
    padding: 0px 4px;
    line-height: 1.2;
}

.header-actions {
    display: grid;
    align-items: center;
    grid-template-columns: auto max-content;
}

.header-actions.h-a--fixed {
    position: sticky;
    top: 0;
    background: white;
    padding-top: 16px;
    padding-bottom: 6px;
    margin-top: -16px;
    z-index: 1;
}

.h-a--line {
    height: 1px;
    width: 100%;
    background: #d2dad7;
    top: 58px;
    position: sticky;
    margin-top: -4px;
    margin-bottom: 4px;
}

.header-actions .h-a--title {
    font-size: 18px;
    font-weight: 600;
    color: var(--theme-grey);
}

.content-user-menu,
.content-tools-menu {
    padding: 16px;
    min-width: 320px;
}

.content-user-menu .cum-user {
    text-align: center;
}

.content-user-menu .cum-user i {
    font-size: 70px;
    color: #6b6b6b;
}

.content-user-menu .cum-action {
    padding: 20px 0;
}

.content-user-menu .cum-info {
    color: rgb(0 0 0 / 55%);
}

.content-user-menu .cum-info h2,
.content-user-menu .cum-info h3 {
    margin: 0;
}

.tabs-auto-width .mdc-tab-bar {
    margin: auto;
    width: auto;
}

.content-tools-menu .ctm-header {
    text-align: center;
    padding-bottom: 20px;
}

.content-tools-menu .ctm-header i {
    font-size: 50px;
    color: #0084d1;
}

/* START AUXILIARES */

.container-auxiliar .header-auxiliar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 16px;
}

.container-auxiliar .header-auxiliar span {
    font-size: 1.2rem;
    font-weight: 600;
}
/* END AUXILIARES */

/* START PRODUTO */

.header-profile {
    display: grid;
    grid-template-columns: 180px auto max-content;
    gap: 20px;
}

.header-profile .image-profile {
    height: 180px;
    max-width: 180px;
    background: rgb(216, 216, 216);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: 600;
    position: relative;
}
.header-profile .image-profile--actions {
    display: flex;
    gap: 12px;
    margin: 12px 0;
}
.header-profile .image-profile--action {
    border-radius: 15px;
    position: absolute;
    display: flex;
    width: 100%;
    align-items: center;
    height: 100%;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
}
.header-profile .image-profile--action > div {
    transition: all 0.6s;
    opacity: 0;
    color: #383838;
    font-size: 18px;
}
.header-profile .image-profile--action:hover,
.header-profile .image-profile--action:focus {
    background: rgb(255 255 255 / 60%);
}
.header-profile .image-profile--action:hover > div,
.header-profile .image-profile--action:focus > div {
    opacity: 1;
}
/* .header-profile .image-profile--action button:focus {
  opacity: 1;
} */
/* END PRODUTO */

.header-info {
    display: grid;
    grid-template-columns: auto max-content;
    gap: 20px;
}

@media (max-width: 1060px) {
    .header-profile {
        grid-template-columns: auto;
        text-align: center;
        justify-items: center;
    }
    .header-profile .image-profile--actions {
        justify-items: center;
    }
}

/* CLIENT */

.status-duo {
    padding: 2px 12px 3px 12px;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    height: 20px;
}

.status-duo-A {
    background-color: #19e619;
}

.status-duo-I {
    background-color: #e23c3c;
}

.chip-status--client-A {
    background-color: #19e619;
    color: white;
}

.chip-status--client-I {
    background-color: #e23c3c;
    color: white;
}

.inactive-element-rep .body-element-rep {
    opacity: 0.5;
}

/* START CONTENT SEARCH */
.content-search-dinamic form input {
    padding: 5px 8px;
    border: 1px solid #bfbfbf;
    font-size: 1.2rem;
    color: #505050;
    width: 100%;
    border-radius: 5px;
    outline: none;
}

.content-search-dinamic form input:focus {
    border-color: #00a0ff;
}

.content-search-dinamic form {
    padding: 6px 16px;
    box-shadow: 0 1px 10px -5px #000;
    position: sticky;
    z-index: 1;
}

.content-search-dinamic .content-search-container {
    overflow: auto;
    height: calc(100vh - 280px);
}

.content-search-dinamic .content-search-list * {
    user-select: none;
}

.content-search-dinamic .content-search-list > div {
    border-bottom: 2px solid #dadada;
    padding: 12px;
}

.content-search-dinamic .csd-message {
    padding: 16px;
    text-align: center;
    font-size: 20px;
    display: block;
}

.content-search-dinamic .csd-message.danger {
    color: red;
}

.content-search-dinamic .csd-message.warning {
    color: orange;
}

.content-search-dinamic .csd-message.info {
    color: rgb(0, 132, 255);
}

.csd--item-list {
    display: grid;
    grid-template-rows: auto 20px 20px;
}

.csd--item-title {
    font-size: 1.2rem;
    line-height: 1;
    color: #424242;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.csd--item-subtitle {
    color: #525252;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* END CONTENT SEARCH */

/* SLIM CUSTOMIZATION */

.ss-main .ss-single-selected {
    height: 50px;
    padding: 0.5rem 1rem;
    border: 2px solid var(--theme-input-border);
    border-radius: 0.525rem;
}

.ss-main .ss-single-selected .placeholder {
    font-size: 1.25rem;
    color: var(--theme-component);
}

.ss-content .ss-search input:focus {
    box-shadow: none;
    border: 1px solid #aaa;
}

.search-element .ss-main .ss-single-selected {
    height: 40px;
    padding: 0.5rem 0.5rem;
}

.search-element .ss-content {
    top: 0px;
    margin: 0px;
    border-radius: 9px;
    /* border: none; */
    display: block;
    transform: scaleY(1);
}

.search-element .ss-content .ss-search {
    padding: 0;
}

.search-element .ss-content .ss-search input {
    border: 2px solid #c2c2c2;
    border-radius: 0.525rem;
    height: 40px;
    padding: 0.5rem 0.5rem;
}

.search-element .ss-main .ss-single-selected.ss-open-below {
    border-bottom-left-radius: 0.525rem;
    border-bottom-right-radius: 0.525rem;
}

/* Global status (A|I) */

.app-status {
    background: rgb(73, 73, 73);
    color: white;
    padding: 1px 5px;
    border-radius: 9px;
    font-family: monospace;
    display: inherit;
}

.app-status.app-status--a {
    background: green;
}

.app-status.app-status--i {
    background: red;
}

.footer--user-permission {
    position: sticky;
    bottom: 0;
    padding: 12px 0;
    background: white;
    border-top: 1px solid #dadada;
}

.settings-content {
    overflow: auto;
    height: calc(100vh - 134px);
    position: relative;
}

.chart-accounts ol {
    counter-reset: item;
}

.chart-accounts ol li {
    display: block;
    padding: 0px 5px;
    margin-bottom: 5px;
    border-radius: 4px;
}

.chart-accounts ol li:before {
    content: counters(item, ".") "  ";
    counter-increment: item;
    font-weight: 600;
}

.actions-list-chart {
    display: inline;
    position: absolute;
    opacity: 0;
    padding-left: 10px;
}

.actions-list-chart button {
    width: 22px;
    height: 22px;
    padding: 0px;
    font-size: 18px;
    color: #5a5a5a;
}

.chart-accounts ol li:hover > .actions-list-chart {
    opacity: 1;
}

.line-cashier {
    display: grid;
    grid-template-columns: max-content auto;
    font-size: 24px;
    align-items: center;
    padding-bottom: 20px;
}

.cashier-list .cashier-cod {
    margin-right: 12px;
}

.cashier-list .cashier-prince {
    font-size: 22px;
    color: black;
    display: grid;
    grid-template-columns: auto auto 145px;
    line-height: 24px;
    column-gap: 8px;
    text-align: right;
}

.mdc-data-table__header-cell {
    font-weight: 600;
    color: #00000059;
}

.mdc-data-table__cell {
    font-weight: 500;
    color: #000000a1;
}

.container--table-account .mdc-data-table__cell,
.container--table-account .mdc-data-table__header-cell {
    height: 32px;
}

.image--product {
    width: calc(50% - 4.2px);
    margin: 2px;
}

.image--add {
    cursor: pointer;
}

.image--add:hover {
    background-color: rgb(231, 231, 231);
    transition: all 0.5s;
}

.icon-add--image {
    display: grid;
    align-items: flex-end;
    border: 1px solid #ccc;
    text-align: center;
}

.icon-add--image i {
    font-size: 60px;
}

.header-drawer--user {
    text-align: center;
}

.header-drawer--user .container-image--user {
    padding-top: 15px;
}

.header-drawer--user .mdc-drawer__title {
    font-size: 1rem;
    margin-top: -15px;
}

.header-drawer--user .mdc-drawer__subtitle {
    font-size: 0.8rem;
}

/* START - PAGE APP */

.app-pagination {
    padding: 0;
    height: calc(100vh - 96px);
    background: white;
}

.app-pagination .live-page {
    border: none;
    border-radius: 0;
    padding: 16px;
}

/* END - PAGE APP */

/* START - ACCORDION */

.app-accordion {
    margin-top: 12px;
}

.header-accordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
}

.action-accordion {
    display: flex;
    cursor: pointer;
}

.separator-accordion {
    display: block;
    height: 0px;
    border-bottom: 1px solid rgb(239, 242, 245);
}

.header-accordion i {
    transition: all 0.5s;
}

.close-accordion .header-accordion i {
    transform: rotate(180deg);
}

.body-accordion {
    transition: height 0.25s ease;
}

.close-accordion .body-accordion {
    height: 0;
    overflow: hidden;
}

.body-accordion > div {
    transition: opacity 0.7s ease;
    opacity: 1;
}

.close-accordion .body-accordion > div {
    opacity: 0;
}

/* END - ACCORDION */

.tag-info {
    margin-top: 12px;
}

.tag-info h4 {
    margin: 0;
    font-weight: 500;
}

.tag-info span {
    color: var(--theme-grey-2, gray);
    font-size: 12px;
}

/* TAB */

.tab-header {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
    user-select: none;
}

.tab-header .tab-item-action {
    background: rgb(199 199 199 / 20%);
    color: #666666;
    padding: 6px 24px;
    border-radius: 8px;
    margin-right: 16px;
    transition: all 0.4s;
    cursor: pointer;
}

.tab-header .tab-item-action:not(.tab-item-active):hover {
    background: hsl(196deg 100% 42% / 8%);
}

.tab-header .tab-item-active {
    background: hsl(196deg 100% 42% / 15%);
    color: var(--mdc-theme-primary, #6200ee);
    box-shadow: inset 1px 2px 6px -2px #ffffff,
        inset -0.5px -2px 3px -2px var(--theme-primary);
    font-weight: 600;
}

/* Select Tom Template */
.select-tpl-1 {
    line-height: 20px;
    padding: 8px 0.75rem !important;
    position: relative;
}
.select-tpl-1 .title {
    font-weight: 600;
    font-size: 18px;
}
.select-tpl-1 .subtitle {
    opacity: 0.7;
    font-size: 15px;
}
.select-tpl-1 .tile-right {
    position: absolute;
    right: 0.75rem;
    top: 8px;
}

.action-code {
    cursor: pointer;
}

.action-code:hover {
    opacity: 1;
}

.action-code-active {
    opacity: 1;
}

.bar-code-account {
    height: 20px;
    opacity: 0.6;
    width: 22px;
    display: inline-table;
    cursor: pointer;
}

.bar-code-account:hover {
    opacity: 0.9;
}

.table-nota {
    width: 100%;
    font-size: 11px;
    border: 1px solid;
    border-spacing: 0;
}

.table-nota tbody td,
.table-nota thead th {
    padding: 0 5px;
}

.table-nota tbody tr:hover {
    background-color: #eeeeee;
    cursor: default;
    color: black;
}

.table-nota tbody td:not(:first-child),
.table-nota thead th:not(:first-child) {
    border-left: 1px solid;
}

.table-nota tbody tr:not(:last-child) td {
    border-bottom: 1px dashed;
}

.table-nota thead th {
    border-bottom: 1px solid;
}

/* Table parcels  */

.table-parcels {
    width: 100%;
    border: 1px solid;
    border-spacing: 0;
}

.table-parcels tbody td,
.table-parcels thead th {
    padding: 2px 6px;
}

.table-parcels tbody tr:hover {
    background-color: #eeeeee;
    cursor: default;
    color: black;
}

.table-parcels tbody td:not(:first-child),
.table-parcels thead th:not(:first-child) {
    border-left: 1px solid;
}

.table-parcels tbody tr:not(:last-child) td {
    border-bottom: 1px dashed #bbbbbb;
}

.table-parcels thead th {
    border-bottom: 1px solid;
    background-color: #f7f7f7;
}

.content-load {
    position: absolute;
    background: rgb(255 255 255 / 80%);
    z-index: 5;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Filial Grid */

.grid-filial {
    display: grid;
    grid-template-columns: 80px auto;
    gap: 16px;
}

@media (min-width: 840px) and (max-width: 1150px) {
    .grid-filial {
        grid-template-columns: auto;
    }
}

.menu-title {
    color: var(--theme-text-rgb);
    padding: 1rem 1rem 0 1rem;
}

.app-menu-list {
    overflow: auto;
    display: grid;
    grid-gap: 6px;
}

.app-menu-list::-webkit-scrollbar-track {
    background-color: #f4f4f4;
}
.app-menu-list::-webkit-scrollbar {
    width: 0px;
    background: #f4f4f4;
}
.app-menu-list::-webkit-scrollbar-thumb {
    background: #b0b1b3;
}
