/* TOP NAVBAR */
#navbar-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1001;
    gap: var(--spacing-navigation-header-bar-gap, 8px);

    /*padding: var(--spacing-page-top, 64px) var(--spacing-page-horizontal, 16px) var(--spacing-page-horizontal, 16px) var(--spacing-page-horizontal, 16px);*/
    padding: var(--spacing-page-horizontal, 16px);

    max-width: 445px;
    margin: 0 auto;
}

#navbar-top > div {
    padding: 0 var(--spacing-navigation-padding, 12px);
    border-radius: var(--radius-header-bar, 16px);

    /* Navigation-Blur */
    backdrop-filter: blur(10px);
    height: 64px;
    display: flex;
    align-items: center;

    color: var(--text-body, #030F13);
    
    background: var(--surface-header-bar-glass, rgba(255, 255, 255, 0.10));
}

#navbar-top.on-dark > div {
    background: var(--surface-header-bar-glass, rgba(3, 15, 19, 0.15));
    color: var(--text-on-dark, #FFF);
}

#yacht-info {
    flex: 1;
    justify-content: space-between;
}

#navbar-top .nav-btn.active {
    background: var(--surface-accent, #02778E);
    color: var(--text-body, #fffff);
}
#navbar-top .icon {
    width: 20px;
    height: 20px;
}


/* BOTTOM NAVIGATION */
#navbar-bottom {
    position: fixed;
    bottom: 16px;
    left: 0;
    right: 0;
    height: 64px;

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(0);
    transition: all 0.5s;
}

#navbar-bottom.hidden {
    bottom: 0;
    transform: translateY(100%);
}
#bottom-menu {
    display: inline-flex;
    height: 64px;
    padding: 8px var(--spacing-navigation-padding, 12px);
    align-items: center;
    gap: var(--spacing-navigation-bottom-bar-icongap, 8px);

    border-radius: var(--radius-bottom-bar, 9999px);
    background: var(--surface-bottom-bar, rgba(3, 15, 19, 0.05));
    /* Navigation-Blur */
    backdrop-filter: blur(10px);
}
#navbar-bottom a {
    color: var(--text-body, #030F13);
    text-align: center;
    text-decoration: none;
    transition: color 0.4s, filter 0.4s;
    position: relative;
    padding: 10px;
}
#navbar-bottom a > svg {
    width: 24px;
    height: 24px;
}

#navbar-bottom a.active:after {
    content: "";
    width: 6px;
    height: 6px;
    position: absolute;
    bottom: -1px;
    left: 50%;
    margin-left: -3px;
    background: var(--button-primary-bg-active, #02778e);
    border-radius: 50%;
}

.aiBtn {
    margin: 0 auto;
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 20px;
    padding: 0;
}

#navbar-bottom a.active:has(.aiBtn):after {
    width: 0;
    height: 0;
}