:root {
    --chapp-brand: #696cff;
    --chapp-ink: #566a7f;
    --chapp-muted: #8592a3;
    --chapp-border: #eceef1;
}

body {
    font-family: "Public Sans", "Segoe UI", Arial, sans-serif;
}

.hidden {
    display: none !important;
}

.color-red,
.text-red {
    color: #ff3e1d !important;
}

.color-red-dark {
    color: #d32f2f !important;
}

.color-green {
    color: #71dd37 !important;
}

.color-yellow {
    color: #ffab00 !important;
}

.color-white {
    color: #fff !important;
}

.color-gray {
    color: #8592a3 !important;
}

@font-face {
    font-family: "feathericon";
    src: url("../fonts/feather/feather-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

.fe {
    display: inline-block;
    font: normal normal normal 1em feathericon;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fe-activity::before { content: "\f1e2"; }
.fe-arrow-left::before { content: "\f101"; }
.fe-arrow-right::before { content: "\f102"; }
.fe-calendar::before { content: "\f10f"; }
.fe-camera::before { content: "\f110"; }
.fe-check::before { content: "\f111"; }
.fe-clock::before { content: "\f113"; }
.fe-close::before { content: "\f114"; }
.fe-coffee::before { content: "\f166"; }
.fe-credit-card::before { content: "\f1e9"; }
.fe-cutlery::before { content: "\f19d"; }
.fe-edit::before { content: "\f17f"; }
.fe-eye::before { content: "\f127"; }
.fe-home::before { content: "\f12f"; }
.fe-info::before { content: "\f130"; }
.fe-location::before { content: "\f138"; }
.fe-lock::before { content: "\f139"; }
.fe-loop::before { content: "\f192"; }
.fe-mail::before { content: "\f13c"; }
.fe-minus::before { content: "\f140"; }
.fe-pause::before { content: "\f187"; }
.fe-play::before { content: "\f188"; }
.fe-plus::before { content: "\f148"; }
.fe-search::before { content: "\f14e"; }
.fe-stop::before { content: "\f18b"; }
.fe-subtract::before { content: "\f1ca"; }
.fe-trash::before { content: "\f157"; }
.fe-warning::before { content: "\f15f"; }

.app-brand-logo img {
    display: block;
    width: auto;
    max-width: 142px;
    max-height: 38px;
    object-fit: contain;
}

.app-brand-text {
    color: var(--chapp-ink);
    letter-spacing: .01em;
}

.menu-inner > .menu-header {
    margin-top: .75rem;
}

.menu-inner > .menu-item > .menu-link {
    min-height: 42px;
}

.menu-inner > .menu-item.active > .menu-link {
    font-weight: 600;
}

.navbar-page-title {
    color: var(--chapp-ink);
    font-size: 1.05rem;
    font-weight: 600;
}

.layout-navbar .navbar-nav > .nav-item > .nav-link {
    min-width: 40px;
}

.navbar-dropdown .avatar img,
.dropdown-user .avatar img {
    object-fit: cover;
}

.object-fit-cover {
    object-fit: cover;
}

.badge-notification {
    position: absolute;
    top: 0;
    right: -2px;
    min-width: 1.2rem;
    padding: .2rem .35rem;
    font-size: .65rem;
}

.notification-menu {
    width: min(390px, calc(100vw - 24px));
    max-height: min(440px, calc(100vh - 100px));
    padding: 0;
    overflow: hidden;
}

.notification-menu .dropdown-header {
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--chapp-border);
    color: var(--chapp-ink);
    font-weight: 600;
}

.notification-list {
    max-height: 330px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--chapp-border);
}

.notification-item .badge {
    flex-shrink: 0;
    margin-top: .15rem;
}

.notification-link {
    flex: 1;
    min-width: 0;
    color: var(--chapp-ink);
    font-size: .875rem;
    overflow-wrap: anywhere;
}

.notification-item .btn {
    flex-shrink: 0;
    padding: 0 .25rem;
}

.content-wrapper {
    min-height: calc(100vh - 4.5rem);
}

.content-footer {
    border-top: 1px solid var(--chapp-border);
}

.form-group {
    margin-bottom: 1rem;
}

.big-font {
    font-size: 1.5rem !important;
}

.valid {
    position: relative;
}

.valid i.fe.fe-check,
.valid i.fe.fe-close {
    position: absolute;
    top: 30px;
    right: 8px;
    font-size: 2.5em;
}

.valid i.fe.fe-check { color: #71dd37; }
.valid i.fe.fe-close { color: #ff3e1d; }

.padding-cero {
    padding: 0 !important;
    text-align: center;
}

.alert-custom-info-login {
    background: #fff;
    border: 0;
    border-radius: .5rem;
    box-shadow: 0 .25rem 1rem rgba(67, 89, 113, .16);
    font-size: 1.15rem;
}

.fieldset {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--chapp-ink);
    border: 1px solid var(--chapp-border);
    border-radius: .5rem;
}

.legend {
    float: none;
    width: auto !important;
    padding: 0 .5rem;
    font-size: 1rem;
    font-weight: 600;
}

.center { text-align: center; }

.borderTiempo {
    border: 2px solid var(--chapp-border) !important;
    text-align: center !important;
}

.negrita {
    padding-left: 10% !important;
    border: none !important;
    font-weight: 700;
}

.simbols {
    text-align: center;
    font-weight: 700;
    transform: scale(1.8);
}

.sweet-warning {
    background-color: #ff3e1d !important;
    font-size: 1rem;
}

.sweet-no-warning {
    background-color: #71dd37 !important;
    font-size: 1rem;
}

.form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: .5rem;
}

.control-label {
    display: inline-block;
    margin-bottom: .5rem;
    color: var(--chapp-ink);
    font-weight: 500;
}

.form-control,
.form-select,
.custom-select {
    min-height: calc(1.5em + .9rem + 2px);
}

.custom-select {
    display: block;
    width: 100%;
    padding: .45rem 2.25rem .45rem .875rem;
    color: var(--chapp-ink);
    background-color: #fff;
    border: 1px solid #d9dee3;
    border-radius: .375rem;
}

.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}

