////////////////////////////////////////////////////////////////
// Nutrix Color palette
// Colors
$primary-brand: #95c11f;
$primary-shadow: #eaf6cb;
$secondary-brand: #f6f8f0;
$red: #af1b3f;
$red-shadow: #f9dce4;
$green: #47be7a;
$error-state: #df320c;
$success-state: #078364;
$warning-state: #f4b740;
// Grayscale
$black: #232a32;
$light-black: #374650;
$dark-gray: #5b6472;
$gray: #7f8082;
$light-gray: #c4c4c4;
$border: #dcdcdc;
$tab-background: #efeeee;
$background: #fafafa;
$white: #ffffff;

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

@mixin breakpoint($class) {
    @if $class == s {
        @media (max-width: 767px) {
            @content;
        }
    } @else if $class == xs {
        @media (max-width: 568px) {
            @content;
        }
    } @else if $class == md {
        @media (max-width: 991px) {
            @content;
        }
    } @else if $class == lg {
        @media (max-width: 1200px) {
            @content;
        }
    } @else if $class == xl {
        @media (max-width: 1300px) {
            @content;
        }
    } @else if $class == xlg {
        @media (max-width: 1440px) {
            @content;
        }
    } @else if $class == xxl {
        @media (max-width: 1555px) {
            @content;
        }
    } @else {
        @warn "Breakpoint Error, Peritidos: xs, s, md, lg, xl, xlg, xxl";
    }
}

@keyframes focusedCard {
    0% {
        box-shadow: 0px 0px 20px 5px rgba(0, 184, 0, 0);
    }
    50% {
        box-shadow: 0px 0px 20px 5px rgba(0, 184, 0, 0.466);
    }
    100% {
        box-shadow: 0px 0px 20px 5px rgba(0, 184, 0, 0);
    }
}

@mixin flex($column, $wrap, $content, $items) {
    display: flex;
    @if $column {
        flex-direction: column;
    }
    @if $wrap {
        flex-wrap: wrap;
    }
    justify-content: $content;
    align-items: $items;
}

