@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
    --maincolor: #E24418;
    --deepcolor: #F86E39;
}

a:hover {
    text-decoration: none !important;
}

body {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    font-display: swap;
    background: #f8f8f8;
    overflow-x: hidden;
    background: #f0f0f0;
}

body.frozen {
    overflow-y: hidden;
}

body.expand > header {
    padding: 8px 16px 8px 286px;
}

body.expand > aside {
    left: 0;
}

body.expand > main {
    width: calc(100% - 302px);
    margin-left: 286px;
}

body.expand > footer {
    padding: 0.75rem 1rem 0.75rem 286px;
}

body.fullpage > main {
    min-height: 100vh;
    width: 100%;
    margin-left: unset;
    margin-top: unset;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;
    padding: 8px 16px 8px 16px;
    background: #FFF;
    box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.09);
    display: flex;
    align-items: center;
    gap: 0 16px;
    transition: all 0.15s linear;
}

header > ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    justify-content: flex-end;
    flex: 1;
}

header > ul > li {
    list-style: none;
}

header > ul > li > a {
    display: block;
    font-size: 20px;
    line-height: 1;
    color: #141414;
}

header > ul > li > a:hover {
    color: var(--maincolor);
    text-decoration: none;
}

a.nav-control {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    aspect-ratio: 1;
    border-right: 1px solid #eceff1;
    color: #141414;
    font-size: 20px;
}

a.nav-control.inside {
    display: none;
}

aside {
    width: 270px;
    background: var(--maincolor);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem 0;
    position: fixed;
    top: 0;
    left: -270px;
    right: unset;
    bottom: 0;
    z-index: 10;
    transition: all 0.15s linear;
    overflow-y: auto;
    overflow-x: hidden;
}

aside > img {
    max-width: 103px;
}

aside > nav > ul {
    padding: 0;
    margin: 0;
}

aside > nav > ul > li {
    list-style: none;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 4px;
}

aside > nav > ul > li > label {
    font-size: 12px;
    font-weight: 700;
    line-height: 15.12px;
    text-transform: uppercase;
    margin-top: 8px;
    margin-bottom: 0;
    display: block;
    padding: 10px 16px;
    color: #FFF;
}

aside > nav > ul > li > a {
    display: block;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 8px;
    flex-wrap: wrap;
}

aside > nav > ul > li > a > span {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #FFF;
    flex: 1;
}

aside > nav > ul > li > a > img {
    width: 20px;
    aspect-ratio: 1;
    filter: brightness(0) invert(1);
    flex: 0;
}

aside > nav > ul > li > a:hover {
    text-decoration: none;
    background: rgba(0, 0, 0, 0.25);
}

aside > nav > ul > li > a.active {
    background: #FFF;
}

aside > nav > ul > li > a.active > span {
    color: var(--maincolor);
}

aside > nav > ul > li > a.active > img {
    filter: none;
}

main {
    min-height: calc(100vh - 130px);
    width: calc(100% - 32px);
    margin-left: 16px;
    margin-top: 76px;
    transition: all 0.15s linear;
}

footer {
    padding: 0.75rem 1rem;
    font-size: 14px;
    border-top: 1px solid #cecece;
    transition: all 0.15s linear;
}

footer > strong {
    display: inline-block;
}

footer > strong::after {
    display: inline-block;
    margin: 0 0.5rem;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--maincolor);
}

.panel {
    background: #FFF;
    padding: 1rem;
    border-radius: 1rem;
}

label.filter-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 0.5rem;
}

.inline-inputgroup {
    display: flex;
    gap: 0 16px;
    flex-wrap: wrap;
}

.inputgroup.is-hidden {
    display: none;
}

#f-startdate, #f-enddate {
    display: none;
}

.inputgroup {
    margin-bottom: 0.5rem;
}

.inputgroup.inline > :is(label, span) {
    display: inline;
}

.inputgroup.inline > :is(select, input[type=text], input[type=date], input[type=number], input[type=password], input[type=email]) {
    width: fit-content;
    margin: 0 10px;
}

.inputgroup > label {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    display: block;
    margin-bottom: 0;
}

.inputgroup > label.lg {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 12px;
}

.inputgroup > :is(select, input[type=text], input[type=date], input[type=number], input[type=password], input[type=email]) {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #cecece;
    font-size: 14px;
    line-height: 19.6px;
}

