/* 全局样式 */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #3c4c9e;
    --accent-color: #ff6b4a;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --grey-color: #e9ecef;
    --text-color: #333;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--dark-color);
    font-size: 1.2rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* 导航栏样式 */
.navbar {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px;
    transition: all 0.3s;
}

/* 汉堡菜单动画 */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 导航链接淡入动画 */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 首页横幅样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    height: 20vh;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* 成功案例样式 */
.success {
    background-color: var(--grey-color);
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow);
}

.testimonial-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* 联系我们样式 */
.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* 页脚样式 */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 10px;
}

.footer-links h3,
.footer-social h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.social-icons i {
    color: white;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-copyright a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-copyright a:hover {
    color: var(--primary-color);
}

.footer-icp {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: right;
}

.footer-icp a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-icp a:hover {
    color: var(--primary-color);
}

/* 联系信息页脚样式优化 */
.contact-info-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    color: #ccc;
}

.contact-info-item i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 2px;
    min-width: 20px;
}

.contact-info-item div p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 页脚公司信息区域样式 */
.footer-company-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-info-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: inline-block;
}

.company-info-block h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.company-info-block p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 5px auto;
    line-height: 1.6;
    text-align: center;
    display: block;
    width: 100%;
}

.company-info-block a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.company-info-block a:hover {
    color: var(--primary-color);
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonial {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-icp {
        text-align: center;
    }
    
    .contact-info-footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .access-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-footer {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-info-item {
        justify-content: center;
        text-align: center;
    }
}

/* 平台快速访问卡片 */
.quick-access {
    z-index: 10;
    margin-top:150px;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.access-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.access-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.access-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.access-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.access-card p {
    color: #666;
    font-size: 0.9rem;
}

/* 按钮组样式 */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* 平台服务部分 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-item h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* 导师团队部分 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-image img {
    width: 100%;
    height: auto;
    display: block;
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.member-social {
    display: flex;
    gap: 15px;
}

.member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.team-cta {
    text-align: center;
    margin-top: 40px;
}

.team-cta .btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    margin-left: 15px;
}

.team-cta .btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 更多案例 */
.more-cases {
    text-align: center;
    margin-top: 40px;
}

.more-cases .btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.more-cases .btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 用户认证页面样式 */
.auth-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-container {
    display: flex;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.auth-form-container {
    flex: 1;
    padding: 40px;
}

.auth-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2rem;
}

.auth-form-container p {
    color: #666;
    margin-bottom: 30px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.auth-form input, 
.auth-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.auth-form input:focus, 
.auth-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.auth-links {
    margin-top: 30px;
    text-align: center;
}

.auth-links a {
    color: var(--primary-color);
    font-weight: 500;
}

.auth-info {
    flex: 1;
    background-color: var(--primary-color);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.auth-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.auth-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.auth-info i {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.auth-image {
    margin-top: auto;
}

.auth-image img {
    width: 100%;
    border-radius: 8px;
}

.user-type-selector {
    display: flex;
    margin-bottom: 25px;
    border-radius: 5px;
    overflow: hidden;
}

.user-type {
    flex: 1;
    padding: 12px;
    border: none;
    background-color: #f5f5f5;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.user-type.active {
    background-color: var(--primary-color);
    color: white;
}

.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-login p {
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #ddd;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-login-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn i {
    margin-right: 8px;
}

.social-btn.wechat {
    background-color: #07C160;
    color: white;
}

.social-btn.qq {
    background-color: #12B7F5;
    color: white;
}

.social-btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

/* 用户中心页面样式 */
.user-center {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.user-dashboard {
    display: flex;
    gap: 30px;
}

.sidebar {
    width: 280px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px 0;
    flex-shrink: 0;
}

.user-profile {
    text-align: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.user-profile p {
    color: #666;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 2px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--dark-color);
    transition: all 0.3s;
}

.sidebar-menu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar-menu li.active a,
.sidebar-menu a:hover {
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
}

.content-area {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    min-height: 700px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.content-header h2 {
    color: var(--dark-color);
    margin: 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 个人资料部分 */
.profile-info {
    padding: 20px 0;
}

.info-section {
    margin-bottom: 40px;
}

.info-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.info-item label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.info-item p {
    font-weight: 500;
    color: var(--dark-color);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.info-description {
    line-height: 1.6;
    color: #666;
}

/* 发布表单部分 */
.publish-form {
    max-width: 800px;
}

.tag-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tag-option {
    display: inline-block;
    background-color: #f5f5f5;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.tag-option:hover {
    background-color: rgba(74, 107, 255, 0.1);
}

.tag-option.selected {
    background-color: var(--primary-color);
    color: white;
}

.selected-tags {
    margin-top: 15px;
}

.selected-tags p {
    margin-bottom: 10px;
    color: #666;
}

.tags .tag i {
    margin-left: 5px;
    cursor: pointer;
}

.publish-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* 帖子列表部分 */
.filter-options {
    display: flex;
    align-items: center;
}

.filter-options select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

.my-posts-list {
    margin-top: 20px;
}

.post-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.post-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.post-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-status.active {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.post-status.closed {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.post-tags {
    margin-bottom: 15px;
}

.post-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-small:hover {
    background-color: #f5f5f5;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    margin: 0 5px;
    color: var(--dark-color);
    transition: all 0.3s;
}

.pagination a.active,
.pagination a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 空状态部分 */
.empty-state {
    text-align: center;
    padding: 50px 0;
}

.empty-state i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state p {
    color: #666;
    margin-bottom: 20px;
}

/* 消息中心部分 */
.message-list {
    margin-top: 20px;
}

.message-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.message-item.unread {
    background-color: rgba(74, 107, 255, 0.05);
}

.message-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    flex: 1;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.message-header h4 {
    margin: 0;
    color: var(--dark-color);
}

.message-time {
    font-size: 0.9rem;
    color: #666;
}

.message-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 账号设置部分 */
.settings-section {
    margin-bottom: 40px;
}

.settings-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.setting-info h4 {
    margin: 0 0 5px;
    color: var(--dark-color);
}

.setting-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* 切换开关样式 */
.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: 0.3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* 用户下拉菜单 */
.user-dropdown {
    position: relative;
}

.user-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    display: none;
    z-index: 1000;
}

.user-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--dark-color);
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

.dropdown-menu i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .auth-container {
        flex-direction: column;
    }
    
    .user-dashboard {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .post-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-status {
        margin-top: 10px;
    }
    
    .post-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .post-actions {
        flex-wrap: wrap;
    }
} 