:root {
    --app-buttons-color: #1375d8;
    --app-label-off-color: #595959;
    --app-text-body: #757575;
    --app-light-background: #f8fbff;
}
* {
    font-family: Roboto, "Segoe UI", "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
}
input.form-control, select.form-select, textarea.form-control {
    background-color: #ffffff;
    border: 1px solid #1a1a1a;
}
input.form-control:focus, select.form-select:focus, textarea.form-control:focus {
    box-shadow: none;
    outline: none;
    background-color: #ffffff;
    border: 1px solid #1a1a1a;
}
i.fa.soft {
    color: #494949;
}
.bg-red, .app-button.bg-red {
    background-color: #ff4d4f;
}
.text-red {
    color: #d51c24;
}
.app-page-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.app-buttons-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.app-button {
    background-color: var( --app-buttons-color );
    height: 32px;
    border-radius: 16px;
    border: none;
    padding: 0px 12px;
    color: #ffffff;
    cursor: pointer;
}
.app-button:hover {
    background-color: #0365c8
}
.app-button.bg-red:hover {
    background-color: #f5222d;
}
.app-button.secondary {
    padding: 0px 8px;
    border-radius: 12px;
    font-size: 12px;
    background-color: #6c757d;
}
.app-button.secondary:hover {
    background-color: #5c656d;
}
.app-button.watch {
    margin-top: 2px;
    height: 24px;
    padding: 0px 8px;
}
.app-button:disabled {
    opacity: 0.5;
}
a.app-button {
    padding-top: 4px;
}
#dashboard-quick-access-bar {
    gap: 20px;
}
.app-simple-wrapper, .app-thin-wrapper {
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    display: flex;
    background-color: #ffffff;
    margin-top: 5px;
    margin-bottom: 5px;
}
.app-simple-wrapper {
    padding: 20px;
}
.app-thin-wrapper {
    padding: 4px 20px;
}
.app-section {
    margin: 10px 0px;
}
.card {
    background-color: #ffffff;
}
.client-search-box {
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    display: inline-block;
    background-color: #ffffff;
    color: #222222;
    padding-left: 5px;
    padding-right: 5px;
}
.client-search-box input {
    padding-left: 5px;
    outline: none;
    border: none;
}

.search-box.big {
    border-radius: 32px;
    border: 1px solid #1a1a1a;
    display: flex;
    height: 64px;
    padding: 0px 20px;
    align-items: center;
    background-color: #ffffff;
    gap: 5px;
    margin-bottom: 20px;
}
.search-box.big input {
    height: 32px;
    border: none;
    outline: none;
    flex-grow: 1;
}
.search-box.big .blue-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var( --app-buttons-color );
}

.btn-round {
    border-radius: 16px;
    color: #e1e1e1;
}

.hid-toggle {
    height: 18px;
    width: 30px;
    border-radius: 9px;
    display: flex;
    padding: 3px;
    background-color: var( --app-buttons-color );
    cursor: pointer;
}
.hid-toggle.off {
    padding-left: 15px;
    background-color: #e1e1e1;
}
.hid-toggle .dot {
    height: 12px;
    width: 12px;
    border-radius: 6px;
    background-color: #ffffff;
}

