/* 顶栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    /* 居中对齐 */
    align-items: center;
    background-color: rgba(255, 255, 255, 0.85);
    color: black;
    padding: 10px 20px;
    border-radius: 0 0 8px 8px;
    box-shadow:
        0 1.6px 3.6px rgba(0, 0, 0, 0.1),
        0 0.3px 0.9px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    z-index: 2147483646;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    transform: translateZ(0);
    margin: 0 auto;
    max-width: 1200px;
    /* 最大宽度限制 */
    box-sizing: border-box;
}

.navbar-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.navbar-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.navbar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: rgba(0, 122, 204, 0.1);
    color: #007acc;
}

.nav-link.passport {
    background-color: #007acc;
    color: white;
}

.nav-link.passport:hover {
    background-color: #005a9e;
    color: white;
}