@mixin position($type, $top, $right, $bottom, $left) {
    position: $type;
    top: $top;
    right: $right;
    bottom: $bottom;
    left: $left;
}
@mixin beTriangle() {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

@mixin widhHeight($width, $height) {
    width: $width;
    height: $height;
}
@mixin btn-color($r, $g, $b) {
    border: 1px solid rgb($r, $g, $b) !important;
    color: rgb($r, $g, $b) !important;
    background: rgba($r, $g, $b, 0) !important;

    &:hover {
        border: 1px solid rgb($r, $g, $b) !important;
        background: rgba($r, $g, $b, 1) !important;
        color: $white !important;
        img {
            filter: brightness(0%) invert(100%);
        }
    }
    &:focus {
        background: rgba($r, $g, $b, 1) !important;
        border: 1px solid rgb($r, $g, $b) !important;
        color: $white !important;
        img {
            filter: brightness(0%) invert(100%);
        }
        box-shadow: 0 0 0 3px rgba($r, $g, $b, 0.5);
    }
    &:active {
        border: 1px solid rgb($r, $g, $b) !important;
        background: rgba($r, $g, $b, 1) !important;
        color: $white !important;
        img {
            filter: brightness(0%) invert(100%);
        }
    }
}

@mixin scrollBar($width) {
    &::-webkit-scrollbar {
        width: $width;
        &-track {
            background: $gray;
            border-radius: 15px;
        }
        &-thumb {
            background-color: rgb(196, 196, 196);
            border-radius: 15px;
        }
    }
}

.title {
    font-size: 20px;
}

.tab-content {
    padding: 0 !important;
}
.b-tabs {
    margin: 0 !important;
}
.b-checkbox {
    font-size: 14px;
}
.field.label-m-0 {
    label.label {
        margin: 0px !important;
    }
}

.previous {
    animation: slide-in 0.5s forwards;
    -webkit-animation: slide-in 0.5s forwards;
}

.next {
    animation: slide-out 0.5s forwards;
    -webkit-animation: slide-out 0.5s forwards;
}

@keyframes slide-in {
    0% {
        -webkit-transform: translateX(-10%);
    }
    100% {
        -webkit-transform: translateX(0%);
    }
}

@-webkit-keyframes slide-in {
    0% {
        transform: translateX(-10%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes slide-out {
    0% {
        transform: translateX(10%);
    }
    100% {
        transform: translateX(-0%);
    }
}

@-webkit-keyframes slide-out {
    0% {
        -webkit-transform: translateX(10%);
    }
    100% {
        -webkit-transform: translateX(-0%);
    }
}

.view-tab {
    z-index: 0;
}

.tabs {
    height: 60px;
    background: $tab-background !important;
    ul {
        padding-top: 20px;
        li {
            display: inline;
            list-style-type: none;
            padding-bottom: 15px;
            font-weight: 500;

            &.is-active {
                position: relative;
                &::before {
                    content: "";
                    @include widhHeight(100%, 3px);
                    @include position(absolute, unset, unset, -3px, unset);
                    background: $primary-brand;
                }
            }

            img {
                filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(314deg) brightness(205%) contrast(100%);
                margin-bottom: 3.5px;
                cursor: pointer;
            }

            a {
                font-size: 14px !important;
                position: relative;
                cursor: pointer;
                text-decoration: none;
                border: none !important;
                color: #3f4650 !important;
                padding: 18px;
                padding-right: 35px;
                padding-left: 35px;
                width: 100px;

                & div.dropdown {
                    z-index: 1;
                    // margin-top: 0;
                    // position: fixed;
                    @include position(absolute, 80px, 50px, 20px, 40px);
                    width: 400px;
                    display: none;
                    height: fit-content;
                    font-size: 20px;
                    flex-direction: column;
                    margin-top: -20px;
                    border-bottom: 0px;
                    padding: 5px;
                    border-radius: 10px;
                    background-color: white !important;
                    border: 2px solid rgb(225, 223, 223);

                    div.dropdown__item {
                        font-weight: 300;
                        text-transform: uppercase;
                        // @include flex(false, false, start, center);
                        // @include widhHeight(100%, 40px);
                        color: black;
                        border-style: solid;
                        border-width: medium;
                        margin-right: 10px;
                        border-radius: 0;
                        cursor: pointer;
                        border: none;
                        line-height: 31px;
                        margin-left: 20px;
                    }
                }
            }
        }
    }
}

.go-back-arrow {
    cursor: pointer !important;
}

.label {
    font-weight: 500 !important;
    font-size: 15px !important;
}

.label-file-field {
    .label {
        font-size: 14px !important;
    }
}

.dropdown {
    top: 60px;
    &-menu {
        min-width: 100% !important;
    }
    &.is-mobile-modal {
        position: unset !important;
    }
}

.modal-dialog {
    margin: 4rem !important;
}

.table {
    margin-bottom: 25px !important;
}

.fa-chevron-right {
    font-size: 12px;
    color: $primary-brand;
}

.modal-content {
    background-color: white !important;
    width: 92% !important;
    max-width: 1130px !important;
    margin: 0 15px;
    overflow-y: hidden;
}

.step {
    &-item {
        &.is-active,
        &.is-previous {
            .step-marker {
                background: $primary-brand !important;
                border: $primary-brand !important;
            }
            &::before {
                background: $primary-brand !important;
            }
        }
        &:before {
            height: 10px !important;
            top: calc(1rem - 5px) !important;
        }
    }
    &-title {
        font-size: 14px !important;
    }
}

.pagination-link,
.pagination-next,
.pagination-previous {
    border: none !important;
}

.pagination {
    &-list {
        .is-current {
            color: #363636 !important;
            background-color: white !important;
            border: 1px solid #a8a8a8 !important;
        }
    }
}
.select {
    box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
    &:not(.is-multiple):not(.is-loading)::after {
        border-color: $primary-brand !important;
        width: 0.5rem;
        height: 0.5rem;
        top: calc(50% - 0.5rem);
    }
    select {
        font-size: 13px !important;
        border-color: $gray !important;
        outline: none;
        &:focus {
            border-color: $primary-brand !important;
            box-shadow: 0 0 0 0.125em rgba(100, 100, 100, 0.25) !important;
        }
    }
}
.block {
    min-height: 36px;
    // display: flex;
    align-content: center;
    .checkbox {
        margin-right: 15px;
        width: fit-content;
        .control-label {
            display: flex;
            align-items: center;
        }
        img {
            margin-right: 10px;
        }
    }
    .b-checkbox.checkbox + .checkbox {
        margin: 0px !important;
    }
    @include breakpoint(xs) {
        flex-direction: column;
        row-gap: 10px;
        .checkbox {
            margin: 0 !important;
        }
    }

    &--y {
        flex-direction: column;
        gap: 15px;
        .checkbox {
            margin: 0 !important;
        }
    }
    &--spaced {
        .checkbox {
            width: 200px;
        }
        gap: 50px;
    }
}
.field {
    .label {
        @extend .fz-14;
    }
    p {
        font-size: 13px;
        font-weight: 500;
    }
    &.with-button {
        height: 100%;
        display: flex;

        align-items: flex-end;
        .c-btn {
            height: 37px;
        }
    }

    &:not(:last-child) {
        margin-bottom: 0 !important;
    }
}

.pagination {
    font-size: 13px !important;
}

.autocomplete .dropdown-content {
    overflow-y: overlay !important;
    max-height: 114px !important;
    overflow-x: hidden;
    &::-webkit-scrollbar {
        width: 8px;
        position: absolute;
        &-thumb {
            background-color: $gray;
            border-radius: 6px;
            &:hover {
                background-color: $gray;
            }
        }
        &-track {
            background-color: $tab-background;
            border-radius: 5px;
            margin: 5px 0;
        }
    }
    & .dropdown-item {
        font-size: 13px !important;
    }
}

.control.has-icons-right .icon.is-right,
.control.has-icons-left .icon.is-left {
    top: -4px !important;
    left: unset !important;
    right: 0px;
}

.help.is-danger {
    display: none !important;
}
.mdi.mdi-chevron-right.mdi-24px,
.mdi.mdi-chevron-left.mdi-24px {
    color: $primary-brand;
}
.datepicker-cell.is-selected {
    background-color: $primary-brand !important;
}
.datepicker-cell.is-today {
    border: solid 1px $primary-brand !important;
}
.select:not(.is-multiple):not(.is-loading)::after {
    top: 16px !important;
    right: 12px !important;
    border-radius: 0 !important;
    border-color: $dark-gray !important;
    border-left-width: 2px !important;
    border-bottom-width: 2px !important;
}
.datepicker {
    input {
        padding-left: calc(0.625em - 1px) !important;
    }
}

.input:focus,
.taginput .taginput-container.is-focusable:focus,
.textarea:focus,
select select:focus,
.is-focused.input,
.taginput .is-focused.taginput-container.is-focusable,
.is-focused.textarea,
select select.is-focused,
.input:active,
.taginput .taginput-container.is-focusable:active,
.textarea:active,
select select:active .is-active.select,
.is-active.input,
select:focus,
.taginput .is-active.taginput-container.is-focusable,
.is-active.textarea,
select select.is-active {
    border-color: $primary-brand !important;
    box-shadow: 0 0 0 0.125em $primary-shadow !important;
}
.datepicker {
    &-table &-cell {
        padding: 2px 5px !important;
        font-size: 13px;
    }
    &-header {
        padding-bottom: 10px !important;
        margin-bottom: 5px !important;
        .select {
            height: auto !important;
            select {
                width: 80px;
            }
        }
        [class*="pagination-"] {
            min-width: 30px;
        }
    }
}
.is-colon {
    font-size: 19.5px !important;
}
input::placeholder {
    color: $dark-gray;
}


input {
    color: $dark-gray !important;
}
select {
    color: $dark-gray;
}

.header {
    + #modal--delete {
        width: fit-content !important;
        margin-bottom: 30px;
    }
}

.upload {
    flex-direction: row-reverse !important;
}

.file-name {
    border: 1px solid #dcdcdc93 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    height: 31px !important;
    width: 16em !important;
    text-align: end !important;
    background-color: $white;
    font-size: 13px !important;
}

.delete-modal {
    .modal-content {
        width: fit-content !important;
    }
}

.medium-modal {
    .modal-content {
        width: -webkit-fill-available !important;
        max-width: 350px !important;
    }
    .cols-grid {
        @include breakpoint(md) {
            grid-template-columns: unset !important;
        }
    }
}

.scheduler_default_corner_inner {
    &::after {
        content: "HAB.";
        position: absolute;
        @include flex(false, false, center, center);
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        color: $primary-brand;
        font-weight: 600;
    }
}

.scheduler_default_scrollable {
    box-sizing: border-box;
    border-bottom: solid 1px $gray;
    height: 640px !important;
    @extend .scroll-style;
}

.scheduler_default_main {
    height: 675px !important;
    border: 1px solid rgba(0, 0, 0, 0.085) !important;
}

.scheduler_default_rowheader_scroll {
    height: 640px !important;
}

.scheduler_default_cell {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.scheduler_default_timeheadercol_inner {
    text-transform: capitalize !important;
}

.scheduler_default_cellparent {
    background-color: $secondary-brand !important;
}
.scheduler_default_tree_image_expand,
.scheduler_default_tree_image_collapse {
    left: 50px !important;
}
.scheduler_default_tree_image_expand + .scheduler_default_rowheader_inner_text {
    font-weight: 600 !important;
    *,
    *:focus,
    *:hover {
        outline: none;
    }
}

.scheduler_default_rowheader_inner_text {
    margin-left: 5px !important;
}

.tooltip {
    i {
        color: $primary-brand;
        background-color: transparent;
    }
    &-content {
        text-align: left !important;
        span {
            text-transform: capitalize;
            color: $primary-brand;
        }
        p {
            color: $light-black;
        }
    }
    &-white {
        i {
            color: white !important;
            background-color: transparent;
        }
    }
}

.select:not(.is-multiple) {
    height: initial !important;
}

*,
*:focus,
*:hover {
    outline: none;
}

input:-internal-autofill-selected {
    background-color: white;
}

.input_error {
    border-color: $error-state !important;
    box-shadow: 0;
}

.radio-group {
    display: flex;
    flex-direction: row;
    padding-top: 5px;
}

.radio-item {
    display: flex;
    flex-direction: row;

    padding-right: 8px;
    align-items: center;
    label {
        margin-left: 10px;
    }
}

.c-container {
    @extend .scroll-style;
    position: fixed;
    height: 100%;
    left: 240px;
    width: calc(100% - 240px);
    overflow: auto;
    padding: 30px 30px ;
    box-shadow: -15px 0px 0px 0px rgba(0, 0, 0, 0);
    transition: all 0.4s;
    background-color: $background;
    margin-bottom: 30px;

    @include breakpoint(lg) {
        width: calc(100%);
        left: 0px;
    }
    &--center {
        @include flex(false, false, center, unset);
    }
}

.p {
    &r-35 {
        padding-right: 35px !important;
    }
    &l-57 {
        padding-left: 57px !important;
    }
    &b-4px {
        padding-bottom: 4px !important;
    }
}

.m {
    &-1 {
        margin: 1rem;
    }
    &-y {
        &-2 {
            margin: 15px 0;
        }
    }
    &t {
        &-1 {
            margin-top: 1rem;
        }
        &-28 {
            margin-top: 28px;
        }
    }
    &b {
        &-1 {
            margin-bottom: 1rem;
        }
    }
}

.fz {
    &-20 {
        font-size: 20px !important;
    }
    &-18 {
        font-size: 18px !important;
    }
    &-16 {
        font-size: 16px !important;
    }
    &-14 {
        font-size: 14px !important;
    }
}

.secondary-background {
    background: $secondary-brand !important;
    color: $white !important;
    font-weight: 600;
}

.lightest-background {
    background: $white;
    background-position-x: -700px;
}

.gradient-background {
    padding: 2rem;
    margin: 1rem;
    font-family: "Heebo", sans-serif;
    font-weight: 700;
    display: inline-block;
    vertical-align: top;
    border-radius: 1rem;
    color: $white;
    max-width: 20rem;
    box-shadow: 0 1px 7px rgba(black, 0.3);
    background-image: linear-gradient(to right bottom, #003789, #822f8b, #c52872, #ea4b49, #eb8312);
    &:hover {
        box-shadow: 0 1px 7px rgba(black, 0.5);
    }
    & h1 {
        font-size: 2rem;
        line-height: 2rem;
        font-weight: 800;
        margin: 0.5rem 0rem 1.5rem 0rem;
    }
    & button {
        width: 100%;
        background: $white;
        color: black;
        border-radius: 1rem;
        border: none;
        padding: 0.5rem;
        margin-top: 1.5rem;
        outline: none;
        font-weight: 600;
        &:hover {
            cursor: pointer;
        }
        &:focus {
            background: rgb(233, 237, 250);
            color: purple;
        }
    }
}

.c-title {
    @include flex(false, true, space-between, center);
    font-weight: 500;
    line-height: 26px !important;
    font-size: 26px !important;
    color: $light-black;
    &-blue {
        color: $primary-brand;
    }
}
.center {
    text-align: center !important;
}

.btn-group {
    display: flex;
    gap: 10px;
    &--separated {
        justify-content: space-evenly;
        margin-top: 30px;
    }
}

.c-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    outline: none !important;
    transition: box-shadow 0.1s, background 0.1s, transform 0.2s;
    border-radius: 4px !important;
    min-width: 130px;
    height: 30px;
    line-height: 15px !important;
    padding: 0px !important;
    font-size: 12px !important;
    letter-spacing: 0.1rem !important;
    &-mini {
        min-width: 30px !important;
        font-size: 14px !important;
        position: relative;
    }
    &-blue {
        @include btn-color(99, 180, 226);
    }
    &-red {
        @include btn-color(175, 27, 63);
    }
    &-green {
        @include btn-color(149, 193, 31);
    }
    &-white {
        @include btn-color(91, 100, 114);
        border: 1px solid $border !important;

        span {
            color: $dark-gray;
            &.icon {
                font-size: 20px;
                position: absolute;
                top: 0;
                left: 4px;
                width: 20px;
            }
        }
    }

    &-background {
        background-color: $secondary-brand !important;
    }
    &:hover {
        &:enabled {
            transform: scale(1.04);
        }
    }
    &:disabled {
        border: 1px solid $border !important;
        background: $white !important;
        color: $border !important;

        img {
            filter: brightness(0%) invert(86%);
        }
    }

    &-input {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        &:hover {
            transform: unset;
        }
    }
}

.c-btn-pagination {
    background: transparent;
    border: none;
    border-radius: 5px;
    color: $light-black;

    &:disabled {
        opacity: 0.8;
        border: none !important;
        background: $background !important;
    }

    &:not(:disabled):hover {
        background: $light-gray;
        color: $gray;
    }
}

.c-modal .c-modal__content + button#submit {
    margin-top: 15px;
}

.shadow {
    &-1 {
        transition: all 0.4s;
        box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
        &-hover {
            &:hover {
                box-shadow: 0px 0px 6px 4px rgba(0, 0, 0, 0.08);
            }
        }
        &-nhover {
            box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1) !important;
        }
    }
}

.c-input {
    &[type="textarea"] {
        min-height: 100px;
    }
    @include widhHeight(100%, 285px);
    transition: all 0.2s;
    box-shadow: 0px 0px 1px 1px $primary-brand;
    padding-left: 8px;
    border-radius: 5px;
    border: 1px solid rgb(210, 210, 210);
    &:focus {
        box-shadow: 0px 0px 3px 1px $primary-brand;
        outline: none;
    }
}

.ml-auto {
    margin-left: auto;
}
.text-blue {
    color: $primary-brand;
}
.c-file {
    min-width: 200px;
    margin-top: 20px;
    color: transparent;
    &::-webkit-file-upload-button {
        visibility: hidden;
    }
    &::before {
        content: "Selecciona Archivos";
        min-width: 200px;
        text-align: center;
        outline: none;
        display: inline-block;
        background: linear-gradient(to top, #f9f9f9, #e3e3e3);
        border: 1px solid #999;
        padding: 4px 8px;
        color: black;
        font-weight: 400;
        font-size: 14px;
        border-radius: 5px;
    }
    &:hover {
        &::before {
            border: 1px solid rgb(114, 114, 114);
        }
    }
    &:active {
        outline: none;
        &::before {
            background: -webkit-linear-gradient(to top, #e3e3e3, #f9f9f9);
        }
    }
    &:active {
        outline: none;
    }
}

.color {
    &-white {
        color: $white;
    }
}

.text-center {
    text-align: center;
}

.scroll-style {
    &::-webkit-scrollbar {
        width: 14px;
        position: absolute;
        height: 8px;
        &-button {
            border: solid 1px #0000 ;
            height: 10px;
            &:single-button{

                &:vertical:decrement {
                    background: url(../icons/arroy-icon-up.svg) no-repeat;
                }
                &:vertical:increment {
                    background: url(../icons/arroy-icon-down.svg) no-repeat ;
                }
            }
        }
        &-thumb {
            background-color: $light-gray;
            border-radius: 6px;

            &:hover {
                background-color: $gray;
            }
        }

        &-track {
            background-color: $tab-background;
            border-radius: 45px;
            margin: 5px 0;
        }
    }
}

.invisible-input {
    display: none;
}

.stripped {
    background-color: $secondary-brand !important;
    &-table {
        overflow: unset !important;
        tr:nth-child(1),
        tr:nth-child(2),
        tr:nth-child(4) {
            background-color: $white !important;
        }
        tr:nth-child(3),
        tr:nth-child(5) {
            background-color: $secondary-brand !important;
        }
    }
}

.text {
    &-center {
        text-align: center !important;
    }
    &-end {
        text-align: end !important;
    }
    &-red {
        color: $error-state;
        padding-top: 4px;
    }
}

.text-link {
    text-decoration: underline;
}

.grid-commentary {
    grid-column: 2/4;
    @include breakpoint(md) {
        grid-column: 1/3;
    }
    @include breakpoint(s) {
        grid-column: unset;
    }
}

.select-lang {
    span {
        height: 30px !important;
    }
    select {
        width: 55px;
    }
}

.td-plus {
    @include flex(false, false, left, center);
    gap: 10px;
    img {
        cursor: pointer;
    }
}

.cell-container {
    @include flex(false, false, space-between, center);
    button {
        margin-top: 26px;
    }
}

.active-dropdown {
    tr {
        &:nth-child(2) {
            td {
                padding-top: 0 !important;
            }
        }
    }
}

.space-between {
    justify-content: space-between !important;
}

.bg-white {
    background: $white !important;
}
.text-grey {
    color: $gray !important;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    overflow-y: hidden !important;
    font-family: "Inter", sans-serif !important;
    color: $black;
}

ol,
ul {
    margin: 0;
    padding: 0;
}

ul.list {
    li {
        &::before {
            content: "\A";
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
            margin: 0 10px;
        }
        &.red {
            &::before {
                background: $error-state;
            }
        }
        &.green {
            &::before {
                background: $success-state;
            }
        }
        &.yellow {
            &::before {
                background: $warning-state;
            }
        }
        &.blue {
            &::before {
                background: $primary-brand;
            }
        }
        &.black {
            &::before {
                background: $black;
            }
        }
    }
}

input:focus {
    outline: none;
}
#dp > div:nth-child(1) > div.scheduler_default_corner > div:nth-child(2) {
    color: rgb(243, 243, 243) !important;
    background-color: rgb(243, 243, 243) !important;
}
input:not([type="checkbox"]),
select,
textarea {
    min-height: 30px !important;
    padding: 3px 10px !important;
    font-size: 13px !important;
}

input:not([type="checkbox"]),
select {
    height: 30px !important;
}

h1 {
    font-weight: 600 !important;
    font-size: 26px !important;
    line-height: 33px !important;
}

h2 {
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 26px !important;
}

h3 {
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 24px !important;
}

h4 {
    font-size: 14px !important;
    line-height: 19px !important;
}

h5 {
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 18px !important;
}

.subtitle {
    font-size: 16px;
    line-height: 22px;
}

.body {
    font-size: 13px;
    line-height: 19px;
}

.body-large {
    font-size: 16px;
    line-height: 19px;
}

.small {
    font-size: 10px !important;
    line-height: 12px;
}

.table-header {
    font-size: 14px;
    line-height: 18px;
    color: $primary-brand;
}

label {
    font-size: 14px;
    line-height: 17px;
    font-family: "Inter", sans-serif !important;
}

.navigation-link {
    font-size: 14px;
    letter-spacing: 10%;
    text-transform: uppercase;
}

.navigation-tab {
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
}

a {
    font-size: 13px;
    line-height: 16px;
    text-decoration-line: underline;
    color: $primary-brand;
}

.btn-text {
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 10%;
    text-transform: uppercase;
}

input[type=text] {
    &.bg-calendar {
        background: url("../icons/calendar-1.svg") no-repeat;
        background-position: right 15px top 4px;
    }
}

.estadisticas-generales {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
    .estadistica {
        padding: 15px;
        border: 1px solid rgba(0, 0, 0, 0.085);
        text-align: center;
        &__title {
            .main {
                font-weight: 600;
                font-size: 15px;
                color: #4f4f4f;
            }
            .sub {
                font-size: 12px;
                color: #7f8082;
            }
        }
        background-color: white;
        min-height: 350px;
        height: fit-content;
        width: 100%;
    }
    @include breakpoint(lg) {
        grid-template-columns: 1fr 1fr;
    }
    @include breakpoint(s) {
        grid-template-columns: 1fr;
    }
}

.error-page {
    p {
        font-size: 40px;
        font-weight: 200;
    }
    a {
        cursor: pointer;
        text-decoration: underline;
    }
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    flex-direction: column;
}

#calendar {
    .header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        &__right {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }
    }
}

.calendar {
    // border: 1px solid rgba(0, 0, 0, 0.085);
    height: calc(100% - 65px);
    padding: 15px;

    &__navbar {
        background: $gray !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        select {
            height: 36px !important;
            background-color: transparent !important;
            width: 110px !important;
        }
    }

    &__grid {
        margin-top: 30px;
    }
    &__legend {
        font-size: 12px;
        margin-top: 15px;
        display: flex;
        gap: 20px;
        li::before {
            margin-left: 0 !important;
        }
    }
    &__buttons {
        button {
            background-color: transparent !important;
            padding: 0 12px;
            color: $gray !important;
            border: none !important;
            outline: none;
            font-size: 15px;
            cursor: pointer;
        }
    }

    .scheduler_default {
        &_main {
            border-right: none;
            border-left: none;
            border-top: none;
            border-color: $gray !important;
        }

        &_rowheader_inner {
            background-color: $white;
            border-color: $gray !important;
            + .scheduler_default_resourcedivider {
                display: none;
            }
        }

        &_splitter {
            display: none !important;
        }

        &_divider_horizontal {
            display: none;
        }

        &_corner_inner {
            background-color: $white;
            border-bottom: solid 1px $gray;
            border-right: solid 1px $gray;
            width: 79px !important;
            + div {
                display: none;
            }
        }

        &_timeheader_cell_inner {
            border: none;
            border-bottom: solid 1px $gray !important;
            background-color: $white;
        }
        &_matrix_vertical_line,
        &_matrix_horizontal_line {
            display: none !important;
        }
    }
}

.scheduler_default {
    &_shadow_inner {
        background-color: $gray !important;
    }
}

$boder-color: 1px solid rgba(150, 150, 150, 0.4);

.habitation {
    border: $boder-color;
    border-radius: 5px;
    @include flex(false, false, unset, center);
    width: 100%;
    font-size: 13px;

    &__header {
        @include flex(true, false, center, center);
        background: $background;
        min-width: max-content;
        height: 100%;

        padding: 15px;
        border-radius: 5px 0 0 5px;
        .habitation-number {
            font-size: 18px;
            color: $primary-brand;
        }
    }

    &--justheader {
        @extend .habitation__header;
        height: 110px;
        width: 150px;
        border-radius: 8px;

        @include breakpoint(md) {
            height: 90px;
            width: 135px;
        }

        @include breakpoint(xs) {
            height: 75px;
            width: 90px;
        }
    }

    &--reservation {
        th,
        td {
            vertical-align: middle;
            &:first-child {
                width: 15%;
            }
            &:nth-child(2) {
                width: 30%;
            }
            &:nth-child(3) {
                width: 20%;
            }
            &:nth-child(4) {
                width: 35%;
                text-align: center;
            }
        }
        th {
            padding: 10px 0;
        }
        td {
            padding: 5px 0;
        }
    }

    &--change {
        @extend .habitation--reservation;

        @include breakpoint(s) {
            flex-direction: column;
        }
    }

    &__body {
        width: 100%;
        border-left: $boder-color;
        height: 100%;
        border-radius: 0 5px 5px 0;
        &--gestion {
            & .options {
                border-radius: inherit;
                background-color: $secondary-brand;
                display: flex;
                justify-content: flex-end;
                align-items: center;
                padding: 6px;
                border-bottom: solid 1px $dark-gray;
                gap: 5px;
                > div {
                    display: flex;
                    gap: 5px;
                    .control {
                        width: 170px;
                        @include breakpoint(s) {
                            width: 130px;
                        }
                    }
                }
                &.space-between {
                    > button {
                        &:nth-child(3) {
                            display: none;
                        }
                        @include breakpoint(s) {
                            &:nth-child(3) {
                                display: initial;
                                img {
                                    width: 20px;
                                    height: 20px;
                                }
                            }
                            &:nth-child(2) {
                                display: none;
                            }
                        }
                    }
                }
            }
            & .sections {
                display: flex;
            }
            & .left-section {
                width: 50%;
                padding: 10px;
                span {
                    color: $primary-brand;
                }
                border-right: solid 1px $dark-gray;
            }
            & .right-section {
                width: 50%;
                padding: 10px;
                gap: 10px !important;
            }
        }
        span.tooltip {
            left: 25px;
            top: 1px;
        }
        thead {
            background-color: $secondary-brand;
            th {
                font-weight: normal;
            }
            span {
                color: $primary-brand;
            }
        }
        tr {
            height: 35px;
            &:last-child {
                th:last-child {
                    border-top-right-radius: 5px;
                }
                td:last-child {
                    border-bottom-right-radius: 5px;
                }
            }
        }
        .gray,
        .disabled {
            color: $dark-gray;
            background-color: $background;
        }

        label.b-checkbox {
            margin-right: 0 !important;
        }

        %common-selected {
            color: white;
            i {
                color: inherit;
            }
        }

        .red {
            background-color: $warning-state !important;
            @extend %common-selected;
        }

        .selected {
            background-color: $success-state;
            @extend %common-selected;
        }

        .asigned {
            background-color: #56ccf2 !important;
            @extend %common-selected;
        }
    }
}

.habitation-block {
    grid-column: 1/5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 40px;
    margin-top: 15px;
    @include breakpoint(lg) {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    }
}

.habitation-container {
    height: calc(100% - 65px);
    @extend .calendar;
    padding: 30px !important;
    border: none !important;
    &__navbar {
        @extend .calendar__navbar;
        margin-top: 20px;
    }
    &__body {
        padding: 30px;
        height: 350px;
        overflow-y: overlay;
    }
}

.resident-change {
    width: 45%;
    min-width: 500px;
    margin: 15px auto;
    &-block {
        display: flex;
        width: 100%;
        margin: 25px 0;
        justify-content: space-between;
        flex-wrap: wrap;
        @include breakpoint(md) {
            flex-direction: column;
        }
    }
    &--resume {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 5px;
        img {
            height: 35px;
            width: auto;
            @include breakpoint(md) {
                height: 30px;
            }
            @include breakpoint(s) {
                height: 20px;
            }
        }
    }
    &__text {
        position: relative;
        height: 35px;
        margin: 20px 0 25px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        &__absolute {
            position: absolute;
            top: -20px;
            font-size: 14px;
        }
    }

    @include breakpoint(md) {
        width: 85%;
        min-width: 400px;
    }
    @include breakpoint(s) {
        width: 100%;
        min-width: 100%;
    }
    & + hr {
        width: calc(100% - calc(15px * 5));
        margin: 25px auto 0 auto;
        height: 1px;
        background-color: $gray;
    }
}

.home {
    display: grid;
    grid-template-columns: 1fr 0.3fr;
    grid-template-areas: "reservas reservas-graph" "recogidas recogidas-graph";
    gap: 60px;
    .graph {
        background: white;
        text-align: center;
    }
    @include breakpoint(xlg) {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "reservas reservas" "recogidas recogidas" "reservas-graph recogidas-graph";
        gap: 40px;
    }
    @include breakpoint(s) {
        grid-template-areas: "reservas reservas" "recogidas recogidas" "reservas-graph reservas-graph" "recogidas-graph recogidas-graph";
    }
    &__section {
        &:nth-child(1) {
            grid-area: reservas;
            @include breakpoint(xlg) {
                grid-column: 1/3;
            }
        }
        &:nth-child(2) {
            grid-area: reservas-graph;
        }
        &:nth-child(3) {
            grid-area: recogidas;
            @include breakpoint(xlg) {
                grid-column: 1/3;
            }
        }
        &:nth-child(4) {
            grid-area: recogidas-graph;
        }
        &--no-header {
            margin-top: 60px;
            @include breakpoint(s) {
                margin-top: 0;
            }
        }
    }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}
.field {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;

    input {
        width: 100%;
        height: 30px;
        border: 1px solid #dcdcdc;
        border-radius: 5px 5px 5px 5px;
        padding-left: 8px;
        flex-direction: row;
        background: #ffffff;
        box-sizing: border-box;

        @include breakpoint(md) {
            width: 210px;
        }

        @include breakpoint(s) {
            width: 180px;
        }
    }

    select {
        width: 100%;
        height: 30px;
        border: 1px solid #dcdcdc;
        border-radius: 5px 5px 5px 5px;
        padding-left: 8px;
        flex-direction: row;
        background: #ffffff;
        box-sizing: border-box;

        @include breakpoint(md) {
            width: 210px;
        }

        @include breakpoint(s) {
            width: 180px;
        }
    }
}

.search-input {
    height: 30px;
    display: flex;

    input {
        width: auto;
        height: 30px;
        border: 1px solid $border;
        border-radius: 5px 0px 0px 5px;
        border-right: 0;
        padding-left: 8px;

        @include breakpoint(md) {
            width: 210px;
        }

        @include breakpoint(s) {
            width: 180px;
        }
        &:focus {
            border: 1px solid #95c11f;
            box-sizing: border-box;
            border-radius: 5px 0px 0px 5px;
        }
    }

    button {
        min-width: 30px;
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        height: 30px;

        &:hover {
            cursor: unset;
            background: $primary-brand !important;
            transform: none !important;
        }

        &:focus {
            cursor: unset;
            background: $primary-brand !important;
            border: 3px solid $primary-shadow;
            border-radius: 0px 5px 5px 0px;
        }
    }

    &.document {
        input {
            width: 200px;
        }
    }
}

.description {
    &--h-90 {
        .textarea {
            min-height: 90px !important;
        }
    }
}

.header {
    @include flex(false, true, space-between, unset);
    margin-bottom: 30px;

    &__buttons {
        @include flex(false, true, space-between, unset);
        gap: 30px;

        a {
            text-decoration: none;
        }
    }
}

.vertical-form {
    height: 370px;
    width: 430px;
}

.header-verticalForm :first-child {
    align-self: center;
}

.header-verticalForm {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    max-height: 50px;
    height: 50px;
    align-items: flex-start;
    background-color: $tab-background;
    border-bottom: 4px solid $border;
}

.list-input-verticalForm {
    height: 320px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: $white;
    max-height: 320px;
    overflow-y: auto;

    div {
        &.item-list {
            flex-direction: row;
            display: flex;
            justify-content: flex-end;
            margin-top: 8px;
            margin-bottom: 8px;

            div.button-controls {
                & .c-btn {
                    margin-left: 10px;
                    padding: 10px !important;
                }

                display: flex;
                align-items: flex-end;
                justify-content: space-evenly;
            }
        }
    }
}
.modalHeader {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 5px 0px 30px 20px;
    position: static;
    width: 458.5px;
    height: 56px;
    left: 0px;
    top: 0px;
    background: $tab-background;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    margin-left: -32.5px;
    margin-top: -40px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.modalHeaderText {
    position: static;
    font-family: "Inter", sans-serif !important;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 25px;
    display: flex;
    align-items: center;
    color: $black;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin-top: 10px;
}

.ModalInformation {
    position: static;
    width: 406px;
    height: 54px;
    left: 0px;
    top: 0px;
    background: $tab-background;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    margin: 20px 0px;
}

.ModalInformationText {
    width: 380px !important;
    position: absolute;
    margin-top: 8px;
    margin-left: 13px;
    font-family: "Inter", sans-serif !important;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: $gray;
}

.selection {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 7px;
    position: static;
    width: 406px;
    height: 30px;
    left: 0px;
    top: 74px;
    background: $white;
    border: 1px solid $border;
    box-sizing: border-box;
    border-radius: 3px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    margin: 20px 0px;
    font-family: "Inter", sans-serif !important;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 16px;
    color: $gray;
}

.modalBodyInsideFooter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    position: static;
    width: 406px;
    height: 30px;
    left: 20px;
    top: 244px;
    order: 1;
    align-self: stretch;
}

.fieldError {
    font-size: 15px;
    color: $error-state;
}

::-webkit-calendar-picker-indicator {
    opacity: 2;
    background: url("../icons/calendar-1.svg") no-repeat;
    outline: none;
}

::-webkit-calendar-picker-indicator::after {
    content: "";
    display: block;

    background-size: 10%;
    width: 100px;
    height: 100px;
    position: absolute;
    transform: translateX(-3%);
}

.login {
    display: flex;
    justify-content: center;
    place-items: center;
    width: 100%;
    flex-direction: column;
    height: 100vh;
}
.login-card {
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.15);
    border-right: 10px solid $primary-brand;
    padding: 40px 30px;
    background-color: $white;
    width: 100%;
    max-width: 480px;
    @at-root &-container {
        @include widhHeight(100%, 100%);
        @include flex(true, false, center, center);
        background-color: $gray;
        padding: 15px;
    }
    &__header {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        .input {
            label {
                margin-bottom: 10px;
            }
        }
    }
    &__body {
        margin: 15px 0;
        display: flex;
        flex-direction: column;
        gap: 25px;
        input {
            margin-top: 5px;
        }
    }
    &__reminder {
        margin: 50px 0 5px;
        @include flex(false, false, space-between, center);
        a {
            color: black;
            font-size: 13px;
        }
    }
}

