@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        width: 60%;
        background: white;
        box-shadow: var(--box-shadow);
        max-height: 80vh;
        overflow-y: auto;
        padding: 15px;
        z-index: 1000;
    }
    .navbar .message{
        display: flex;
    }
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        margin: 0;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .navbar-nav .nav-link {
        /* padding: 12px 15px; */
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .dropdown-toggle::after {
        transform: rotate(-90deg);
        transition: var(--transition);
    }
    
    .dropdown-toggle.show::after {
        transform: rotate(0deg);
    }
    
    /* 移动端下拉菜单样式 */
    .mobile-dropdown {
        position: relative;
    }
    
    .mobile-dropdown > .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        box-shadow: none;
        border: none;
        padding: 0;
        background-color: rgba(67, 97, 238, 0.03);
        border-radius: 0;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-dropdown > .dropdown-menu.show {
        display: block;
        max-height: 500px;
    }
    
    .mobile-dropdown .dropdown-item {
        padding: 10px 25px;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
        font-size: 1.4rem;
    }
    
    /* 常见问题横向展示样式 */
    .faq-horizontal {
        display: flex;
        flex-direction: column;
    }
    
    .faq-horizontal .faq-title {
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 500;
        color: #333;
        cursor: pointer;
        font-size: 1.4rem;
    }
    
    .faq-horizontal .faq-links {
        display: flex;
        overflow-x: auto;
        padding: 10px 15px;
        background-color: rgba(67, 97, 238, 0.03);
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) #f0f0f0;
    }
    
    .faq-horizontal .faq-links::-webkit-scrollbar {
        height: 6px;
    }
    
    .faq-horizontal .faq-links::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 3px;
    }
    
    .faq-horizontal .faq-links::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        border-radius: 3px;
    }
    
    .faq-horizontal .faq-link {
        white-space: nowrap;
        padding: 8px 15px;
        margin-right: 10px;
        background-color: white;
        border: 1px solid #e0e0e0;
        border-radius: 20px;
        color: #333;
        text-decoration: none;
        font-size: 1.2rem;
        transition: var(--transition);
        flex-shrink: 0;
    }
    
    .faq-horizontal .faq-link:hover {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }
    
    .faq-horizontal .faq-links.hidden {
        display: none;
    }
    
    /* 手机端用户信息区域 */
    .mobile-user-area {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        border-top: 1px solid #f0f0f0;
        margin-top: 10px;
    }
    
    .mobile-user-area .message {
        margin-right: 0;
    }
    
    .mobile-user-info {
        display: flex;
        align-items: center;
    }
    
    .mobile-user-info img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 10px;
    }

}

