/* style.css */
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    line-height: 1.6; padding: 15px; background-color: #f0f2f5; margin: 0; color: #333;
}
.container { 
    max-width: 700px; margin: 20px auto; background: #fff; padding: 25px; 
    border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}

/* 导航头部 */
.nav-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 15px;
}
.btn-top {
    text-decoration: none; color: #007bff; padding: 8px 15px;
    border: 1px solid #007bff; border-radius: 6px; font-size: 14px; transition: 0.3s;
}
.btn-top:hover { background: #007bff; color: #fff; }

/* ==================== 选项卡菜单 ==================== */
.tab-nav {
    display: flex;
    border-bottom: 2px solid #e4e7ed;
    margin-bottom: 0;
    gap: 0;
}
.tab-btn {
    flex: 1;
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 600;
    color: #909399;
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    white-space: nowrap;
}
.tab-btn:hover {
    color: #409eff;
}
.tab-btn.active {
    color: #409eff;
    border-bottom-color: #409eff;
}

/* ==================== 选项卡面板 ==================== */
.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}
.tab-panel.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==================== 开发指南样式 ==================== */
.guide-content {
    padding: 20px 5px 10px 5px;
}
.guide-section {
    margin-bottom: 22px;
}
.guide-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #303133;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e4e7ed;
}
.guide-section-title .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ecf5ff;
    color: #409eff;
    border-radius: 5px;
    font-size: 13px;
    flex-shrink: 0;
}
.guide-section p,
.guide-section li {
    font-size: 13.5px;
    color: #606266;
    line-height: 1.75;
}
.guide-section ul,
.guide-section ol {
    margin: 6px 0 6px 20px;
    padding: 0;
}
.guide-section li {
    margin-bottom: 5px;
}
.guide-section .highlight-box {
    background: #fdf6ec;
    border-left: 3px solid #e6a23c;
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    margin: 10px 0;
    font-size: 13px;
    color: #606266;
    line-height: 1.75;
}
.guide-section .info-box {
    background: #f0f9eb;
    border-left: 3px solid #67c23a;
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    margin: 10px 0;
    font-size: 13px;
    color: #606266;
    line-height: 1.75;
}
.guide-section .type-tag {
    display: inline-block;
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 3px;
    color: #fff;
    margin-right: 4px;
    vertical-align: middle;
    font-weight: 600;
}
.type-tag.tag-green  { background: #67c23a; }
.type-tag.tag-blue   { background: #409eff; }
.type-tag.tag-orange { background: #e6a23c; }
.type-tag.tag-purple { background: #9b59b6; }

/* "我已经阅读完毕"按钮 */
.btn-agree {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #409eff 0%, #28a745 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    text-align: center;
    letter-spacing: 1px;
}
.btn-agree:hover {
    opacity: 0.92;
}
.btn-agree:active {
    opacity: 0.8;
    transform: scale(0.98);
}

/* ==================== 表单样式 ==================== */
.form-group { margin-bottom: 20px; }
label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15px; color: #444; }

input[type="text"], input[type="number"], input[type="email"], select, textarea {
    width: 100%; padding: 12px; border: 1px solid #dcdfe6; border-radius: 6px; 
    box-sizing: border-box; font-size: 16px; transition: border 0.2s;
}
input:focus, textarea:focus { border-color: #409eff; outline: none; }

/* 文本框高度 */
.textarea-intro { height: 100px; }
.textarea-docs { height: 300px; font-family: monospace; background-color: #fafafa; }

.hint { font-size: 12px; color: #999; margin-top: 4px; }

/* 底部按钮组 */
.action-btns { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }

.btn-submit { 
    width: 100%; background-color: #28a745; color: white; padding: 15px; 
    border: none; border-radius: 8px; cursor: pointer; font-size: 17px; font-weight: bold;
}
.btn-edu { 
    width: 100%; background-color: #6c757d; color: white; padding: 12px; 
    border: none; border-radius: 8px; cursor: pointer; font-size: 15px; 
    text-align: center; text-decoration: none; display: block; box-sizing: border-box;
}

.btn-submit:active, .btn-edu:active { opacity: 0.8; transform: scale(0.99); }

/* 移动端间距微调 */
@media (max-width: 600px) {
    .container { padding: 15px; margin: 10px; }
    .textarea-docs { height: 200px; }
    .guide-content { padding: 15px 2px 5px 2px; }
    .tab-btn { font-size: 13px; padding: 9px 5px; }
}