.custom-control-label::before {
    position: absolute;
    top: .125rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: 1px solid #b4bdc6;
    border-radius: .25rem;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--chapp-brand);
    background-color: var(--chapp-brand);
}

.custom-control-input:checked ~ .custom-control-label::after {
    position: absolute;
    top: .125rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50% / 65% 65%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='m6.564.75-3.59 3.612L1.44 2.83.38 3.89l2.594 2.594L7.624 1.81z'/%3e%3c/svg%3e");
}

.custom-radio .custom-control-label::before {
    border-radius: 50%;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    top: .375rem;
    left: -1.25rem;
    width: .5rem;
    height: .5rem;
    background: #fff;
    background-image: none;
    border-radius: 50%;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--chapp-brand);
    background: var(--chapp-brand);
}

.custom-controls-stacked .custom-control {
    margin-bottom: .5rem;
}

.chiller_cb {
    position: relative;
    display: flex;
    min-height: 2rem;
    align-items: center;
}

.chiller_cb input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.chiller_cb label {
    position: relative;
    z-index: 2;
    margin: 0;
    padding-left: 2rem;
    cursor: pointer;
}

.chiller_cb > span {
    position: absolute;
    left: 0;
    z-index: 1;
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    box-sizing: content-box;
    border: 2px solid #b4bdc6;
    border-radius: .25rem;
    transition: background-color .15s ease, border-color .15s ease;
}

.chiller_cb > span::before,
.chiller_cb > span::after {
    position: absolute;
    display: inline-block;
    width: 0;
    height: .15rem;
    content: "";
    background: #fff;
    transform-origin: 0 0;
}

.chiller_cb > span::before {
    top: 1rem;
    left: .37rem;
    transform: rotate(-55deg);
}

.chiller_cb > span::after {
    bottom: .35rem;
    left: .2rem;
    transform: rotate(35deg);
}

.chiller_cb input:checked ~ span {
    background: var(--chapp-brand);
    border-color: var(--chapp-brand);
}

.chiller_cb input:checked ~ span::before {
    width: 1rem;
    transition: width .1s .3s;
}

.chiller_cb input:checked ~ span::after {
    width: .4rem;
    transition: width .1s .2s;
}

.chiller_cb input:focus-visible ~ span {
    outline: 2px solid var(--chapp-brand);
    outline-offset: 3px;
}

.input-validation-error,
.form-control.input-validation-error,
.form-select.input-validation-error {
    border-color: #ff3e1d;
}

.text-validation,
.field-validation-error,
.validation-summary-errors {
    color: #ff3e1d;
}

.text-default,
.text-mute {
    color: var(--chapp-ink);
}

.my-md-5 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

.ml-auto,
.ml-1,
.ml-2,
.ml-3,
.ml-4,
.ml-5 {
    margin-left: var(--chapp-spacing, 0) !important;
}