.toggles-line {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.app-labels {
    display:flex;
    gap: 5px;
    flex-wrap: wrap;
}
.app-label {
    background-color: var( --app-buttons-color );
    font-size: 13px;
    color: #ffffff;
    padding: 0px 8px;
    border-radius: 16px;
}
.app-label.not-clickable {
    background-color: var( --app-label-off-color );
}
.app-table-container {
    margin-bottom: 10px;
    background-color: #ffffff;
    padding: 20px 20px;
    border: 1px solid var( --app-text-body );
    border-radius: 16px;
}
.app-table-container.light {
    padding: 8px;
    border-radius: 8px;
}
.app-table-container.light .app-table tr th {
    font-size: 14px;
}
.app-table-container .app-table tr td:first-child, .app-table-container .app-table tr th:first-child {
    padding-left: 10px;
}
.app-table-container .app-table tbody tr:first-child {
    border-top-left-radius: 16px;
}
.app-table-container .app-table tbody tr td:last-child {
    text-align: right;
}
.app-table {
    font-size: 0.9rem;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #212529
}
.app-table tr th {
    font-size: 18px;
    font-weight: normal;
    position: relative;
}
.app-table tr {
    border-bottom: 1px solid var( --app-text-body );
}
.app-table tbody tr:hover {
    background-color: #edf1f8;
}
.app-table tr:last-child, .app-table-container.light .app-table tr:last-child {
    border-bottom: none;
}
.app-table td {
    padding: 10px 10px 10px 4px;
}
.app-table.sort-buttons td {
    padding-right: 40px;
}
.app-table.sort-buttons td:last-child {
    padding-right: 10px;
}
.app-table .sort-icon {
    width: 16px;
    border-radius: 4px;
    position: absolute;
    top: 4px;
    left: -10px;
}
.app-labels-filters {
    display: flex;
    gap: 10px;
}
.app-labels-select {
    background-color: #ffffff;
    border: 1px solid #595959;
    padding: 2px 8px;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    min-width: 140px;
    box-sizing: border-box;
    padding-right: 24px;
}
.app-labels-select:hover {
    border-bottom: none;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.app-labels-select .arrow-down {
    position: absolute;
    top: 10%;
    right: 8px;
}
.app-labels-options {
    display: none;
    position: absolute;
    border: 1px solid #595959;
    left: -1px;
    top: 100%;
    width: calc(100% + 2px);
    background-color: #ffffff;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
    border-top: none;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    z-index: 10;
}
.app-labels-select:hover .app-labels-options {
    display: block;
}
.app-labels-option {
    padding: 2px 8px;
}
.app-labels-option:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.app-labels-option:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.app-labels-option:hover {
    background-color: #edf1f8;
}
.search-general-filters {
    display: flex;
    gap: 10px;
    align-items: center;
}
.category-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.category-card {
    border: 1px solid var( --app-text-body );
    border-radius: 4px;
    width: 160px;
}
.category-card:hover {
    transform: translate(0px, -4px);
}
.category-card .image-frame {
    height: 136px;
    width: 158px;
    background-size: 105%;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-position: center;
}
.category-card .name {
    display: flex;
    font-size: 11px;
    gap: 5px;
    justify-content: flex-start;
    padding: 8px;
    align-items: center;
}
.category-card .name img {
    height: 16px;
    width: 16px;
}
.app-white-box {
    border: 1px solid #595959;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1a1a1a;
}
/*
 *   Historical graph
 */
#resetZoomButton {
    background-color: var( --app-buttons-color );
    height: 32px;
    border-radius: 16px;
    border: none;
    padding: 0px 12px;
    color: #ffffff;
}
/*
 *   Historical table
 */
#historical-table {
    color: #1a1a1a;
}
.dataTables_wrapper div {
    float: none!important;
}
#table_wrapper input {
    border: 1px solid #1a1a1a;
    background-color: #ffffff;
    border-radius: 8px;
}
#table_wrapper .paginate_button.current {
    border: 1px solid #1a1a1a;
    background-color: #ffffff;
    border-radius: 8px;
}
#table_wrapper .paginate_button {
    display: inline-block;
    background: #ffffff;
    border-radius: 8px;
}
.dataTables_wrapper .dataTables_paginate a.paginate_button:hover {
    background: #ffffff;
    border: 1px solid #595959;
    color: #1a1a1a !important;
}
.dataTables_wrapper .dataTables_filter input {
    padding-right: 25px !important;
    outline: none !important;

}
.dataTables_wrapper .dataTables_filter i {
    top: 10px;
    right: 10px;
}
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #1a1a1a !important;
    background-color: #ffffff !important;
    border-radius: 8px !important;
    padding: 8px !important;
}
.app-main-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    position: relative;
    height: 100%;
}
.app-main-actions .visible-actions {
    display: flex;
    visibility: hidden;
    gap: 5px;
}
.app-main-actions .visible-actions.always {
    visibility: visible;
}

tr:hover .app-main-actions .visible-actions {
    visibility: visible;
}
.app-main-actions .hidden-actions {
    display: none;
    position: absolute;
    right: 40px;
    border-radius: 4px;
    background-color: #ffffff;
    box-shadow: 2px 2px 3px 3px #b1b1b1;
    width: 240px;
    padding: 8px 0px;
    z-index: 10;
}
.app-main-actions .hidden-actions.unfolded {
    display: block;
}
.app-main-actions .hidden-actions.below {
    top: 10%;
}
.app-main-actions .hidden-actions.above {
    bottom: 10%;
}
.app-main-action {
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 16px;
    width: fit-content;
}
.app-main-action a {
    display: flex;
}
.app-main-action .flex-center {
    flex-wrap: nowrap;
    gap: 3px;
}
.app-hidden-action {
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    padding: 8px 16px;
}
.app-hidden-action form {
    margin: 0;
}
.app-hidden-action button {
    display: flex;
    border: none;
    background-color: transparent;
}
.app-main-action.unauthorized, .app-hidden-action.unauthorized {
    opacity: 0.3;
    cursor: default;
}
.app-main-action:not(.unauthorized):hover, .app-hidden-action:not(.unauthorized):hover {
    background-color: #e1e1e1;
}
.app-main-action img, img.icon {
    width: 16px;
    height: 16px;
}
.app-three-dots {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
}
tr:hover .app-main-actions .app-three-dots.hidden {
    visibility: hidden;
}
.app-three-dots:hover {
    background-color: #e1e1e1;

}
.app-three-dots .dot {
    border-radius: 50%;
    height: 4px;
    width: 4px;
    background-color: #595959;
}
.app-form {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#advanced-options-toggle {
    cursor: pointer;
}
#advanced-options-toggle:hover {
    text-decoration: underline;
}
.app-inputs-line {
    display: flex;
    gap: 15px;
    align-items: center;
}
.app-input-group {
    display: flex;
    border: 1px solid #1a1a1a;
    background-color: #ffffff;
    border-radius: 8px;
}
.app-input-group input {
    margin: 0px 6px 0px 4px;
}
.app-input-group input:focus {
    outline: none;
    box-shadow: none;
}
.app-input-group input[type=number] {
    margin: 8px;
}
.app-input-group span {
    border: none;
    border-right: 1px solid #1a1a1a;
    border-radius: 0px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    padding: 8px 10px;
}
.app-input-group input, .app-input-group select {
    background-color: #ffffff;
    border: none;
    border-radius: 0px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    padding-left: 5px;
    font-size: 0.9rem;
    font-weight: 300;
}

