/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* 页面容器 */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 顶部导航栏 */
.header {
    background: linear-gradient(135deg, #2B8A3E 0%, #40C057 100%);
    color: #fff;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 18px;
    font-weight: 600;
}

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

.btn-back {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.btn-search {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 14px;
    cursor: pointer;
}

/* 搜索框 */
.search-bar {
    background: #fff;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.search-bar input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}

.btn-search-action {
    background: #2B8A3E;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

/* 页面内容 */
.page-content {
    flex: 1;
    padding: 15px;
    padding-bottom: 70px;
}

/* 首页样式 */
.home-page {
    max-width: 600px;
    margin: 0 auto;
}

/* 轮播图 */
.banner {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #2B8A3E 0%, #40C057 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-text {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
}

/* 功能导航 */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.nav-item {
    background: #fff;
    padding: 15px 10px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.nav-item span {
    display: block;
    font-size: 12px;
}

.nav-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* 区块标题 */
.section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

/* 辅导站列表 */
.station-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 加载更多 */
.loading-more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2B8A3E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 无更多数据 */
.no-more {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-top: 10px;
}

.station-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.station-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.station-info {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.station-coach {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.btn-detail {
    background: #2B8A3E;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.news-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

/* 筛选栏 */
.filter-bar {
    background: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-bar select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.btn-filter {
    background: #2B8A3E;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

/* 辅导站详情 */
.station-detail-page {
    max-width: 600px;
    margin: 0 auto;
}

.station-detail-page h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.station-phone {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.station-desc {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.station-desc h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

/* 课程组 */
.course-group {
    margin-bottom: 15px;
}

.course-group h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #666;
}

/* 课程项 */
.course-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.course-time {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.course-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.course-station {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.course-price {
    font-size: 14px;
    font-weight: 600;
    color: #2B8A3E;
    margin-bottom: 10px;
}

.btn-book {
    background: #2B8A3E;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

/* 课程详情 */
.course-detail-page {
    max-width: 600px;
    margin: 0 auto;
}

.course-detail-page h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.course-info-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.course-info-card p {
    margin-bottom: 8px;
    font-size: 14px;
}

.course-desc {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.course-desc h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.btn-book-large {
    width: 100%;
    background: #2B8A3E;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* 动态详情 */
.news-detail-page {
    max-width: 600px;
    margin: 0 auto;
}

.news-detail-page h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.news-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    line-height: 1.8;
}

/* 表单样式 */
.form-container {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

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

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: #2B8A3E;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.form-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.form-link a {
    color: #2B8A3E;
    text-decoration: none;
}

/* 我的页面 */
.my-page {
    max-width: 600px;
    margin: 0 auto;
}

.user-info {
    background: linear-gradient(135deg, #2B8A3E 0%, #40C057 100%);
    padding: 30px 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.user-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.user-details p {
    font-size: 14px;
    opacity: 0.9;
}

.my-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

.menu-icon {
    font-size: 20px;
}

/* 订单页面 */
.orders-page {
    max-width: 600px;
    margin: 0 auto;
}

.login-tip,
.empty-tip {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

.login-tip a {
    color: #2B8A3E;
    text-decoration: none;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #666;
}

.order-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status-1 { background: #fff3cd; color: #856404; }
.status-2 { background: #d4edda; color: #155724; }
.status-3 { background: #d1ecf1; color: #0c5460; }
.status-4 { background: #f8d7da; color: #721c24; }

.order-body h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.order-body p {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.order-price {
    font-size: 16px;
    font-weight: 600;
    color: #2B8A3E;
}

.order-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-pay {
    background: #2B8A3E;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.btn-cancel {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

/* 底部导航 */
.footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 5px 0;
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    height: 55px;
}

.footer-item {
    text-decoration: none;
    color: #666;
    text-align: center;
    padding: 5px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-item.active {
    color: #2B8A3E;
}

.footer-icon {
    font-size: 18px;
    display: block;
    margin-bottom: 2px;
}

.footer-item span:last-child {
    font-size: 11px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .banner {
        height: 150px;
    }
    
    .banner-text {
        font-size: 20px;
    }
    
    .header h1 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 10px;
    }
    
    .nav-grid {
        gap: 10px;
    }
    
    .nav-item {
        padding: 10px 5px;
    }
    
    .nav-icon {
        font-size: 20px;
    }
    
    .banner {
        height: 120px;
    }
    
    .banner-text {
        font-size: 18px;
    }
    
    .form-container {
        padding: 20px;
    }
}

/* 群聊页面 */
.chat-page {
    height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
}

.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
}

/* 用户列表页面 */
.user-list-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.user-list {
    flex: 1;
    overflow-y: auto;
}

.user-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.user-item:hover {
    background: #f5f5f5;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2B8A3E 0%, #40C057 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 15px;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.user-last-message {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-user-list {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #999;
}

/* 聊天头部 */
.chat-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.chat-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    padding-bottom: 100px; /* 为固定的输入区域留出空间 */
    overflow-y: auto;
    background: #f5f5f5;
}

.chat-message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.own-message {
    flex-direction: row-reverse;
}

.other-message {
    flex-direction: row;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2B8A3E 0%, #40C057 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.message-content {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 18px;
    background: #e3f2fd;
    position: relative;
}

.own-message .message-content {
    background: #c8e6c9;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 12px;
    color: #666;
}

.message-sender {
    font-weight: bold;
}

.message-text {
    word-wrap: break-word;
    line-height: 1.4;
}

.message-image img {
    max-width: 200px;
    border-radius: 8px;
    display: block;
}

.message-voice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
}

.voice-icon {
    font-size: 24px;
}

.voice-duration {
    font-size: 12px;
    color: #666;
}

.empty-chat {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
}

/* 聊天状态提示 */
.chat-status {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    padding: 10px;
    margin: 15px;
}

.status-message {
    color: #856404;
    font-size: 14px;
    margin: 0;
    text-align: center;
}

/* 表情面板 */
.emoji-panel {
    padding: 15px;
    border-top: 1px solid #eee;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    position: fixed;
    bottom: 70px; /* 在输入区域上方 */
    left: 0;
    right: 0;
    z-index: 999;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.emoji-item {
    font-size: 24px;
    text-align: center;
    padding: 8px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
}

.emoji-item:hover {
    background: #f0f0f0;
}

/* 输入区域 */
.chat-input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
    background: #fff;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.chat-input-area input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}

.btn-emoji {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

.btn-emoji:hover {
    transform: scale(1.1);
}

.btn-voice {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.btn-voice.recording {
    background: #ff4444;
    color: #fff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 图片预览 */
.preview-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.preview-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.btn-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 辅导站详情 */
.station-detail-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.station-section {
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.station-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #2B8A3E;
    padding-bottom: 10px;
}

.station-intro p {
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.scenery-gallery h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0 10px;
    color: #333;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.image-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.image-item:hover img {
    transform: scale(1.1);
}

.station-master {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.master-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.master-info {
    flex: 1;
}

.master-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

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

.event-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.event-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.event-time {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.event-desc {
    line-height: 1.5;
    color: #666;
    margin-bottom: 10px;
}

.event-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.event-image {
    flex: 0 0 100px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

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

.student-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.student-item {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.student-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
}

.student-video video {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.student-desc {
    padding: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.empty-tip {
    text-align: center;
    padding: 30px;
    color: #999;
    background: #f9f9f9;
    border-radius: 8px;
}

.btn-book {
    padding: 8px 16px;
    background: #2B8A3E;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.btn-book:hover {
    background: #237D36;
}

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

.course-group h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.course-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.course-time {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.course-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.course-price {
    color: #2B8A3E;
    font-weight: 600;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .station-master {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .master-avatar {
        margin-bottom: 15px;
    }
    
    .student-gallery {
        grid-template-columns: 1fr;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .station-detail-page {
        padding: 10px;
    }
    
    .station-section {
        padding: 15px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .event-images {
        flex-direction: column;
    }
    
    .event-image {
        flex: 1;
        height: 120px;
    }
}

.btn-send {
    padding: 0 20px;
    background: #2B8A3E;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.btn-send:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 教练列表 */
.coach-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coach-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.coach-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.coach-info {
    flex: 1;
}

.coach-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.coach-info p {
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
}

.coach-certs h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.cert-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.cert-item {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .coach-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .coach-avatar {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .cert-list {
        flex-direction: column;
    }
    
    .cert-item {
        flex: 1;
        height: 100px;
    }
}