.c-modal {
    padding: 2rem;
    box-shadow: none !important;
    width: 100%;
    position: relative;
    background-color: $background;

    &__content {
        
        @extend .scroll-style;
        max-height: 331;
        background-color: #ffffff;
        padding: 20px 35px;
        display: flex;
        flex-wrap: wrap;
        overflow: hidden;
        margin-bottom: 30px;
        @include breakpoint(md) {
            padding: 15px 25px;
            .description {
                grid-column: unset;
            }
        }
    }
    &__header {
        @include flex(false, false, flex-start, center);
        height: 55px;
        padding-left: 20px;
        background-color: #efeeee;
        font-weight: 500;
        font-style: normal;
        color: #3f4650; 
    }

    &__footer {
        @include flex(false, false, flex-end, center);
        min-height: 50px;
        button {
            position: absolute;
            right: 0px;
            bottom: 0px;
            margin: 20px 2rem 2rem 0px;
        }
    }

    .modal-btn {
        margin-top: 15px;
    }
    .description {
        grid-column: 2/-1;
    }
    .comentary {
        grid-column: 1/-1;
    }
}

.modal {
    &--l {
        .header + div,
        .header + form {
            height: 620px;
        }
        .c-modal__content {
            height: 515px;
        }
    }
    &--m {
        .header + div,
        .header + form {
            height: 335px;
        }
        .c-modal__content {
            height: 270px;
        }
    }
}