/*
 * Landing home
 */

.landing-home a {
    color: black;
}
.landing-home main {
    flex-direction: column;
}
.landing-home main > div {
    padding: 0px 20px;
}
.landing-home .centered {
    min-width: 70vw;
    max-width: 1200px;
}

.landing-home header {
    border-bottom: 1px solid #afafaf;
    padding: 20px;
}
.landing-home header img {
    height: 40px;
}
.landing-home header a {
    text-decoration: none;
    color: black;
    font-weight: 300;
}
.landing-home header a:hover {
    text-decoration: underline;
}
.landing-home .menu a:not(.app-button) {
    font-weight: bold;
    color: var( --app-text-body )
}
.landing-home .menu .app-button {
    color: #ffffff;
}
.landing-home .menu a:hover {
    text-decoration: none;
}

.landing-home .post-header > div {
    max-width: 460px;
}
.landing-home .post-header .main-title {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.landing-home .post-header .main-title h2 {
    line-height: 36px;
}
.landing-home .post-header .image-container {
    padding: 30px;
    padding-top: 50px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    background-color: #f8fbff;
}
.landing-home .post-header img {
    max-width: 350px;
}
.landing-home .logo-hid {
    width: 200px;
}
.landing-home .brands {
    width: 100%;
    gap: 30px;
    margin-top: 60px;
    padding: 70px 0px;
    background-color: #f8fbff;
}
.landing-home .brands img {
    height: 80px;
}
.landing-home .pre-footer {
    background-color: #1890ff;
    color: #ffffff;
    width: 100%;
    padding: 50px;
}
.landing-home .pre-footer button {
    background-color: #ffd600;
    padding: 12px 24px;
    color: #1a1a1a;
    box-shadow: 0px 0px 8px 4px #909090;
    font-size: 16px;
    border: none;
    border-radius: 8px;
}
.landing-home .pre-footer button:hover {
    box-shadow: 0px 0px 8px 4px #888888;
}

.landing-home .pre-footer .text-box {
    max-width: 500px;
}
.landing-home .pre-footer img {
    max-width: 600px;
}
.landing-home footer {
    display: flex;
    padding: 40px;
}
.landing-home footer > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.landing-home footer .logos, .landing-home footer .links {
    display: flex;
    flex-direction: column;
}
.landing-home footer .logos, .landing-home footer .links a {
    text-decoration: none;
}
.landing-home footer .links a:hover {
    text-decoration: underline;
}
.landing-home footer .logos .logo-hid { width: 160px; }
.landing-home footer .logos .logo-gm { width: 80px; }
.landing-home footer .social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.landing-home footer .social a {
    text-decoration: none;
}
.landing-home footer .links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.landing-home footer .social i {
    color: black;
}
.dashboard-page h1 {
    font-size: 1.8rem;
    letter-spacing: -1px;
}
.removable-things {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.removable-thing {
    background-color: var( --app-label-off-color );
    padding: 4px 6px;
    border-radius: 4px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
}
.removable-thing .remove {
    width: 20px;
    height: 20px;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 10px;
}
.navbar-brand img {
    height: 40px;
}
.sidebar-text.current {
    font-weight: 400;
}
.app-title h4 {
    font-weight: 400;
}
.by-gestor {
    margin-top: 5px;
    display: flex;
    gap: 5px;
    align-items: center;
    color: #888;
    font-size: 13px;
}
.by-gestor img {
    width: 100px;
}
