body {
    padding-top: 130px;
}

body.no-brand-ticker {
    padding-top: 100px;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    body.no-brand-ticker {
        padding-top: 50px;
    }
}

::selection {
    color: #fff;
    background: var(--color-secundario);
}

#preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.loader-wrapper {
    text-align: center;
    width: 220px;
}

.loader-logo img {
    width: auto;
    max-width: 220px;
    height: 60px !important;
    margin-bottom: 18px;
    animation: floatLogo 1.8s ease-in-out infinite;
}

/* Barra de carga */
.loader-bar {
    width: 100%;
    height: 4px;
    background: #eee;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primario), var(--color-secundario));
    border-radius: 50px;
    animation: loading 1.2s infinite ease-in-out;
}

/* Texto */
.loader-text {
    margin-top: 12px;
    font-size: 13px;
    color: #666;
    letter-spacing: 0.5px;
}

/* Animaciones */
@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(60%);
    }

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

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(-6px);
        opacity: 0.8;
    }
}

#topbar-text {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-secundario);
    margin: 0;
    display: flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
}

#topbar-text.show {
    opacity: 1;
}

.title_line {
    width: 60px;
    height: 4px;
    background: var(--color-secundario);
    margin: 10px auto 0;
    border-radius: 10px;
}

.user_thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user_thumbnail i {
    font-size: 20px;
    color: #64748b;
}

.brand_ticker {
    /* width: 100vw; */
    margin-left: calc(50% - 50vw);
    height: 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;

    background: linear-gradient(90deg,
        var(--color-secundario) 0%,
        color-mix(in srgb, var(--color-secundario), #fff 15%) 15%,
        var(--color-secundario) 50%,
        color-mix(in srgb, var(--color-secundario), #fff 15%) 85%,
        var(--color-secundario) 100%);
}

.brand_ticker::before,
.brand_ticker::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brand_ticker::before {
    left: 0;
    background: linear-gradient(90deg,
        var(--color-secundario),
        transparent);
}

.brand_ticker::after {
    right: 0;
    background: linear-gradient(270deg,
        var(--color-secundario),
        transparent);
}

.brand_ticker_track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    animation: tickerMove 20s linear infinite;
}

.brand_ticker span {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    /* color: var(--color-primario); */
    color : white;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    padding-right: 50px;
}

.brand_ticker span i {
    margin-left: 25px;
    font-size: 7px;
    color: var(--color-primario);
}

@keyframes tickerMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}