.cols-grid {
    display: grid;
    gap: 10px 30px;
    &.grid {
        &-2 {
            grid-template-columns: 1fr 1fr;
        }
        &-3 {
            grid-template-columns: repeat(3, minmax(135px, 1fr));
        }
        &-4 {
            grid-template-columns: 1fr 1fr 1fr 1fr;
        }
        &-5 {
            grid-template-areas:
                "1 1 1 1 2 2"
                "3 3 4 4 5 5";
            :nth-child(1) {
                grid-column-end: span 4;
            }
            :nth-child(2) {
                grid-column-end: span 2;
            }
            :nth-child(3) {
                grid-column-end: span 2;
            }
            :nth-child(4) {
                grid-column-end: span 2;
            }
            :nth-child(5) {
                grid-column-end: span 2;
            }

        }

        &-img {
            grid-template-columns: 200px auto;
            gap: 10px 40px;
            @include breakpoint(md) {
                grid-template-columns: 200px auto !important;
                gap: 10px 30px;
            }
            @include breakpoint(s) {
                grid-template-columns: 1fr !important;
            }
        }
    }
    @include breakpoint(md) {
        grid-template-columns: 2fr;
    }
    @include breakpoint(s) {
        grid-template-columns: 1fr !important;
    }
}

.grid-block {
    &__title {
        font-weight: 500;
        margin: 15px 0;
    }
}

