:root {
    --main-color: #6a89cc;
    --main-light: #e0e8f3;
    --main-dark: #4a69bd;
    --success-color: #78a68c;
    --warning-color: #c49060;
    --danger-color: #b87878;

    --gray-100: #f8f9fa;
    --gray-200: #dee2e6;
    --gray-300: #ced4da;
    --gray-600: #495057;
    --gray-800: #212529;

    --border-width: 1px;
    --border-color: var(--gray-200);
    --border-style: solid;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --card-bg: linear-gradient(135deg, #ffffff 0%, #f1f3f5 100%);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--gray-100);
    color: var(--gray-800);
}
/* 统一所有设置页的表单标签宽度 + 禁止换行 */
.setting-container .layui-form-label,
.setting-container-full .layui-form-label {
  width: 140px !important;       /* 统一足够宽 */
  white-space: nowrap !important; /* 强制不换行 */
  text-align: right !important;   /* 文字右对齐更美观 */
  padding-right: 10px !important;
}
/* 对应输入块左边距同步调整 */
.setting-container .layui-input-block,
.setting-container-full .layui-input-block {
  margin-left: 170px !important; /* 比 label 宽 30px 左右 */
}

/* 修复开关/复选框那行的排版（你之前有特殊 flex 行） */
.setting-container .layui-form-item .layui-input-block:has([type="checkbox"][lay-skin="switch"]) {
  margin-left: 170px !important;
  padding-left: 0 !important;
}

/* 再加固底部按钮居中（防止被遮挡） */
.form-submit-area {
  display: flex !important;
  justify-content: center !important;
  margin: 40px 0 20px !important;
  position: relative !important;
  z-index: 10 !important;
}
.main-container {
    width: 98%;
    margin: 10px auto;
    background: #fff;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: var(--border-width) var(--border-style) var(--border-color);
}

/* 搜索栏 - 只保留底部分割线，且与外容器左右接平 */
.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;        /* 恢复左右内边距，跟外容器一致 */
    background: #ffffff;
    border-radius: 0;
    border: none;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    width: calc(100% + 32px);  /* 关键：撑满父容器左右内边距 */
    margin-left: -16px;        /* 关键：向左拉平 */
    margin-bottom: 16px;
}

.search-bar .form-control {
    flex: 1;
    min-width: 120px;
    border-radius: var(--radius-sm);
    border: var(--border-width) var(--border-style) var(--border-color);
    padding: 8px 12px;
    height: 42px;
    font-size: 14px;
    background: #fff;
}

.search-bar .form-control:focus {
    border-color: var(--main-color);
    outline: none;
}

.btn-primary {
    background-color: var(--main-color);
    border: var(--border-width) solid var(--main-color);
    color: #fff;
    height: 42px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    padding: 0 16px;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--main-dark);
    border-color: var(--main-dark);
}

/* 标签分组栏 */
.filter-tabs {
    display: flex;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: var(--border-width) var(--border-style) var(--border-color);
    width: 100%;
    margin-bottom: 16px;
    overflow: hidden;
}

.filter-tabs .tab-item {
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
    color: var(--gray-600);
}

.filter-tabs .tab-item.active {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
}

.filter-tabs .tab-item:hover:not(.active) {
    background-color: var(--gray-100);
}

