﻿.navbar {
    background: transparent;
    padding: 50px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: 0.3s ease;
}

.navbar-wrapper {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    height: 61px;
    margin-right: 18px;
    cursor: pointer;
    transition: 0.3s ease;
}

.navbar-search {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.navbar-icon {
    fill: #cacaca;
    background-color: #434343;
    padding: 12px;
    border-radius: 20px;
}

    .navbar-icon.active-icon {
        fill: black;
        background-color: #E6FA4D;
        padding: 12px;
        border-radius: 20px;
    }

.navbar-search span {
    color: #ffffff;
    font-size: 18px;
    font-weight: 100; /* más fino */
}

.navbar-divider {
    width: 1px;
    height: 44px;
    background-color: #ffffff;
}

.navbar-link {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s ease;
}

    .navbar-link.active-text {
        color: #E6FA4D;
    }

.navbar-icons {
    display: flex;
    align-items: center;
    gap: 24px;
    cursor: pointer;
}

    .navbar-icons img {
        fill: #cacaca;
    }

.navbar.scrolled {
    background-color: #111111e9;
    padding: 20px 0;
}

    .navbar.scrolled .navbar-logo {
        height: 42px;
        margin-right: 62px;
    }

#navbar-bottom {
    display: none;
}

.bottom-icons {
    display: flex;
    justify-content: space-between; /* Distribución equitativa */
    align-items: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background: #111;
    padding: 8px 0;
    z-index: 1000;
}

.nav-item {
    flex: 1; /* Cada ítem ocupa el mismo espacio */
    text-align: center;
    color: white;
    font-size: 12px;
}

    .nav-item i {
        font-size: 20px;
        display: block;
        margin-bottom: 4px;
    }

    .nav-item label {
        display: block;
        font-size: 11px;
        line-height: 1;
    }

.nav-item-selected {
    color: #e6fa4d !important;
}

.badge-wrapper {
    position: relative;
}

.badge {
    position: absolute;
    top: -20px;
    right: 16px;
    width: 18px;
    height: 18px;
    background-color: #e6fa4d;
    color: #111111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 0 0 1px #111;
}

    .badge.oculto {
        display: none !important;
    }

@media (max-width: 768px) {
    #navbar {
        display: none;
    }

    #navbar-bottom {
        display: flex;
        position: fixed;
        bottom: 0;
        width: 100%;
        justify-content: space-around;
        background-color: #111;
        height: 48px;
        z-index: 100;
    }
}