.image-square {
    @include flex(true, false, center, center);
    @include widhHeight(200px, 200px);
    position: relative;
    background: $background;
    margin: 0 auto;
    .reservation-number {
        font-size: 33px;
        color: $primary-brand;
    }
    &__buttons {
        @include flex(false, false, center, center);
        @include position(absolute, 5px, 5px, unset, unset);
        gap: 7px;
    }
    p {
        padding-bottom: 10px;
    }
    span {
        color: $primary-brand;
        font-size: 30px;
    }
    .user-img {
        max-width: 200px;
        max-height: 200px;
    }
}

.image-round {
    @include flex(true, false, center, center);
    @include widhHeight(200px, 250px);
    position: relative;
    margin: 0 auto;
    top: -16px;
    .reservation-number {
        font-size: 33px;
        color: var(--main-blue);
    }
    &__buttons {
        @include flex(false, false, center, center);
        @include position(absolute, 5px, 5px, unset, unset);
        gap: 7px;
    }
    p {
        padding-bottom: 10px;
    }
    span {
        color: var(--main-blue);
        font-size: 30px;
    }

    button {
        width: 170px !important;
    }

    button:disabled {
        display: none;
    }

    .user-img {
        @include widhHeight(170px, 170px);
        max-width: 170px;
        max-height: 170px;
        margin-bottom: 15px;

        display: inline-block;
        position: relative;
        overflow: hidden;
        border-radius: 50%;
        background-size: contain;

        width: 170px !important;
        height: 100%;
    }
}

