/* ========== 公共子页面组件样式 ========== */
/* 用于 sys_form.html / sys_data.html 等子页面 */

/* 返回主页按钮 */
.back-home {
    position: fixed;
    top: 16px;
    left: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.back-home:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 填单页面 - 蓝色系 */
.back-home--form {
    background: rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.3);
}

.back-home--form:hover {
    background: rgba(74, 144, 226, 0.3);
    border-color: rgba(74, 144, 226, 0.5);
}

/* 工作表页面 - 绿色系 */
.back-home--data {
    background: rgba(0, 212, 159, 0.15);
    border-color: rgba(0, 212, 159, 0.3);
}

.back-home--data:hover {
    background: rgba(0, 212, 159, 0.3);
    border-color: rgba(0, 212, 159, 0.5);
}

/* 页面类型徽标 */
.page-badge {
    display: inline-block;
    background: linear-gradient(135deg, #888, #666);
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 500;
}

h1 .page-badge {
    font-size: 14px;
    padding: 3px 14px;
}

/* 填单徽标 - 蓝色 */
.page-badge--form {
    background: linear-gradient(135deg, #4a90e2, #3a7bc8);
}

/* 工作表徽标 - 绿色 */
.page-badge--data {
    background: linear-gradient(135deg, #00d49f, #00b886);
}

/* 人事行政页面 - 红色系 */
.back-home--hr {
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.3);
}

.back-home--hr:hover {
    background: rgba(255, 107, 107, 0.3);
    border-color: rgba(255, 107, 107, 0.5);
}

/* 人事行政徽标 - 红色 */
.page-badge--hr {
    background: linear-gradient(135deg, #ff9999, #ff6b6b);
}
