/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 菜单按钮 */
.menu-btn {
    display: none;
    background-color: #2c3e50;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

/* 主内容区 */
.main-content {
    display: flex;
    flex: 1;
}

/* 左侧导航栏 */
.sidebar {
    width: 220px;
    background-color: white;
    border-right: 1px solid #e8e8e8;
    padding: 20px 0;
}

.search-box {
    padding: 0 20px 20px;
}

.search-box input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
}

.nav ul {
    list-style: none;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-item .icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    background-color: #3498db;
    border-radius: 2px;
}

.nav-item .text {
    font-size: 14px;
}

.nav-item.active {
    background-color: #ecf0f1;
    border-right: 3px solid #3498db;
}

.nav-item:hover {
    background-color: #f8f9fa;
}

.nav-footer {
    margin-top: 30px;
    border-top: 1px solid #e8e8e8;
    padding-top: 10px;
}

/* 右侧内容区 */
.content {
    flex: 1;
    padding: 30px;
    background-color: #f5f5f5;
}

/* 顶部标语 */
.banner {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.banner h1 {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
}

/* 网站使用帮助 */
.help-section {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.help-section h2 {
    color: #1890ff;
    font-size: 16px;
    margin-bottom: 15px;
}

.help-section p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.highlight {
    color: #1890ff;
    font-weight: bold;
}

.tip-box {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

.tip-box p {
    color: #52c41a;
}

/* 用户须知 */
.notice-section {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.notice-section h2 {
    color: #52c41a;
    font-size: 16px;
    margin-bottom: 15px;
}

.notice-section p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

/* 资源链接 */
.quark-section {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.tab-container {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e8e8e8;
}

.tab-btn {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.tab-btn:hover {
    background-color: #e6f7ff;
    color: #1890ff;
}

.tab-btn.active {
    background-color: #1890ff;
    color: white;
}

.tab-content {
    padding: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.link-content {
    padding: 0;
}

.link-content p {
    margin-bottom: 10px;
    font-size: 14px;
}

.link-content a {
    color: #1890ff;
    text-decoration: none;
}

.link-content a:hover {
    text-decoration: underline;
}

/* 打赏支持 */
.donate-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.donate-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.donate-section p {
    margin-bottom: 25px;
    font-size: 14px;
    text-align: center;
    opacity: 0.9;
}

.donate-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
}

.donate-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 20px;
    width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.donate-card:hover {
    transform: translateY(-5px);
}

.donate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.donate-header h3 {
    font-size: 16px;
    color: #333;
}

.donate-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.wechat-icon {
    background-color: #07C160;
}

.alipay-icon {
    background-color: #1677FF;
}

.donate-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode {
    width: 140px;
    height: 140px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-qrcode {
    background-color: #f8f8f8;
}

.alipay-qrcode {
    background-color: #f0f7ff;
}

.qrcode-inner {
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qrcode-inner::before,
.qrcode-inner::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #333;
    border-radius: 2px;
}

.qrcode-inner::before {
    top: 10px;
    left: 10px;
}

.qrcode-inner::after {
    top: 10px;
    right: 10px;
}

.qrcode-center {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 2px;
}

.donate-text {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.donate-thank {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.donate-thank p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

/* 底部信息 */
.footer {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.footer p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* 通用区块样式 */
.section {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.section h2 {
    color: #3498db;
    font-size: 18px;
    margin-bottom: 20px;
}

/* 兼职列表样式 */
.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.job-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #3498db;
}

.job-item h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.job-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* 摊位列表样式 */
.stall-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.stall-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #e67e22;
}

.stall-item h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.stall-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* 地段列表样式 */
.location-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.location-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #27ae60;
}

.location-item h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.location-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* 公司列表样式 */
.company-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.company-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #9b59b6;
}

.company-item h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.company-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* 资源列表样式 */
.resource-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.resource-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #e74c3c;
}

.resource-item h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.resource-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* 政策列表样式 */
.policy-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.policy-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #f39c12;
}

.policy-item h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.policy-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* 留言板样式 */
.message-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2980b9;
}

.message-list {
    margin-top: 30px;
}

.message-list h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
}

.message-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 4px solid #95a5a6;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.message-name {
    font-weight: bold;
    color: #333;
}

.message-date {
    color: #999;
    font-size: 12px;
}

.message-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* 打赏页面样式 */
.donate-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.donate-page h2 {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.donate-page p {
    margin-bottom: 25px;
    font-size: 14px;
    text-align: center;
    opacity: 0.9;
}

.donate-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
}

.donate-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 20px;
    width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.donate-card:hover {
    transform: translateY(-5px);
}

.donate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.donate-header h3 {
    font-size: 16px;
    color: #333;
}

.donate-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.wechat-icon {
    background-color: #07C160;
}

.alipay-icon {
    background-color: #1677FF;
}

.donate-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode {
    width: 140px;
    height: 140px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-qrcode {
    background-color: #f8f8f8;
}

.alipay-qrcode {
    background-color: #f0f7ff;
}

.qrcode-inner {
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qrcode-inner::before,
.qrcode-inner::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #333;
    border-radius: 2px;
}

.qrcode-inner::before {
    top: 10px;
    left: 10px;
}

.qrcode-inner::after {
    top: 10px;
    right: 10px;
}

.qrcode-center {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 2px;
}

.donate-text {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.donate-thank {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.donate-thank p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .sidebar {
        position: fixed;
        left: -220px;
        top: 0;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .content {
        padding: 20px;
    }
    
    .donate-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .donate-card {
        width: 100%;
        max-width: 250px;
    }
    
    .main-content {
        min-height: 100vh;
    }
}