/* =========================================================
   FOLLOWMYTRAVELS — AUTHENTICATED WORKSPACE NAVIGATION
   Uses theme.css variables
   ========================================================= */

.workspace-nav {
    position: sticky;
    top: 88px;
    z-index: 35;
    border-bottom: 1px solid color-mix(in srgb, var(--color-dark) 7%, transparent);
    background: color-mix(in srgb, var(--color-white) 95%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.workspace-nav__inner {
    width: min(
        var(--container-wide),
        calc(100% - 64px)
    );
    min-height: 66px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.workspace-nav__links {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
}

.workspace-nav__links::-webkit-scrollbar {
    display: none;
}

.workspace-nav__link {
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.workspace-nav__link:hover {
    color: var(--text-primary);
    background: var(--color-surface);
}

.workspace-nav__link.is-active {
    background: var(--color-dark);
    color: var(--text-light);
    box-shadow: 0 9px 22px rgba(43, 45, 66, .12);
}

.workspace-nav__cta {
    min-height: 42px;
    padding: 0 13px 0 17px;
    border-radius: 11px;
    background: var(--color-yellow);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
    transition: transform .2s ease;
}

.workspace-nav__cta:hover {
    transform: translateY(-2px);
}

.workspace-nav__cta span:last-child {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-white) 45%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
}

@media (max-width: 900px) {
    .workspace-nav {
        top: 76px;
    }

    .workspace-nav__inner {
        width: calc(100% - 30px);
        min-height: 60px;
    }

    .workspace-nav__link {
        min-height: 38px;
        padding: 0 13px;
        font-size: 12px;
    }

    .workspace-nav__cta {
        display: none;
    }
}

@media (max-width: 640px) {
    .workspace-nav__inner {
        width: 100%;
    }

    .workspace-nav__links {
        width: 100%;
        padding: 0 12px;
    }
}