.ml-1 { --chapp-spacing: .25rem; }
.ml-2 { --chapp-spacing: .5rem; }
.ml-3 { --chapp-spacing: 1rem; }
.ml-4 { --chapp-spacing: 1.5rem; }
.ml-5 { --chapp-spacing: 3rem; }
.ml-auto { --chapp-spacing: auto; }

.mr-auto,
.mr-1,
.mr-2,
.mr-3,
.mr-4,
.mr-5 {
    margin-right: var(--chapp-spacing, 0) !important;
}

.mr-1 { --chapp-spacing: .25rem; }
.mr-2 { --chapp-spacing: .5rem; }
.mr-3 { --chapp-spacing: 1rem; }
.mr-4 { --chapp-spacing: 1.5rem; }
.mr-5 { --chapp-spacing: 3rem; }
.mr-auto { --chapp-spacing: auto; }

.pl-1 { padding-left: .25rem !important; }
.pl-2 { padding-left: .5rem !important; }
.pl-3 { padding-left: 1rem !important; }
.pl-4 { padding-left: 1.5rem !important; }
.pl-5 { padding-left: 3rem !important; }
.pr-1 { padding-right: .25rem !important; }
.pr-2 { padding-right: .5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.pr-4 { padding-right: 1.5rem !important; }
.pr-5 { padding-right: 3rem !important; }

.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.float-left { float: left !important; }
.float-right { float: right !important; }
.font-weight-bold { font-weight: 700 !important; }
.font-weight-normal { font-weight: 400 !important; }
.btn-block { display: block; width: 100%; }

.close {
    padding: .5rem;
    color: inherit;
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    line-height: 1;
    opacity: .6;
}

.close::before { content: "\00d7"; }

.card-aside {
    display: flex;
    flex-direction: row;
}

.avatar-index {
    width: 5rem;
    height: 5rem;
    margin: 1.25rem 0 0 1.25rem;
    object-fit: cover;
    border-radius: .5rem;
}

.contador {
    display: inline-block;
    color: var(--chapp-brand);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: .04em;
}

.btn-home {
    min-width: 3rem;
    min-height: 3rem;
    border-width: 1px !important;
    border-radius: .75rem;
    font-size: 1.1rem;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-page-content {
    width: 100%;
}

.auth-login-card {
    box-shadow: 0 .25rem 1.25rem rgba(67, 89, 113, .12);
}

.auth-brand-image {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 70px;
    object-fit: contain;
}

.auth-illustration {
    display: block;
    width: min(100%, 560px);
    max-height: 470px;
    object-fit: contain;
}

.denied-icon {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 4rem;
}

#loadingSpinner,
#loading {
    backdrop-filter: blur(2px);
}

#loadingSpinner {
    background: rgba(255, 255, 255, .82) !important;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .82);
}

.foto-user {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.table-responsive {
    border-radius: .375rem;
}

.theme-dark {
    color-scheme: dark;
    background: #232333;
    color: #cfcfe2;
}

.theme-dark .layout-menu,
.theme-dark .bg-menu-theme,
.theme-dark .layout-navbar,
.theme-dark .bg-navbar-theme,
.theme-dark .card,
.theme-dark .dropdown-menu,
.theme-dark .content-footer,
.theme-dark .modal-content {
    color: #cfcfe2;
    background-color: #2b2c40;
    border-color: #444564;
}

.theme-dark .menu-inner .menu-header-text,
.theme-dark .navbar-page-title,
.theme-dark .text-muted,
.theme-dark .form-label,
.theme-dark label {
    color: #a3a4cc !important;
}

.theme-dark .form-control,
.theme-dark .form-select,
.theme-dark .custom-select {
    color: #cfcfe2;
    background-color: #2b2c40;
    border-color: #444564;
}

.theme-dark .table {
    --bs-table-color: #cfcfe2;
    --bs-table-bg: #2b2c40;
    --bs-table-border-color: #444564;
}

.theme-dark .dropdown-item {
    color: #cfcfe2;
}

.theme-dark .dropdown-item:hover,
.theme-dark .dropdown-item:focus {
    color: #fff;
    background-color: #383952;
}

.theme-contrast {
    color: #111;
    background: #fff;
}

.theme-contrast .card,
.theme-contrast .layout-navbar,
.theme-contrast .layout-menu,
.theme-contrast .content-footer {
    border: 2px solid #111;
}

@media (max-width: 767.98px) {
    .content-footer > .container-xxl {
        gap: .75rem;
    }

    .content-footer .container-xxl > div {
        width: 100%;
        text-align: center;
    }

    .card-aside {
        flex-direction: column;
    }

    .avatar-index {
        margin: 1rem auto 0;
    }
}