.custom-dialog {
    min-width: 100% !important;
    display: flex;
    justify-content: center;
}

#user {
    margin-right: 10px !important;
    font-size: 14px;
}
#hamburguer {
    margin-left: 20px;
    margin-right: 20px;
    img {
        filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(314deg) brightness(109%) contrast(100%);
    }
}

.profile-item {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: "row";
    border-bottom: 1px solid #3f4650;
    //border-top: 1px solid #3F4650;
    //padding-left: 18px; //12 in small //18 in large
    //justify-content: center;
    div.profile-titles {
        margin-left: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
        text-transform: none !important;
        .name {
            font-size: 15px !important;
        }
        .link {
            font-size: 10px;
            color: #7f8082;
        }
    }
}

.navbar {
    @include flex(false, false, space-between, center);
    @include widhHeight(100%, 65px);
    $self: &;
    background: #3f4650 !important;
    min-height: unset !important;
    &__logo {
        margin-top: -10px;
        margin-right: auto;
        height: auto;
        margin-left: 26px;
       
        cursor: pointer;
    }
    &__user {
        @include flex(false, false, center, center);
        @include widhHeight(75px, 100%);
        border-left: 1px solid $dark-gray;
        height: 65px;
        margin-top: -8px;
        cursor: pointer;
        color: #e3e3e3;
        img:first-child {
            height: 20px;
            padding-right: 3px;
            margin-right: 2%;
        }
        img:nth-of-type(2) {
            height: 9px;
            margin-top: 10px;
        }
        .dropdown {
            // margin-top: 0;
            // position: fixed;
            @include position(fixed, 125px, unset, unset, unset);
            z-index: 1;
            width: 150px;
            display: none;
            font-size: 13px;
            flex-direction: column;
            margin-top: -60px;
            &__item {
                @include flex(false, false, center, center);
                @include widhHeight(100%, 40px);
                color: $white !important;
                //background-color: red;
                background-color: #3f4650;
                border: none;
                border-radius: 0;
                cursor: pointer;
                &:hover {
                    background-color: $primary-brand;
                }
            }
        }
    }
}

.c-pagination {
    font-size: 13px !important;
    @include flex(false, false, space-between, center);
    color: $light-black;
    margin-top: 30px;
    &__per-page {
        @include flex(false, false, flex-start, center);
        gap: 15px;
        select {
            padding: 0 !important;
            font-size: 13px;
            min-height: 25px !important;
        }

        input {
            padding: 0 !important;
            font-size: 13px;
            min-height: 25px !important;
            width: 25px;
            text-align: center;
        }

        .c-pagination-select {
            height: 24px !important;
            border: 1px solid #dcdcdc;
            box-sizing: border-box;
            border-radius: 5px;
            background: #ffffff;
        }
    }
}

.progress {
    background: $border;
    border-radius: 0 !important;
}
.progress-bar.bg-gray {
    background-color: $gray !important;
}
.progress-bar-current-value {
    font-size: 14px;
    color: $primary-brand;
    margin-right: 3px;
}
.progress-bar-target-value {
    font-size: 12px;
    color: $dark-gray;
    margin-top: 4px;
    margin-right: -23px;
}
.container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
}
span {
    &.measure {
        margin-left: -13px;
    }
}

.switch-checkbox {
    height: 0;
    width: 0;
    visibility: hidden;
}

.switch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 38.35px;
    height: 19.17px;
    background: $border;
    border-radius: 38.35px;
    position: relative;
    transition: background-color 0.2s;
    border: 1px solid $border;
}

.switch-label .switch-button {
    content: "";
    position: absolute;
    top: 1.5px;
    left: 1.5px;
    width: 14px;
    height: 14px;
    border-radius: 14px;
    transition: 0.2s;
    background: $white;
}

.switch-checkbox:checked + .switch-label .switch-button {
    left: calc(100% - 1.5px);
    transform: translateX(-100%);
}

.switch-label:active .switch-button {
    width: 23px;
}
.switch-label.off {
    &:hover {
        background: $white;
        border: 1px solid $border;

        .switch-button {
            background: $border;
        }
    }
    &.disabled {
        background: $border;

        .switch-button {
            background: $tab-background;
        }

        &:hover {
            background: $border;

            .switch-button {
                background: $tab-background;
            }
        }
    }
}

.switch-label.on {
    background: $primary-brand;
    border: 1px solid $primary-brand;

    .switch-button {
        background: $white;
    }

    &:hover {
        background: $white;

        .switch-button {
            background: $primary-brand;
        }
    }

    &.disabled {
        background: $border;
        border: 1px solid $border;

        .switch-button {
            background: $tab-background;
        }

        &:hover {
            background: $border;

            .switch-button {
                background: $tab-background;
            }
        }
    }
}