input[type=submit] {
    padding: 10px 1rem;
    border-radius: 8px;
    color: #FFF;
    border: none;
    background: linear-gradient(93.74deg, #9D2300 0%, #EA6000 100%);
    width: 100%;
    font-size: 14px;
    line-height: 19.6px;
}

section.first {
    padding: 0;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

.section-header label {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    display: block;
}

.widget {
    padding: 10px 20px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.widget h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    display: flex;
    align-items: center;
}

.widget h3 > a {
    font-size: 16px;
    line-height: 28px;
    margin-left: 12px;
    color: #141414;
}

canvas {
    width: 60%;
    height: auto;
    margin: 1rem auto;
}

.widget-colored {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    background: #FFF;
    height: 100%;
}

.widget-colored > .wc-header {
    height: 88px;
    padding: 20px;
    color: #FFF;
    margin-bottom: 20px;
}

.widget-colored > .wc-header.bg-step {
    background-image: url('../img/bg-step.jpg');
    background-repeat: no-repeat;
    background-size: 100% 88px;
}

.widget-colored > .wc-header.bg-heart {
    background-image: url('../img/bg-heart.jpg');
    background-repeat: no-repeat;
    background-size: 100% 88px;
}

.widget-colored > .wc-header > label {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    display: block;
    margin: 0;
}

.widget-colored > .wc-header > span {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    display: block;
    margin: 0;
}

.widget-colored > .wc-body > h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    display: block;
    margin: 0 0 12px 0;
    padding: 0;
}

.widget-colored > .wc-body > ul.pb-table {
    padding: 0;
    margin: 0;
}

.widget-colored > .wc-body > ul.pb-table > li {
    list-style: none;
    display: grid;
    /* grid-template-columns: calc(25% - 8px) auto calc(15% - 8px); */
    grid-template-columns: calc(80% - 8px) calc(20% - 8px);
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #eceff1;
}

.widget-colored > .wc-body > ul.pb-table > li > .pb {
    width: 100%;
    background: #F4D2C8;
    height: 12px;
    border-radius: 20px;
    display: block;
    position: relative;
}

.widget-colored > .wc-body > ul.pb-table > li > .pb > .pb-inner {
    width: 0;
    background: var(--deepcolor);
    position: absolute;
    left: 0;
    top: 0;
    height: 12px;
    border-radius: 20px;
    transition: all 0.15s linear;
}

.widget-colored > .wc-body > ul.pb-table > li > label {
    text-align: right;
    margin: 0;
    font-size: 14px;
    line-height: 1;
    display: block;
    font-weight: bold;
}

.widget-colored > .wc-body > ul.pb-table > li > span {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    display: block;
    text-transform: uppercase;
}

.widget a.mbtn {
    margin-left: 8px;
    display: inline-flex;
    padding: 3px 8px;
    gap: 0 7px;
    align-items: center;
    background: #f0f2f4;
    color: #141414;
    border-radius: 4px;
    border: 1px solid #eceff1;
}

.widget a.mbtn > i {
    font-size: 14px;
    line-height: 1.4;
}

.widget a.mbtn > span {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.tableholder {
    width: 100%;
    padding-bottom: 16px;
    overflow-x: auto;
}

table.maintable {
    width: 100%;
}

table.maintable > thead > tr > th {
    border-top: 1px solid #CECECE;
    border-bottom: 1px solid #CECECE;
    background: #f5f8f9;
    padding: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
    color: #000;
}

table.maintable > tbody > tr > td {
    padding: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    color: #000;
    border-bottom: 1px solid #cecece;
    background: #FFF;
}

table.maintable > thead > tr > th.is-stick,
table.maintable > tbody > tr > td.is-stick {
    position: sticky;
    left: 0;
}

ol.bc {
    display: flex;
    margin: 0;
    padding: 0;
}

ol.bc > li {
    list-style: none;
}

ol.bc > li::after {
    display: inline-block;
    content: '/';
    padding: 0 12px;
}

ol.bc > li:last-child:after {
    display: none;
}

ol.bc > li > a {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #141414;
}

ol.bc > li > label {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin: 0;
}

.global-overlay {
    position: fixed;
    inset: 0;
    z-index: 12;
    background: rgba(0, 0, 0, 0.4);
}

.dialog-confirmation {
    position: absolute;
    width: 410px;
    top: 120px;
    left: 50%;
    margin-left: -205px;
    background: #fff;
    padding: 16px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.15s linear;
    animation: dropped 1s;
    animation-fill-mode: forwards;
}

.dialog-confirmation > img {
    width: 100%;
    height: auto;
}

.dialog-confirmation > h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 42px;
    padding: 0;
    margin: 0;
}

.dialog-confirmation > label {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

.dialog-confirmation > .dialog-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    justify-content: space-between;
    padding: 12px 0 0 6px;
}

.dialog-confirmation > .dialog-footer > a {
    display: block;
    flex: 1;
    text-align: center;
    border-radius: 8px;
    padding: 8px 16px;
    background: var(--maincolor);
    border: 1px solid transparent;
    color: #fff;
}

.dialog-confirmation > .dialog-footer > a.dialog-close {
    background: transparent;
    border: 1px solid var(--maincolor);
    color: var(--maincolor);
}

.right-on-mobile {
    text-align: right;
}

/* login */
#login-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('https://s3-alpha-sig.figma.com/img/0c8e/e230/dc4e2800682174aebfdf6a4cb8cde1d3?Expires=1720396800&Key-Pair-Id=APKAQ4GOSFWCVNEHN3O4&Signature=lFFOu1aNB-Yq3PRFbJAgPwEt1qh-xbKQNzvXoBTzHzIPiWfT6zuzcmQnIaOsKm3oXAHckVP826KKRkVFYHz9KbbvY91k6~LAN0numzrdHFsa22hhnTZVx076XG9f21FSG3LHBW0gr1re83R-cw76Y9vKKNZbY2zICTTl7ikfyVnpHk2Xw7ID-ynISqQKpTdd3YiiiQGYo2xlXtPBhIUQcR-KgboCGBG77N9WqLF8ZnxpCXITGl2p1TbR6xMjzBICAQ9e-vEY9tb5lsYORqpJGkL5vy5P7ITVS3EPtXKXyz~wvXExtsPsn0mnPf4WlN3iIZNgVjg4u8FXoppud8TPZQ__');
    background-size: cover;
    background-repeat: no-repeat;
}

