* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    overflow: hidden;
}

[type="date"] {
    text-transform: uppercase;
}

[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    filter: invert(0.5);
}

ul, li, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

input {
    font-family: 'Heebo', sans-serif;
    background: transparent;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;
}

select,
button {
    font-family: 'Heebo', sans-serif;
    scrollbar-width: thin;
}

/* CLASS */
.text-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 20px;
    color: var(--text-smooth);
    text-align: center;
    font-size: 1.2rem;
}

.toastnotify .vh {
    font-family: 'Heebo', sans-serif !important;
    border-radius: 3rem;
}
.toastnotify .bAq {
    display: flex;
    align-items: center;
    margin: 5px 0;
    margin-right: 24px;
}

.toastnotify-icon {
    border-right: 1px solid rgba(255, 255, 255, .8);
    margin-right: 10px;
    font-size: 1rem;
    padding: 0px 10px;
    cursor: default;
}

.btn-ripple {
    position: relative;
    overflow: hidden;
}
.btn-ripple .ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(var(--border-color));
    pointer-events: none;
    border-radius: 50%;
    animation: ripple 700ms linear infinite;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }
    100% {
        width: 700px;
        height: 700px;
        opacity: 0;
    }
}

:disabled {
    opacity: 0.5;
    background: transparent;
}

.noselect {
    -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; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
.noscroll {
    overflow-y: hidden !important;
    margin-right: 8px !important;
}

/* --------- SCROLLBAR --------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--border-color));
    border-radius: 3rem;
}

::-webkit-scrollbar-thumb:hover {
    background: opacity(0.8);
}

/* --------- Geral --------- */
.background-pre-load {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(var(--main-color));
    z-index: 1000;
}
.background-pre-load.active {
    display: flex;
}
.background-pre-load img {
    height: 100px;
    width: 100px;
    margin-bottom: 10px;
}

/* ---------- Animations ---------- */

.bounce {
    display: inline-block;
    height: .7rem;
    width: .7rem;
    background: #358fe3;
    border-radius: 50%;
    animation: bounce 1s infinite ease-in-out both;
}

.bounce--text {
    height: 0.2rem;
    width: 0.2rem;
    background: var(--light-text);
}

.bounce-1 {
    animation-delay: -0.30s;
}
.bounce-2 {
    animation-delay: -0.15s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    } 40% {
        transform: scale(1);
    }
}

.sloading {
    position: relative;
    background: var(--sloading) !important;
    color: transparent !important;
    overflow: hidden;
    display: inline-block;
    border-radius: 2px;
    cursor: default;
}
.sloading::after {
    content: '';
    position: absolute;
    top: 0;
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--main-color), .8), transparent);
    transform: translateX(-100%);
    animation: loading 1.5s infinite;
}

.sloading.circle {
    border-radius: 50%;
}


.sloading--success {
    height: 5px;
    border-radius: 3rem;
}

.sloading--success::after {
    background: rgba(var(--green-color));
    animation: loading 2s infinite;
}

@keyframes loading {

    100% {
        transform: translateX(100%);
    }
}

.icon-drop-water {
    position: relative;
}

.icon-drop-water::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 20px;
    right: 20px;
    background: rgba(var(--blue-marine-color), 1);
    height: 10px;
    width: 10px;
    border-radius: 50%;
    pointer-events: none;
}

.icon-drop-water::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 25px;
    right: 20px;
    background: rgba(var(--blue-marine-color), 1);
    height: 10px;
    width: 10px;
    border-radius: 50%;
    animation-name: drop-water;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    pointer-events: none;
}

@keyframes drop-water {

    from {
        transform: translateY(-50%) scale(0);
        opacity: 1;
    }

    to {
        transform: translateY(-50%) scale(4);
        opacity: 0;
    }
}

/* ---------- CHECKBOX ---------- */

.checkbox {
    max-width: 15px;
    margin-bottom: 3px;
    cursor: pointer;
}

.checkbox-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.25em;
    width: 1.25em;
    border: 1px solid rgba(var(--border-color));
    border-radius: 1rem;
    margin-right: 10px;
    flex-shrink: 0;
    transition: .15s;
}
.checkbox-box::after {
    content: '\2714';
    color: #fff;
    transform: scale(0);
    transition: transform .15s;
}
.checkbox-input {
    display: none;
}
.checkbox-input:checked + .checkbox-box {
    background: rgba(var(--accent-color), 1);
    border-color: rgba(var(--accent-color), 1);
}

.checkbox-input:checked + .checkbox-box::after {
    transform: scale(.7);
}

.checkbox-switch {
    position: relative;
    height: 14px;
    width: 36px;
    -webkit-appearance: none;
    background: #94a3b8;
    outline: none;
    border-radius: 2rem;
    border: var(--border);
    transition: .3s;
    cursor: pointer;
}
.checkbox-switch:hover {
    opacity: .8;
}
.checkbox-switch:checked {
    background: rgba(var(--accent-color), .5);
    border-color: transparent;
}
.checkbox-switch.green-switch:checked {
    background: rgba(var(--green-color), .5);
}
.checkbox-switch::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -1px;
    height: 20px;
    width: 20px;
    border-radius: 3rem;
    background: #fff;
    box-shadow: 0 2px 1px -1px #0003, 0 1px 1px #00000024, 0 1px 3px #0000001f;
    transform: scale(1);
    transition: .3s;
}
.checkbox-switch:hover::before {
    transform: scale(.9);
}
.checkbox-switch:checked::before {
    left: 14px;
    background: rgba(var(--accent-color), 1);
}
.checkbox-switch.green-switch:checked::before {
    background: rgba(var(--green-color), 1);
}