.c-table {
    border: 1px solid rgba(0, 0, 0, 0.085);
    position: relative;
    background: $white;
    width: 100%;
    thead {
        tr {
            height: 55px;
            th {
                vertical-align: middle;
                font-weight: 500;
                font-size: 14px;
                padding: 0 15px;
                position: sticky;
                top: -1;
                background-color: $white;
                color: var(--main-blue);
                z-index: 10;
                white-space: nowrap;
                &:first-child {
                    padding-left: 35px;
                }
                @include breakpoint(md) {
                    padding: 15px;
                }
            }
        }
    }

    tbody {
        tr {
            transition: border 0.5s;
            &:nth-child(even) {
                background: $secondary-brand;
                border-top: 0px solid white;
            }
            &:nth-child(odd) {
                border-top: 0px solid $secondary-brand;
            }
            td {
                position: relative;
                font-size: 13px;
                padding: 15px;
                vertical-align: middle;
                &:first-child {
                    padding-left: 35px;
                }
                &:last-child {
                    display: flex;
                    justify-content: flex-end;
                    min-width: max-content !important;
                    gap: 10px;
                    margin-left: auto;
                    padding-right: 35px;
                }
                a {
                    color: black !important;
                }
                @include breakpoint(md) {
                    padding: 15px;
                }
            }
        }
    }
    tfoot {
        tr {
            height: 55px;
            th {
                vertical-align: middle;
                font-size: 14px;
                font-weight: 500;
                padding: 0 15px;
                border-top: 1px solid rgb(210, 210, 210);
                z-index: 10;
                &:first-child {
                    color: var(--main-blue);
                    padding-left: 35px;
                }
                &:last-child {
                    font-weight: 400;
                    text-align: start;
                }
            }
            &:last-child {
                th {
                    font-weight: 500 !important;
                    color: $warning-state !important;
                }
            }
        }
    }
    &--no-border {
        border: none;
    }
}

.table-responsive {
    @extend .scroll-style;
    display: block;
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    overflow-y: overlay;
    max-height: 685px;
    &.sm {
        max-height: 320px;
    }
    &.usuarios {
        th {
            width: 200px !important;
            &:last-child {
                width: 400px !important;
            }
        }
    }
    &.historial {
        th {
            &:first-child {
                width: 180px !important;
            }
        }
    }
    &.tarifas {
        th {
            width: 200px !important;
            &:first-child {
                width: 350px !important;
            }
            &:last-child {
                width: 300px !important;
            }
        }
    }
    &.residentes {
        th {
            width: 200px;
            &:last-child {
                width: 280px !important;
            }
        }
    }
    &.problemas {
        td:nth-child(5),
        td:nth-child(6),
        th:nth-child(5),
        th:nth-child(6) {
            text-align: center;
            div {
                @include flex(false, false, center, center);
                &.active-problems {
                    &:hover {
                        transform: scale(1) !important;
                    }
                }
            }
        }
    }
    &.reservas {
        tbody {
            tr {
                td {
                    &:first-child {
                        min-width: 280px;
                        @include breakpoint(xlg) {
                            min-width: auto;
                        }
                    }
                    &:last-child {
                        display: table-cell !important;
                    }
                    th:last-child {
                        text-align: end;
                        padding-right: 35px;
                    }

                    u {
                        cursor: pointer;
                    }
                }
            }
        }
        .datepicker {
            width: 310px;
            @include breakpoint(xlg) {
                width: 200px;
            }
            @include breakpoint(lg) {
                width: auto;
            }
        }
    }
}
.no-data {
    padding: 15px 30px;
    background-color: white;
    font-size: 15px;
}

.documents {
    tr {
        th {
            &:nth-child(-n + 2) {
                width: 295px;
            }
            &:last-child {
                text-align: end;
                padding-right: 35px;
            }
        }
    }
}

input[type="radio"] {
    width: 18px !important;
    height: 18px;
    border-radius: 15px;
    top: 0px;
    left: 0px;
    position: relative;
    background-color: #d1d3d1;
    content: "";
    display: inline-block;
    visibility: visible;
    border: 1px solid white;
    border: 1px solid rgb(210, 210, 210);
    background-color: white;
    &.disable {
        width: 50px;
        height: 50px;
        background-color: red;
        border: 5px solid #d1d3d1;
    }
    &.pinned {
        border: 5px solid #95c11f !important;
    }
    &.small {
        width: 16px !important;
        height: 16px !important;
        border: 2px solid white;
        border: 1px solid rgb(210, 210, 210);
    }
}

input[type="radio"]:checked:after {
    width: 18px;
    height: 18px;
    border-radius: 15px;
    top: 6px;
    //bottom: 5px;
    left: 0px;
    position: relative;
    background-color: white;
    content: "";
    display: inline-block;
    visibility: visible;
    //border: 1px solid rgb(210, 210, 210);
    border: 4.5px solid #95c11f;
    &.small {
        width: 16px !important;
        height: 16px !important;
    }
}

.custom-checkbox {
    height: 15px;
    width: 15px;
    border-radius: 2px;
    //background-color: white;
    border: 1px solid rgb(210, 210, 210);
    z-index: 0;
    position: relative;
    cursor: pointer;
    outline: 0 !important;
    margin: 0 0 0 45% !important;

    /* remove hightlight */
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;

    img.check {
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        -khtml-user-select: none; /* Konqueror HTML */
        -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none;

        position: absolute;
        z-index: 1;
        top: -4px;
        left: 3px;
    }
}
.disable {
    color: grey;
    border: 1px solid rgb(210, 210, 210);
    img.check {
        -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
        filter: grayscale(100%);
    }
}
.custom-checkbox:focus {
    border: 2px solid #eaf6cb;
    img.check {
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        -khtml-user-select: none; /* Konqueror HTML */
        -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none;

        position: absolute;
        z-index: 1;
        top: -4px;
        left: 3px;
    }
}
.c-table {
    border: 1px solid $border;
    position: relative;
    background: $white;
    width: 100%;
    thead {
        border: 1px solid $border !important;

        tr {
            height: 55px;
            th {
                vertical-align: middle;
                height: 62px !important;
                font-weight: 500;
                font-size: 14px;
                padding: 0 15px;
                line-height: 18px;
                position: static;
                top: -1;
                background-color: $white;
                color: $primary-brand;
                //border-bottom: 2px solid $border !important ;
                z-index: 10;
                white-space: nowrap;
                &:first-child {
                    padding-left: 35px;
                }
                &:last-child {
                    width: fit-content !important;
                    display: flex;
                    justify-content: flex-end;
                    min-width: max-content !important;
                    margin-left: auto;
                    padding: 15px;
                    padding-right: 35px;
                }
                @include breakpoint(md) {
                    padding: 15px;
                }
            }
        }
    }

    tbody {
        tr {
            transition: border 0.5s;
            &:nth-child(even) {
                background: $secondary-brand;
                border-top: 0px solid white;
            }
            &:nth-child(odd) {
                border-top: 0px solid $secondary-brand;
            }
            td {
                position: static;
                font-size: 13px;
                font-style: normal;
                line-height: 19px;
                padding: 15px;
                vertical-align: middle;
                &:first-child {
                    padding-left: 35px;
                }
                &:last-child {
                    display: flex;
                    justify-content: flex-end;
                    min-width: max-content !important;
                    gap: 10px;
                    margin-left: auto;
                    padding-right: 35px;
                }
                a {
                    color: black !important;
                }
                @include breakpoint(md) {
                    padding: 15px;
                }
            }
        }
    }
    &.form {
        thead {
            tr {
                th {
                    display: table-cell;
                    text-align: start;
                    width: 200px !important;
                    &:nth-child(3) {
                        text-align: center;
                    }
                    &:last-child {
                        width: fit-content !important;
                        display: flex;
                        justify-content: flex-end;
                        min-width: max-content !important;
                        margin-left: auto;
                        padding: 15px;
                        padding-right: 35px;
                    }
                }
            }
        }

        tbody {
            tr {
                display: table-row;
                td {
                    position: static;
                    display: table-cell;
                    text-align: center;
                    &:last-child {
                        display: flex;
                        justify-content: flex-end;
                        min-width: max-content !important;
                        margin-left: auto;
                        padding: 15px;
                        padding-right: 35px;
                        min-width: max-content !important;
                    }
                    &:first-child {
                        text-align: start;
                    }
                    a {
                        color: black !important;
                    }
                }
            }
        }
    }
    tfoot {
        tr {
            height: 55px;
            th {
                vertical-align: middle;
                font-size: 14px;
                font-weight: 500;
                padding: 0 15px;
                border-top: 1px solid rgb(210, 210, 210);
                z-index: 10;
                &:first-child {
                    color: $primary-brand;
                    padding-left: 35px;
                }
                &:last-child {
                    font-weight: 400;
                    text-align: start;
                }
            }
            &:last-child {
                th {
                    font-weight: 500 !important;
                    color: $warning-state !important;
                }
            }
        }
    }
    &--no-border {
        border: none;
    }
}


