/* 导航栏外层容器 */
.nsb-bar {
    display: inline-flex;
    align-items: stretch;
    height: 56px;
    border: 1.5px solid #e5e7eb;
    border-radius: 9999px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.nsb-nav {
    display: flex;
    align-items: stretch;
}

/* 导航项 */
.nsb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    text-decoration: none;
    color: #374151;
    font-size: 15px;
    font-weight: 700;
    border-right: 1.5px solid #e5e7eb;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.nsb-item:hover {
    background-color: #f9fafb;
    text-decoration: none;
}

.nsb-item i,
.nsb-item svg {
    flex-shrink: 0;
}

.nsb-item-text {
    white-space: nowrap;
}

/* 搜索区域 */
.nsb-search {
    display: flex;
    align-items: center;
    padding: 0 24px;
    background-color: #ffffff;
    gap: 12px;
    box-sizing: border-box;
}

.nsb-search-input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px;
    font-weight: 700;
    color: #374151;
    width: 140px;
    font-family: inherit;
    padding: 0;
}

.nsb-search-input:focus,
.nsb-search-input:active {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nsb-search-input::placeholder {
    color: #4b5563;
}

.nsb-search-icon {
    color: #1f2937;
    cursor: pointer;
    transition: opacity 0.2s;
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nsb-search-icon:hover {
    opacity: 0.7;
}