#login-wrapper .login-panel {
    width: min(480px, 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 48px 0;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

#login-wrapper .login-panel img {
    width: 80%;
}

#login-wrapper .login-panel .login-body {
    background: #FFF;
    padding: 20px;
    border-radius: 16px;
    width: 100%;
    text-align: center;
}

#login-wrapper .login-panel .login-body > h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 42px;
}

#login-wrapper .login-panel .login-body > label {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin: 0 0 24px 0;
}

#login-wrapper .login-panel .login-body .login-btn {
    padding: 10px 0;
    text-align: center;
    display: block;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.login-footer {
    padding: 12px 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
}

.login-partner {
    display: flex;
    gap: 0 8px;
    width: min(290px, 100%);
    margin: 0 auto;
    align-items: center;
}

.login-partner > img {
    flex: 1 0 50%;
}

.login-partner > label {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    color: #FFF;
    display: block;
    margin: 0;
    flex: 1 0 50%;
}

#notification-wrapper {
    position: fixed;
    z-index: 20;
    width: min(480px, 100%);
    top: 20px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 24px 0;
}

#notification-wrapper > .notification-item {
    padding: 1rem 1rem 1.2rem 1rem;
    border-radius: 0.375rem;
    background: #fff;
    width: calc(100% - 20px);
    animation: notification 5s;
    animation-fill-mode: forwards;
    transition: all 0.25s linear;
}

#notification-wrapper > .notification-item > label {
    display: block;
    font-size: 22px;
    line-height: 30px;
    margin: 0;
    font-weight: bold;
}

#notification-wrapper > .notification-item > p {
    display: block;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
    font-weight: 400;
}

#loading-wrapper {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    z-index: 19;
}

#loading-wrapper > .loading-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    margin-top: -90px;
    margin-left: -90px;
    gap: 5px 0;
}

#loading-wrapper > .loading-panel > .loading-spiner {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    border: 10px solid transparent;
    border-left: 10px solid var(--maincolor);
    animation: .5s linear infinite spin;
}

#loading-wrapper > .loading-panel > label {
    display: block;
    margin: 10px 0 0 0;
    font-size: 16px;
    color: #FFF;
    line-height: 22px;
    text-align: center;
}

/** TONES **/
.th-success {
    background: #36BA98 !important;
    color: #fff !important;
}

.th-error {
    background: #973131 !important;
    color: #FFF !important;
}

.th-info {
    background: #5A639C !important;
    color: #FFF !important;
}

@media all and (max-width: 992px) {
    .right-on-mobile {
        text-align: left;
    }

    aside {
        width: 100%;
        left: -100%;
    }

    body.expand > header {
        padding: 8px 16px 8px 16px;
    }

    body.expand > main {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 76px;
    }

    a.nav-control.inside {
        position: fixed;
        top: 16px;
        right: 16px;
        color: #FFF;
        font-size: 28px;
        display: flex;
        border-right: unset;
    }

    body.fullpage > main {
        padding-left: unset;
        padding-right: unset;
        padding-top: unset;
    }

    main {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 76px;
    }
    
    canvas {
        width: 100%;
        height: auto;
        margin: 1rem auto;
    }

    #login-wrapper {
        padding: 24px 12px;
    }

    #login-wrapper .login-panel {
        gap: 18px 0;
    }

    #login-wrapper .login-panel img {
        width: 60%;
    }
}

@keyframes dropped {
    0% {
        opacity: 0;
        top: 80px;
    } 100% {
        opacity: 1;
        top: 120px;
    }
}

@keyframes notification {
    0% {
        opacity: 0;
        transform: translateX(100%);
    } 20% {
        opacity: 1;
        transform: translateX(0);
    } 80% {
        opacity: 1;
        transform: translateX(0);
    } 100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    } 50% {
        transform: rotate(180deg);
    } 100% {
        transform: rotate(360deg);
    }
}