.no-data {
    padding: 15px 30px;
    background-color: white;
    font-size: 15px;
}

.documents {
    tr {
        th {
            &:nth-child(-n + 2) {
                width: 295px;
            }
            &:last-child {
                text-align: end;
                padding-right: 35px;
            }
        }
    }
}

.ui {
    scroll-behavior: smooth !important;
    //scroll-margin-top: 30px;
    //overflow: scroll !important;
    overflow-y: auto;
    max-height: 100vh !important;
    padding-top: 2rem;
    padding-left: 20rem;
    padding-right: 20rem;
    position: relative;
    .menu-ui {
        top: 0;
        left: 0;
        bottom: 0;
        position: fixed;
        overflow-y: scroll;
        width: 15rem;
        padding-left: 30px;
        padding-right: 10px;
        padding-top: 40px;
        .content-title {
            font-size: 15px;
            color: rgb(173, 173, 173);
            cursor: pointer;
        }
        .menu-title {
            margin-top: 1rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
            .arrow {
                cursor: pointer;
            }
            a {
                font-size: medium;
                font-weight: 700;
                cursor: pointer;
                display: flex;
                flex-direction: row;
            }
            & .subtitle-menu {
                overflow: hidden;
                transition: transform 0.3s ease-out;
                height: auto;
                transform: scaleY(1);
                transform-origin: top;
                //padding-top: 20px;
                & a.menu-option {
                    text-decoration: none;
                    color: black;
                    margin-left: 10px;
                    font-size: 15px;
                    font-weight: 300;
                    margin-top: 20px;
                    margin-bottom: 20px;

                    &.selected {
                        color: $primary-brand;
                    }
                }

                &.show {
                    transform: scaleY(1);
                }
                &.hidden {
                    height: 0;
                    padding-top: 0px;
                    padding-bottom: 0px;
                    transform: scaleY(0);
                }
            }
        }
    }
    .content-ui {
        margin-top: 2rem;
        .section {
            margin-top: 50px;
            margin-bottom: 50px;
            .title-ui {
                font-size: xxx-large;
                font-weight: bolder;
            }
            .subtitle-ui {
                font-size: x-large;
                font-weight: 500;
            }
            .description-ui {
                padding-right: 2rem;
                font-weight: 200;
                font-size: large;
                color: rgb(168, 168, 168);
            }
            .spacing {
                &.small {
                    margin-top: 1rem;
                    margin-bottom: 1rem;
                }
                &.medium {
                    margin-top: 2rem;
                    margin-bottom: 2rem;
                }
                &.large {
                    margin-top: 3rem;
                    margin-bottom: 3rem;
                }
            }
            .code-section {
                border-radius: 5px;
                padding-bottom: 20px;
                padding-left: 20px;
                padding-right: 20px;
                display: flex;
                flex-wrap: wrap;
                color: white;
                background-color: rgba(0, 5, 14, 0.836);
            }
        }
    }
}
.menu-option :focus {
    background: yellow !important;
    color: blue !important;
}

.menu-ui::-webkit-scrollbar {
    width: 5em;
}
pre,
code {
    white-space: pre-line;
}

footer {
    //  min-width: 300px !important;
    text-align: center;
    font-size: 13px;
    font-weight: 300;
    padding: 25px;
    margin-bottom: 20px;
}

#app {
    font-family: "Inter", sans-serif;
    background: $background;
    @include widhHeight(100%, 100%);
}

.tag:hover {
    cursor: default;
    background: rgb(228, 228, 228);
}

.loading-icon::after {
    color: $primary-brand;
}

* {
    scroll-behavior: smooth;
}

#sidebar {
    z-index: 1;
    $height: 41px;
    @include position(fixed, 0, unset, unset, 0px);
    @include widhHeight(240px, calc(100% - 43px));
    margin-top: 65px;
    color: $white;
    background: $black;
    overflow: hidden;
    @include flex(true, false, space-between, unset);
    transition: all 0.4s;
    @include breakpoint(lg) {
        left: -250px;
        position: fixed;
    }
    .sidebar {
        //display: flex;
        letter-spacing: 0.8px;
        &__title {
            @include flex(false, false, unset, center);
            padding-left: 25px;
            height: $height;
            padding-bottom: 3px;
            color: $dark-gray;
            font-size: 13px;
        }
        &__block {
            .children {
                a {
                    padding-left: 40px !important;
                }
                &.laptop a {
                    padding-left: 20px !important;
                }
            }
            .items {
                display: flex;
                flex-direction: column;
                a {
                    position: relative;
                    .toggable {
                        display: none !important;
                        position: absolute;
                        top: 50%;
                        transform: translateY(-50%);
                        @include flex(false, false, center, center);
                        right: -150px;
                        font-weight: 500;
                        font-size: 15px;
                        width: 150px;
                        overflow: hidden;
                        height: $height;
                        color: transparent !important;
                        background-color: #232a32;
                    }

                    @include flex(false, false, unset, center);
                    padding-left: 30px;
                    height: $height;

                    background: rgb(35, 42, 50);
                    transition: background 0.3s;
                    cursor: pointer;
                    text-decoration: none;
                    border-bottom: 1px solid $dark-gray;
                    color: white;
                    img {
                        font-size: 17px;
                        transition: color 0.3s;
                        margin-right: 21px;
                        // filter: invert(55%) sepia(87%) saturate(380%) hue-rotate(35deg) brightness(104%) contrast(95%);
                    }

                    &:hover {
                        .toggable {
                            display: flex !important;
                            color: white !important;
                        }
                        background: $primary-brand;
                        img {
                            filter: brightness(0) invert(1);
                        }
                    }
                    &.router-link-active {
                        background: $primary-brand;
                        img {
                            filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(314deg) brightness(109%)
                                contrast(100%);
                        }
                    }
                }
            }
        }
    }
    @include breakpoint(lg) {
        z-index: 1;
    }
    &:hover {
        overflow: visible;
    }
}

.dont-show-text {
    color: transparent !important;
}
.collapse {
    display: none;
}
.showAvatar {
    display: flex;
    flex-direction: column;
    text-align: center;
    img {
        align-self: center;
        border-radius: 115px;
        width: 60%;
        margin-top: 18px;
        margin-bottom: 18px;
    }
}
// ===== Estilos de Checkbox ======

// Contenedor de radio-checkbox
.radio-item {
    display: flex;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

// Esconde el boton radio del navegador
.radio-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    top: -5px;
}

// Boton de radio personalizado
.check {
    content: url(../icons/checkbox/unchecked.svg);
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
    margin-right: 5px;
}

// Cambia caja por caja con check
.radio-item input:checked ~ .check {
    content: url(../icons/checkbox/checked_default_hover.svg);
    width: 20px;
    height: 20px;
}
.radio-item input:checked:focus ~ .check {
    content: url(../icons/checkbox/checked_focus.svg);
    width: 20px;
    height: 20px;
}
.radio-item input:checked:disabled ~ .check {
    content: url(../icons/checkbox/checked_disabled.svg);
    width: 20px;
    height: 20px;
}

.radio-item input:focus ~ .check {
    content: url(../icons/checkbox/unchecked_focus.svg);
    width: 20px;
    height: 20px;
}

.lapampara{
    width: 60%;
    height: 70%;
}