/* ============================================================
   02-layout.css —— 顶部、移动端横幅、主内容、浮动按钮
   侧边栏样式已移至 13-sidebar.css
   ============================================================ */

/* ---------- 顶部导航 ---------- */
.app-header {
    background: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}
.app-header h1 {
    font-size: 1.4rem;
    margin: 0;
    flex: 1;
    min-width: 150px;
}
.hamburger {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0 8px;
    color: #222;
}
.hamburger:hover { color: #3f7e6b; }
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    white-space: nowrap;
}
.header-id {
    font-size: 0.9rem;
    background: #eef2f6;
    padding: 4px 12px;
    border-radius: 30px;
    color: #444;
    font-weight: 500;
}
.header-cloud-btn {
    background: #3f7e6b;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
}
.header-cloud-btn:hover { background: #2f5b50; }

/* ---------- 移动端提示条 ---------- */
.mobile-banner {
    display: none;
    background: #fff3cd;
    border-bottom: 2px solid #ffc107;
    padding: 10px 16px;
    text-align: center;
    font-size: 0.9rem;
    color: #856404;
    position: sticky;
    top: 0;
    z-index: 99;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.mobile-banner .banner-text { flex: 1; font-weight: 500; }
.mobile-banner .banner-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #856404;
    padding: 0 4px;
    line-height: 1;
}

/* ---------- 主内容 ---------- */
#mainContent {
    padding: 20px;
    transition: margin-left 0.3s;
    margin-left: 0;
}

/* ---------- 浮动按钮（兼容旧版，实际已不显示） ---------- */
.floating-btn-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.float-btn-base {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s, background 0.2s;
    user-select: none;
    border: none;
    cursor: pointer;
}
.float-btn-base:hover { transform: scale(1.08); }
.feedback-float {
    background: #3f7e6b;
    color: white;
    font-size: 26px;
}
.export-float {
    background: #6c7a7a;
    color: white;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    flex-direction: column;
    gap: 2px;
}
.export-float span { display: block; }
/* ---------- 网站底部备案信息 ---------- */
.site-footer {
    text-align: center;
    font-size: 0.7rem;
    margin-top: 28px;
    opacity: 0.75;
    color: #888;
    padding-bottom: 16px;
}
.footer-author {
    margin-bottom: 6px;
}
.footer-beian {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.7rem;
}
.footer-beian a {
    color: #888;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.footer-beian a:hover {
    color: #3f7e6b;
    text-decoration: underline;
}
.footer-sep {
    color: #ccc;
    margin: 0 4px;
}
.beian-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    flex-shrink: 0;
}