.checkbox-radio {
    position: relative;
    height: 15px;
    width: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    background: rgba(var(--secundary-color), 1);
    outline: none;
    border-radius: 3rem;
    border: var(--border);
    transition: .1s;
    cursor: pointer;
}
.checkbox-radio:checked {
    background: rgba(var(--accent-color), 1);
    border-color: transparent;
}
.checkbox-radio::before {
    content: '';
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 3rem;
    background: transparent;
    transform: scale(.6);
    transition: .1s;
}
.checkbox-radio:hover::before {
    transform: scale(.7);
}
.checkbox-radio:checked::before {
    background: rgba(var(--main-color), 1);
}

/* ---------- GERAL ---------- */
.app-version {
    font-size: .7rem;
    font-weight: 500;
    opacity: .5;
    transition: .4s;
    color: var(--icon-color);
}

.card-template {
    border-radius: 1rem;
    background: rgba(var(--main-color));
    box-shadow: var(--box-shadow);
    padding: 20px;
    min-width: 250px;
    overflow: hidden;
    margin: 0.5rem;
}

.money {
    color: rgb(228, 151, 9);
}

.text-alert {
    padding: 10px 20px;
    background: var(--background-alert);
    border-radius: 5px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.sync-color {
    cursor: default !important;
    box-shadow: inset -2px -2px 5px rgba(245, 245, 245, 1), inset 3px 3px 5px rgba(0, 0, 0, 0.1);
}

.sync-color i {
    color: #6a9bd8 !important;
    transform: scale(0.97);
}

.sync-link {
    color: rgba(var(--accent-color), 1);
}

.accent-color {
    color: rgba(var(--accent-color), 1);
}

.toast-link {
    text-transform: uppercase;
    font-weight: bold;
    color: rgba(var(--accent-color), 1);
    margin-left: 5px;
    cursor: pointer;
    font-family: 'Heebo', sans-serif;
}

.btn {
    padding: 10px 20px;
    margin: 0;
    border: none;
    border-radius: .3rem;
    font-size: 0.9rem;
    transition: .2s ease-in-out;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
}

.btn-primary {
    background-size: 200%;
    background: rgba(var(--accent-color), 1);
    color: #fff;
}

.btn-primary:hover {
    background-position: right;
}

.btn-secundary {
    background: transparent;
    color: var(--secundary-title-text);
    border: var(--border);
}

.btn-delete:hover {
    background: rgb(var(--red-color));
    color: #fff;
    border-color: transparent;
}

.category-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(167, 95, 173);
    color: #fff;
    font-size: 1em;
    border-radius: 50%;
    height: 2.5em;
    width: 2.5em;
    z-index: 0;
    text-transform: uppercase;
    cursor: pointer;
}
.category-circle .category-icon {
    font-size: 1.2em;
    text-shadow: 0 1px 3px rgb(0 0 0 / 10%);
}

.empty-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: pre-wrap;
    height: 100%;
    padding: 40px;
    font-size: 1rem;
}
.empty-message i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    height: 100px;
    width: 100px;
    margin-bottom: 20px;
    background: rgba(var(--accent-color), 1);
    color: rgba(var(--main-color));
    border-radius: 50%;
}

.empty-message svg {
    height: 200px;
    width: 100%;
}

.empty-message h3 {
    font-size: 1.2em;
    text-align: center;
    color: var(--primary-title-text);
    font-weight: 500;
}
.empty-message span {
    font-size: 1em;
    color: var(--text-smooth);
    text-align: center;
}

.error-message {
    color: rgb(var(--red-color));
}
.sucess-message {
    color: rgb(var(--green-color));
}

/* LANDING PAGE */

.text--marked {
    color: rgb(var(--accent-color)) !important;
    font-weight: bold;
}

.jump--animation {
    position: absolute;
    top: 0;
    animation: jump .5s cubic-bezier(0.215, 0.610, 0.355, 1) infinite alternate;
}

.c-btn {
    display: flex;
    align-items: center;
    width: max-content;
    font-size: 0.9em;
    padding: 5px 20px;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    transition: filter .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
.c-btn:hover {
    filter: brightness(1.1);
}


.c-btn--primary {
    background: linear-gradient(45deg, rgb(var(--accent-color)), rgb(68, 184, 238));
    color: #fff;
    font-weight: bold;
}

.c-btn--success {
    background-color: rgb(var(--green-color));
    color: white;
}

.c-btn--success:hover {
    background-color: rgb(var(--green-color), .7);
}

.c-btn__icon {
    margin-left: 10px;
    font-size: .6em;
}

.link--outline {
    border-bottom: 1px solid;
}