/* 列表 */
.activity-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 活动卡片 */
.activity-card {
    border: var(--border-width) var(--border-style) var(--border-color);
    border-radius: var(--radius-md);
    background: var(--card-bg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transform: translateY(-1px);
    display: flex;
    flex-direction: column;
}

/* 卡片顶部一行：标签 + 时间 */
.card-top-bar {
    width: 100%;
    padding: 10px 16px;
    background-color: #f8f9fa;
    border-bottom: var(--border-width) var(--border-style) var(--gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-top-bar .badge {
    border-radius: 4px;
    font-size: 12px;
    padding: 4px 8px;
    color: #fff;
    display: inline-block;
}

.badge-pro { color:#000000;}
.badge-user { background: var(--success-color); }
.badge-remark { background: var(--warning-color); }
.badge-admin { background: #ff0000; }
/* 时间文字样式 */
.card-time {
    font-size: 12px;
    color: var(--gray-600);
    margin-left: auto;
}

/* 收藏按钮 */
.fav-btn-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all .2s ease;
    border-color: var(--primary-color, #6c5ce7) !important;
    color: var(--primary-color, #6c5ce7) !important;
    background: #fff !important;
}
.fav-btn-add i {
    font-size: 13px;
}
.fav-btn-add:hover {
    border-color: #f6a800 !important;
    color: #f6a800 !important;
    transform: translateY(-1px);
}
.fav-btn-add.active {
    background: #fef3c7 !important;
    border-color: #f6c453 !important;
    color: #f6a800 !important;
}

/* 卡片内容 */
.card-content {
    display: flex;
    flex: 1;
}

/* 中间统计区 65% */
.stats-action-wrapper {
    width: 65%;
    padding: 16px 20px;
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.zhuti-text {
    font-size: 16px;
    color: #000000;
    font-weight: bold;
    margin-bottom: 16px;
}

.status-badge {
    background: var(--success-color);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

/* 重构统计区域为网格布局 */
.stats-area {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 改为5列网格，一行5个卡片 */
    gap: 15px; /* 统一间距 */
    margin-bottom: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    border-radius: var(--radius-sm);
    background-color: rgba(255,255,255,0.6);
    border: 1px solid var(--gray-200);
}

.stat-value {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.stat-btn {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid var(--gray-200);
    cursor: pointer;
}

.stat-btn:hover {
    border-color: var(--main-color);
    color: var(--main-color);
}

.action-area {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.add-btn {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--warning-color);
    color: #fff;
    border: none;
    cursor: pointer;
}

.add-btn:hover {
    background-color: #b88050;
}

.add-btn:last-child {
    background-color: var(--danger-color);
}

.add-btn:last-child:hover {
    background-color: #a86868;
}

/* 右侧功能区 4栏 + 等高竖线分隔 */
.card-right {
    width: 35%;
    display: flex;
    align-items: stretch; /* 关键：子元素高度拉伸一致 */
    justify-content: center;
    padding: 0;
}

/* 4个按钮容器 */
.func-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    height: 100%; /* 占满父容器高度 */
}

/* 按钮样式 */
.func-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    cursor: pointer;
    height: 100%; /* 占满容器高度 */
}

.func-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none; /* 可选：去掉a标签默认下划线 */
    color: inherit; /* 可选：继承父元素颜色，不显示a标签默认蓝色 */
}

/* 等高竖线分隔 */
.func-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%; /* 与父元素等高 */
    width: 1px;
    background: var(--gray-200);
}

.func-icon {
    font-size: 32px;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.func-text {
    text-align: center;
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.func-item.highlight .func-icon,
.func-item.highlight .func-text {
    color: var(--main-color);
}

.func-item:hover {
    background: rgba(255,255,255,0.4);
}

@media (max-width: 992px) {
    .card-content {
        flex-direction: column;
    }
    .stats-action-wrapper,
    .card-right {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
    .stats-area {
        grid-template-columns: repeat(2, 1fr); /* 移动端改为2列 */
    }
    .func-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .func-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .stats-area {
        grid-template-columns: 1fr; /* 小屏改为1列 */
    }
}

/* 活动设置 */


/* =======================================
   外层容器（让出左侧双菜单位置）
 ======================================= */
.setting-container {
  width: 100%;
  height: calc(100vh - 62px);
  box-sizing: border-box;
  padding-left: 240px;
  padding-top: 0;
  overflow: hidden;
  }

/* 封死最外层滚动：仅作用于含 .setting-container 的外层框架页，
   iframe 内部的独立页面(also引入user.css)不匹配，保持自身滚动 */
html:has(body .setting-container),
body:has(.setting-container) {
  height: 100%;
  margin: 0;
  overflow: hidden;
  }

/* 单列菜单容器（左侧100px偏移） */
.setting-container-single {
  padding-left: 100px;
}

/* 全宽容器（无左侧偏移） */
.setting-container-full {
  width: 100%;

  box-sizing: border-box;
  padding-left: 0;
  padding-top: 0;
}

/* =======================================
   iframe 内部页面容器（无左侧偏移）
 ======================================= */

/* 左侧菜单栏 */
.setting-menu {
  width: 100px;
  background-color: #fff;
  border-right: none !important;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
  padding-top: 20px;
  box-sizing: border-box;
  height: calc(100vh - 75px);
  position: fixed !important;
  left: 0;
  top: 75px;
  z-index: 999;
  overflow-y: auto;
}

/* =======================================
   左侧第二列：文字功能菜单
 ======================================= */
.func-second-menu {
  width: 140px;
  height: calc(100vh - 75px);
  background: #fff;
  border-right: 1px solid #f0f0f0;
  position: fixed;
  left: 100px;
  top: 75px;
  z-index: 998;
  overflow-y: auto;
  padding: 20px 0;
}

.func-second-menu .item {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.func-second-menu .item.active {
  background: #e8f4ff;
  color: #1687ff;
  border-left: 3px solid #1687ff;
}

.func-second-menu .item:hover {
  background: #f8f8f8;
}

/* 菜单选项样式 - 强制图标在上、文字在下 */
.menu-item {
  display: block; /* 改为block，避免flex布局意外影响 */
  color: #333;
  font-size: 12px;
  border-left: 3px solid transparent;
  margin: 0 5px;
  margin-bottom: 5px; /* 菜单之间增加轻微间距，更清晰 */
}

/* 菜单链接样式 - 核心：强制图标在上、文字在下 */
.menu-item a {
  display: block; /* 块级元素，确保垂直布局 */
  width: 100%;
  padding: 15px 0;
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center; /* 整体居中 */
}

/* 图标容器：单独控制位置，确保在上 */
.menu-item a .menu-icon {
  display: block; /* 独占一行，确保在上 */
  font-size: 33px !important;
  margin: 0 auto 8px auto; /* 水平居中，与文字保持8px间距 */
  line-height: 1; /* 消除行高影响 */
}

/* 文字容器：独占一行，确保在下 */
.menu-item a span {
  display: block; /* 独占一行，确保在下 */
  line-height: 1; /* 消除行高影响 */
}

/* 菜单激活态 */
.menu-item.active {
  border-left-color: #1687ff;
  color: #1687ff;
  background-color: #e8f4ff;
  border-radius: 4px;
}

/* 菜单hover效果 */
.menu-item a:hover {
  background-color: #f5f5f5;
  border-radius: 4px;
}

/* 激活态链接颜色 */
.menu-item.active a {
  color: #1687ff;
}

/* 右侧内容容器：带5px margin + 精致样式 */
.setting-content {
  width: 100%;
  background-color: #fff;
  border-radius: 0;
  border: 1px solid #f0f0f0;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  /*padding: 25px;*/
  box-sizing: border-box;
  height: 100%;
  overflow-y: auto !important;
  overflow-x: hidden;
  position: relative;
  z-index: 1;

}

/* 内容标题样式 */
.content-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f5f5f5;
}

/* =======================================
   表单样式
 ======================================= */
.base-setting-form {
  margin: 0 auto;
  padding-bottom: 40px;
}

.logo-preview {
  margin-top: 10px;
  width: 300px;
  height: 80px;
  border: 1px dashed #e0e0e0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.video-preview {
  margin-top: 10px;
  max-width: 200px;
  height: 120px;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-preview video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.img-preview {
  margin-top: 10px;
   margin-bottom: 10px;
  max-width: 200px;
  height: 120px;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

/* 滚动条样式优化 */
.setting-content::-webkit-scrollbar {
  width: 8px;
  margin-right: 5px;
}
.setting-content::-webkit-scrollbar-thumb {
  background-color: #e0e0e0;
  border-radius: 4px;
  border: 2px solid #fff;
}
.setting-content::-webkit-scrollbar-track {
  background-color: #f9f9f9;
  border-radius: 4px;
}
/* 分页样式 */
#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 0;
}

#pagination button,
#pagination .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#pagination button:hover:not(:disabled) {
    background-color: var(--main-light);
    border-color: var(--main-color);
    color: var(--main-color);
}

#pagination button.active {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

#pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 页码数字样式 */
#pagination .page-numbers {
    display: inline-flex;
    gap: 6px;
    margin: 0 8px;
}

#pagination .page-number {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

#pagination .page-number:hover {
    background-color: var(--main-light);
    border-color: var(--main-color);
    color: var(--main-color);
}

#pagination .page-number.active {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

/* 跳转输入框样式 */
#pagination .page-jump {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
}

#pagination .page-jump input {
    width: 60px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px;
}

#pagination .page-jump button {
    height: 36px;
    padding: 0 12px;
}

/* 简洁版分页（只显示上一页/下一页） */
#pagination.simple {
    gap: 12px;
}

/* =======================================
   以下是从各页面内联CSS收集的样式
 ======================================= */

/* index/index.html - 活动卡片样式 */
.activity-card {
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}
.activity-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
    border-color: #f0f0f0 !important;
}
.activity-card:hover .card-top-bar {
    opacity: 0.95 !important;
}
.badge-pro {
    color: #000000 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}
.badge-user {
    color: #fff !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}
.badge-remark {
    background: #e6a23c !important;
    color: #fff !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}
.badge-admin {
    background: #f76767 !important;
    color: #fff !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}
.badge-wx {
    background: #07c160 !important;
    color: #fff !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}
.badge-guishu {
    background: #999 !important;
    color: #fff !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}
.card-top-bar span {
    cursor: pointer !important;
    user-select: none !important;
}



/* huodong/gongneng.html - 功能卡片样式 */
.func-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 20px;
}
.func-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    cursor: move;
}
.func-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border-color: #1890ff;
}
.func-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.func-top img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.func-top .name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
.func-desc {
    font-size: 12px;
    color: #999;
    margin-bottom: 14px;
    line-height: 1.4;
}
.func-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
.func-bottom a {
    color: #666;
    text-decoration: none;
}
.func-bottom a:hover {
    color: #1890ff;
}
.func-switch {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 20px;
    background: #e5e6eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.func-switch.on {
    background: #1890ff;
}
.func-switch .dot {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.2s ease;
}
.func-switch.on .dot {
    left: 18px;
}
.func-sort {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 12px;
    color: #666;
}
.sortable-ghost {
    background: #e6f7ff !important;
    border-color: #1890ff !important;
    opacity: 0.5;
}

/* layui-tab样式 */
.layui-tab-title .layui-this:after {
    border-bottom: 2px solid #5FB878 !important;
    bottom: -1px !important;
}
.layui-tab-title .layui-this {
    color: #5FB878 !important;
}
.layui-tab-title li:hover {
    color: #5FB878 !important;
}
.layui-tab-title {
    border-bottom-color: #e6e6e6;
}
.layui-tab-content {
    padding: 30px 10px 0px 0px;
    border-radius: 5px;
    border: 1px solid #f0f0f0;
}

/* 音乐预览样式 */
.music-preview {
    margin-top: 10px;
}
.file-input {
    margin-top: 10px;
}

/* 颜色选择器容器样式 */
.colorpicker-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* gongneng/zuowei/data.html - 表单字段样式 */
.field-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    margin: 0;
    line-height: 38px;
}
.field-checkbox input {
    margin: 0;
    vertical-align: middle;
}
.field-checkbox span {
    font-size: 14px;
    vertical-align: middle;
}
.table-field {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.table-field th,
.table-field td {
    padding: 10px;
    border: 1px solid #eee;
    text-align: left;
}
.table-field th {
    background-color: #f5f5f5;
    font-weight: bold;
}
.table-field input[type="text"] {
    width: 100%;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.table-field input[type="number"] {
    width: 60px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.table-field .action-btn {
    display: flex;
    gap: 5px;
}
.table-field .action-btn .layui-btn {
    height: 32px;
    line-height: 32px;
    padding: 0 10px;
    font-size: 12px;
}

/* gongneng/qiandao/partials/home.html */
.spa-page-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#pagination.simple button {
    padding: 0 20px;
}

/* 信息显示 */
#pagination .page-info {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0 12px;
}

/* =======================================
   右侧内部布局（垂直菜单 + 内容）
 ======================================= */
.inner-container {
  display: flex;
  height: 100%;
}

.inner-form-container {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 20px;
  height: 100%;
  }

.inner-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
  display: block;
}
/* 自动判断：没有 func-second-menu 时，setting-content 紧贴左侧菜单 */
.setting-container:not(:has(.func-second-menu)) {
  padding-left: 100px !important; /* 菜单宽度 100px */
}
.setting-container:not(:has(.func-second-menu)) .setting-content {
  margin-left: 0 !important;
}
/* =======================================
   �� zuowei.css �ϲ�����ʽ
======================================= */

/* �ڲ�����ȫ������ */
.inner-form-full {
  flex: 1;
  padding: 0 !important;       /* ȥ���ڱ߾� */
  overflow-y: auto !important;  /* �������� */
  display: flex;
  align-items: center;          /* ��ֱ���� */
  justify-content: center;      /* ˮƽ���� */
  min-height: 100%;
}

/* �ڲ���߲˵� */
.inner-side-menu {
  width: 140px;
  background: #fff;
  border-right: 1px solid #f0f0f0;
  flex-shrink: 0;
  }

.inner-menu-item {
  display: block;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
}

.inner-menu-item.active {
  background: #1E9FFF;
  color: #fff;
}

/* ���� */
.block-title {
  font-size: 20px;
  color: #333;
}

/* ���� & ���� */
.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.btn-group {
  display: flex;
  gap: 8px;
}

.search-filter-container {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.search-filter-container .layui-form-item {
  margin: 0;
  display: flex;
  align-items: center;
}

.search-filter-container .layui-form-label {
  padding: 0 10px 0 0;
  line-height: 38px;
  width: auto;
}

.layui-table-cell {
  height: auto !important;
  line-height: 28px !important;
}

/* ����Ԥ�� */
.music-preview {
  margin-top: 10px;
  width: 100%;
  max-width: 400px;
  height: 60px;
  border: 1px dashed #e0e0e0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eee;
}

/* ��ά��ҳ������ */
.qrcode-card {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.qrcode-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.qrcode-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.qrcode-box {
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 16px;
  display: inline-block;
}

.qrcode-box img {
  width: 300px;
  height: 300px;
  border-radius: 8px;
}

.qrcode-tip {
  margin-top: 15px;
  font-size: 13px;
  color: #999;
}

/* 统一所有弹窗（layer 层）内的表单标签宽度 + 禁止换行，与设置页一致 */
.layui-layer .layui-form-label {
  width: 140px !important;
  white-space: nowrap !important;
  text-align: right !important;
  padding-right: 10px !important;
}
.layui-layer .layui-form-label + .layui-input-block {
  margin-left: 170px !important;
}
.layui-layer .layui-form-label + .layui-input-inline {
  margin-left: 155px !important;
}
.layui-layer .layui-form-item .layui-form-label + .layui-input-block:has([type="checkbox"][lay-skin="switch"]) {
  margin-left: 170px !important;
  padding-left: 0 !important;
}
