/* 日志功能专属样式 - 类名带note-前缀，避免样式冲突 */
.note-section {
    width: 100%;
    padding: 40px 0;
    background-color: #f5f7fa;
    margin: 60px 0;
}
.note-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.note-title {
    font-size: 28px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

/* 日志列表样式 */
.note-log-list { 
    width: 100%;
}
.note-log-item { 
    padding: 24px; 
    margin-bottom: 15px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer; 
    transition: all .3s ease; 
    border-left: 4px solid transparent;
}
.note-log-item:hover { 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left-color: #4a90e2;
}
.note-log-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 12px; 
    flex-wrap: wrap;
    gap: 10px;
}
.note-log-title { 
    font-size: 20px; 
    font-weight: 600; 
    color: #2c3e50; 
    transition: color .3s;
}
.note-log-item:hover .note-log-title {
    color: #4a90e2;
}
.note-log-time { 
    color: #7f8c8d; 
    font-size: 14px; 
    white-space: nowrap;
}
.note-log-desc { 
    color: #666; 
    font-size: 15px; 
    line-height: 1.6; 
    margin-bottom: 15px; 
    padding-left: 2px;
}

/* 日志详情页样式 */
.note-detail-page {
    width: 100%;
}
.note-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 30px;
    transition: background-color .3s;
}
.note-back-btn:hover {
    background-color: #357abd;
}
.note-detail-card {
    padding: 30px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.note-detail-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.note-detail-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
}
.note-detail-time {
    color: #7f8c8d;
    font-size: 14px;
}
.note-detail-desc {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.7;
}
.note-detail-content {
    line-height: 1.8;
    color: #444;
}
.note-detail-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.note-detail-content p {
    margin-bottom: 12px;
}
.note-detail-content img { 
    max-width: 100%; 
    border-radius: 6px; 
    margin: 15px 0; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.note-detail-content audio,
.note-detail-content video {
    width: 100%;
    max-width: 600px;
    margin: 15px 0;
    border-radius: 6px;
}
.note-detail-content a {
    color: #4a90e2;
    text-decoration: none;
}
.note-detail-content a:hover {
    color: #357abd;
    text-decoration: underline;
}

/* 响应式适配（移动端） */
@media (max-width: 768px) {
    .note-section {
        padding: 20px 0;
        margin: 30px 0;
    }
    .note-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .note-log-item {
        padding: 18px;
    }
    .note-log-title {
        font-size: 18px;
    }
    .note-detail-card {
        padding: 20px;
    }
    .note-detail-title {
        font-size: 20px;
    }
    .note-back-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* 小屏手机适配 */
@media (max-width: 375px) {
    .note-log-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .note-log-time {
        white-space: normal;
        font-size: 12px;
    }
}
