.navbar {
    min-height: 72px;
    padding: 0;
    border-bottom: 1px solid #e3e9f0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 5px 20px rgba(23, 43, 63, 0.045);
    backdrop-filter: blur(16px);
}

.navbar-shell {
    width: min(100%, 1600px);
    min-height: 72px;
    margin: 0 auto;
    padding-inline: clamp(1rem, 3vw, 2.75rem);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-right: clamp(1rem, 2vw, 2rem);
    padding-block: 0.6rem;
    color: #18334c !important;
    text-decoration: none;
}

.navbar-brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 12px;
    color: #fff;
    background: #1769c2;
    box-shadow: 0 6px 15px rgba(23, 105, 194, 0.18);
}

.navbar-brand-copy,
.navbar-brand-copy strong,
.navbar-brand-copy small {
    display: block;
}

.navbar-brand-copy strong {
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.navbar-brand-copy small {
    margin-top: 0.03rem;
    color: #7a8997;
    font-size: 0.64rem;
    font-weight: 650;
    letter-spacing: 0.025em;
}

.navbar-nav {
    gap: 0.2rem;
}

.navbar .nav-link {
    position: relative;
    padding: 0.58rem 0.72rem !important;
    border-radius: 10px;
    color: #53697d !important;
    font-size: 0.78rem;
    font-weight: 700 !important;
    white-space: nowrap;
    transition: color 160ms ease, background-color 160ms ease;
}

.navbar .nav-link:hover {
    color: #1769c2 !important;
    background: #f1f6fb !important;
}

.navbar .nav-link.active {
    color: #0f5ead !important;
    background: #edf5fd !important;
}

.navbar .nav-link.active::after {
    position: absolute;
    right: 0.7rem;
    bottom: 0.15rem;
    left: 0.7rem;
    height: 2px;
    border-radius: 999px;
    background: #1769c2;
    content: "";
}

.navbar .dropdown-menu {
    padding: 0.45rem;
    border: 1px solid #dce5ee !important;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(23, 43, 63, 0.12);
}

.navbar .dropdown-item {
    padding: 0.58rem 0.7rem;
    border-radius: 9px;
    color: #405b73 !important;
    font-size: 0.78rem;
    font-weight: 600;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:active {
    color: #1769c2 !important;
    background: #edf5fd !important;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: 0.8rem;
}

.navbar-add-pond {
    min-height: 36px;
    padding-inline: 0.8rem;
    border-color: #1769c2 !important;
    border-radius: 10px;
    color: #fff !important;
    background: #1769c2 !important;
    font-size: 0.74rem;
    font-weight: 750;
    white-space: nowrap;
}

.navbar-add-pond:hover {
    border-color: #0f56a0 !important;
    background: #0f56a0 !important;
}

.language-switcher {
    display: inline-flex;
    padding: 3px;
    border: 1px solid #dce4ec;
    border-radius: 10px;
    background: #f4f7fa;
}

.language-switcher button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-width: 48px;
    padding: 0.27rem 0.4rem;
    border: 0;
    border-radius: 7px;
    color: #6c7c8b;
    background: transparent;
    font-size: 0.68rem;
    font-weight: 800;
}

.language-switcher button:hover {
    color: #1769c2;
}

.language-switcher button.active {
    color: #0f5ead;
    background: #fff;
    box-shadow: 0 2px 7px rgba(23, 43, 63, 0.09);
}

.language-flag {
    display: block;
    width: 21px;
    height: 13px;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(23, 43, 63, 0.12);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(23, 43, 63, 0.12);
}

.navbar-toggler {
    padding: 0.35rem 0.5rem;
    border-color: #d8e1e9 !important;
    border-radius: 10px;
    box-shadow: none !important;
}

.navbar + .modal .pond-modal {
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(23, 43, 63, 0.2);
}

.navbar + .modal .commercial-eyebrow {
    color: #1769c2;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.navbar + .modal .pond-modal-note {
    margin: 1rem 0 0;
    padding: 0.78rem;
    border: 1px solid #d9e7f5;
    border-radius: 11px;
    color: #3c617f;
    background: #f2f7fc;
    font-size: 0.76rem;
}

.pond-navigation-fields {
    margin-bottom: 1rem;
    padding: 0.85rem;
    border: 1px solid #dce6ef;
    border-radius: 12px;
    background: #f7fafd;
}

.pond-navigation-fields-title {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
}

.pond-navigation-fields-title > i {
    margin-top: 0.15rem;
    color: #1769c2;
}

.pond-navigation-fields-title strong,
.pond-navigation-fields-title small {
    display: block;
}

.pond-navigation-fields-title strong {
    color: #2c475f;
    font-size: 0.78rem;
}

.pond-navigation-fields-title small {
    margin-top: 0.1rem;
    color: #708293;
    font-size: 0.67rem;
}

@media (max-width: 1199px) {
    .navbar {
        min-height: 66px;
    }

    .navbar-shell {
        min-height: 66px;
    }

    .navbar-collapse {
        margin-inline: -0.25rem;
        padding: 0.65rem 0.25rem 1rem;
        border-top: 1px solid #edf0f3;
    }

    .navbar-nav {
        gap: 0.15rem;
    }

    .navbar .nav-link {
        padding: 0.62rem 0.7rem !important;
    }

    .navbar .nav-link.active::after {
        top: 0.45rem;
        right: auto;
        bottom: 0.45rem;
        left: 0.12rem;
        width: 3px;
        height: auto;
    }

    .navbar-actions {
        align-items: center;
        margin: 0.65rem 0 0;
        padding-top: 0.75rem;
        border-top: 1px solid #edf0f3;
        flex-wrap: wrap;
    }
}

@media (max-width: 575px) {
    .navbar-brand-copy small {
        display: none;
    }

    .navbar-actions {
        align-items: stretch;
    }

}
