/* ============================================================
   CCMA 报送表单 - 整体样式
   品牌色: #B08843 (主) / #C09119 (亮) / #8B6914 (暗)
   ============================================================ */

/* ---------- 品牌变量 ---------- */
:root {
    --gold: #C09119;
    --gold-hover: #a87d15;
    --gold-light: #FBF4E3;
    --gold-lighter: #FDF8EF;
    --text-primary: #333;
    --text-secondary: #666;
    --text-muted: #999;
    --border: #e0e0e0;
    --border-light: #f0f0f0;
    --bg-page: #f5f5f5;
    --bg-white: #ffffff;
    --radius: 6px;
    --radius-lg: 10px;
}

/* ---------- 侧边栏 / 导航栏覆盖 ---------- */
.skin-blue .main-header .logo { background: #fff !important; }
.skin-blue .main-header .navbar { background: #fff !important; }
.skin-blue .main-header .navbar .sidebar-toggle:hover { background: #fff !important; }
.skin-blue .main-header .navbar .nav > li > a { color: #475669 !important; }
.main-header .sidebar-toggle:before { color: #000; }
.main-header { border-bottom: 1px solid #ddd; }

.skin-blue .wrapper,
.skin-blue .main-sidebar,
.skin-blue .left-side { background: #fff !important; }
.skin-blue .sidebar-menu > li:hover > a,
.skin-blue .sidebar-menu > li.active > a { background: #fff !important; color: #475669 !important; }
.skin-blue .sidebar a { color: #000 !important; font-weight: bold; }
.skin-blue .sidebar-menu > li > .treeview-menu { background: #fff !important; color: #475669 !important; }
.skin-blue .treeview-menu > li > a { font-weight: normal !important; }
.skin-blue .treeview-menu > li.active > a,
.skin-blue .treeview-menu > li > a:hover { color: var(--gold) !important; }
.skin-blue .main-header .navbar .sidebar-toggle:hover { background: #fff !important; }

.main-sidebar { border-right: 1px solid #ddd; }
.content-wrapper, .right-side { background: var(--bg-page) !important; }

/* ============================================================
   页面布局
   ============================================================ */
.content {
    width: 100%;
    padding: 0 !important;
}

.containerMain {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 48px;
}

/* ============================================================
   SmartWizard 步骤导航
   ============================================================ */
.sw-theme-arrows > .nav {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transform: translateZ(0);
}

.sw-theme-arrows > .nav .nav-item {
    flex: 1;
}

.sw-theme-arrows > .nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px !important;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    position: relative;
    text-decoration: none;
    will-change: background-color, color;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* 步骤编号圆圈 */
.sw-theme-arrows > .nav .nav-link .num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    background: var(--border-light);
    color: var(--text-muted);
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* 默认步骤（未激活） */
.sw-theme-arrows > .nav .nav-link.default {
    background: #fafafa;
}

/* 覆盖 SmartWizard 库的 transition: all，减少卡顿 */
.sw-theme-arrows > .nav .nav-link::after,
.sw-theme-arrows > .nav .nav-link::before {
    transition: border-color 0.2s ease !important;
}

.sw-theme-arrows > .nav .nav-link.default::after {
    border-left-color: #fafafa !important;
}

/* 当前激活步骤 */
.sw-theme-arrows > .nav .nav-link.active {
    background: var(--gold) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
}

.sw-theme-arrows > .nav .nav-link.active::after {
    border-left-color: var(--gold) !important;
}

.sw-theme-arrows > .nav .nav-link.active .num {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* 已完成步骤 */
.sw-theme-arrows > .nav .nav-link.done {
    background: var(--gold-light) !important;
    color: var(--gold) !important;
}

.sw-theme-arrows > .nav .nav-link.done::after {
    border-left-color: var(--gold-light) !important;
}

.sw-theme-arrows > .nav .nav-link.done .num {
    background: var(--gold);
    color: #fff;
}

/* 进度条 */
.sw > .progress {
    height: 3px;
    border-radius: 0;
    margin-top: 0;
    background: var(--border-light);
}

.sw > .progress > .progress-bar {
    background: var(--gold);
    transition: width 0.3s ease;
    will-change: width;
}

/* ============================================================
   内容区容器
   SmartWizard 源码给 .sw>.tab-content 加了 overflow:hidden，
   导致底部内容（案例视频等）被裁掉，这里覆盖为 visible
   ============================================================ */
.sw > .tab-content {
    overflow: visible !important;
    height: auto !important;
    padding: 24px 32px 48px;
    background: var(--bg-white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sw > .tab-content > .tab-pane {
    padding: 0;
}

/* ============================================================
   表单基础
   ============================================================ */
.containerMain .form-group {
    margin-bottom: 0;
}

.form-group.row {
    margin-left: 0;
    margin-right: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.form-group.row:first-child {
    padding-top: 0;
}

.form-group.row:last-child {
    border-bottom: none;
}

/* Label */
.containerMain .form-group label.col-form-label,
.containerMain .form-group label.control-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    padding-top: 7px;
}

/* 列宽: 使用 Bootstrap 4 原生 col-lg-2 + col-lg-8 / col-lg-10 */

/* ============================================================
   输入框
   ============================================================ */
.form-control {
    border-color: var(--border) !important;
    border-radius: var(--radius) !important;
    height: 40px;
    font-size: 14px;
    padding: 6px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 2px rgba(192, 145, 25, 0.12) !important;
}

textarea.form-control {
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* ============================================================
   提示文字
   ============================================================ */
.text-danger {
    font-size: 13px;
    color: #e74c3c !important;
}

.spanTi {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    display: inline-block;
}

.text-info {
    color: #610000 !important;
    font-size: 13px;
}

/* ============================================================
   区块标题 (bg-light)
   ============================================================ */
.form-group.bg-light {
    background: var(--gold-lighter) !important;
    border-radius: var(--radius-lg);
    border: none !important;
    border-bottom: none !important;
    margin: 20px 0 8px 0;
    padding: 16px 24px !important;
}

.form-group.bg-light .font-weight-bold {
    color: var(--text-primary);
    font-size: 15px;
}

.form-group.bg-light .text-danger.font-weight-bold {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
}

/* ============================================================
   提示区块 (重要说明)
   ============================================================ */
.zhu_dao {
    background: var(--gold-lighter);
    padding: 14px 20px !important;
    border-radius: var(--radius);
    border-left: 4px solid var(--gold);
    color: #8B6914;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 4px;
}

/* ============================================================
   Radio / Checkbox
   ============================================================ */
.tou_radio label {
    margin-right: 18px;
    cursor: pointer;
}

.tou_radio label input {
    margin-right: 5px;
}

.checkbox-inline {
    margin-left: 10px;
}

.checkbox-inline input {
    margin-right: 5px;
}

.custom-control-label::before { top: auto; }
.custom-control-label::after { top: 0; }

/* ============================================================
   按钮
   ============================================================ */
.btn-primary {
    background-color: var(--gold);
    border-color: var(--gold);
    border-radius: var(--radius);
    transition: all 0.2s;
}

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

.bthColorCcma {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #fff !important;
    border-radius: var(--radius) !important;
    font-size: 14px;
    padding: 7px 22px;
    transition: all 0.2s;
}

.bthColorCcma:hover {
    background-color: var(--gold-hover) !important;
    border-color: var(--gold-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(192, 145, 25, 0.25);
}

/* 删除按钮 */
.container-fluid .form-group .btn-danger {
    background: var(--bg-white);
    color: #dd4b39;
    border: 1px solid #dd4b39;
    border-radius: 4px;
    font-size: 13px;
    padding: 4px 14px;
    transition: all 0.15s;
}

.container-fluid .form-group .btn-danger:hover {
    background: #dd4b39;
    color: #fff;
}

/* Wizard 底部按钮 */
.sw .toolbar > .sw-btn {
    background-color: var(--gold);
    border-color: var(--gold);
    border-radius: var(--radius);
    min-width: 100px;
    transition: all 0.2s;
}

.sw .toolbar > .sw-btn:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
}

/* 添加人员按钮 */
#add_person {
    height: 40px;
    min-width: 100px;
    border: 0;
    font-size: 14px;
    border-radius: var(--radius);
}

/* ============================================================
   Step 3 - 网盘信息输入区
   3个input竖排 + 添加按钮在右侧垂直居中
   ============================================================ */
.cloud-form-wrapper {
    display: flex;
    align-items: center;
}

.cloud-inputs {
    flex: 1;
    min-width: 0;
}

.cloud-btn-wrap {
    flex: 0 0 auto;
    padding-left: 20px;
}

.cloud-btn-wrap .btn {
    height: 40px;
    min-width: 100px;
    white-space: nowrap;
}

/* ============================================================
   表格
   ============================================================ */
.table-bordered {
    border: 1px solid #ebeef5;
    border-radius: var(--radius);
    overflow: hidden;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #fafafa !important;
}

.table-striped > tbody > tr:hover {
    background-color: var(--gold-light) !important;
    transition: background-color 0.15s;
}

thead {
    background: #f7f7f7;
}

thead th {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    border-bottom-width: 1px !important;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================================
   Summernote 编辑器
   ============================================================ */
.note-editor {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
    width: 100% !important;
}

.note-editor .note-toolbar {
    background: #fafafa !important;
    border-bottom: 1px solid #ebeef5 !important;
    padding: 8px 10px !important;
}

.note-editor .note-editing-area .note-editable {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-primary);
    min-height: 260px;
    padding: 12px 14px;
}

.note-editor:focus-within {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 2px rgba(192, 145, 25, 0.12);
}

/* ============================================================
   已选公司 / 品牌表格
   使用 Bootstrap col-lg-10 自然撑满，不再限制宽度
   ============================================================ */
.agent-class-1 table,
.brand-class-1 table {
    width: 100%;
}

/* ============================================================
   Step 2 - 奖项选择
   ============================================================ */
/* 奖项3级联动 + 添加按钮 同行排列 */
.prize-cascade-row {
    flex-wrap: nowrap;
}

.prize-cascade-row .col-auto {
    padding-left: 6px;
    padding-right: 6px;
    flex: 1 1 0;
    min-width: 0;
}

.prize-cascade-row .col-auto .form-control {
    width: 100%;
    min-width: 120px;
}

/* 添加奖项按钮列不要拉伸 */
.prize-cascade-row .col-auto:last-child {
    flex: 0 0 auto;
}

/* 专项信息区块 */
[id^="classType_"] .page-header {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 8px;
    margin: 24px 0 16px 0;
}

[id^="classType_"] .form-group.row {
    padding-left: 12px;
    padding-right: 12px;
}

/* ============================================================
   Step 4 - 人员信息
   label + input 两列布局: col-lg-1(label) + col-lg-4(input) + col-lg-1(label) + col-lg-4(input)
   ============================================================ */

/* 第4步首个标题块 */
#step-4 .step4-header {
    border-bottom: none !important;
}

.form-group_new {
    align-items: center;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.form-group_new label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    text-align: right;
    padding-right: 8px;
}

.form-group_new .form-control {
    width: 100%;
}

#add_person {
    margin-top: 2px;
}

/* ============================================================
   费用显示
   ============================================================ */
.font-weight-bold {
    font-size: 15px;
}

.charges {
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
}

/* ============================================================
   弹窗提示
   ============================================================ */
#divInfo,
#divInfo1,
#divInfo2,
#divInfo3,
#divInfo4,
#divInfo5,
#divInfo6,
#divInfo7,
#divInfo8 {
    position: absolute;
    display: none;
    width: 265px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: var(--bg-white);
    padding: 16px;
    line-height: 20px;
    top: 40px;
    z-index: 999999999999;
    font-size: 13px;
    text-align: justify;
    font-weight: normal;
    left: 10px;
    border-radius: var(--radius);
}

/* ============================================================
   首页相关
   ============================================================ */
.b_span {
    background: rgba(192, 145, 25, 0.1);
    border: 1px solid var(--gold);
    color: #B08843 !important;
    padding: 10px;
}

.td_judge {
    color: #B08843 !important;
}

.b_img {
    cursor: pointer;
}

.panel-info > .panel-heading {
    color: var(--gold) !important;
    background: rgba(192, 145, 25, 0.1) !important;
    display: inline-block !important;
    border-radius: 2px !important;
    padding: 5px 40px !important;
    border: 1px solid var(--gold);
    margin-left: 15px;
}

.panel-info {
    border: none;
}

.panel-footer {
    background: var(--bg-white) !important;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    background: var(--gold);
    color: #fff !important;
    border: 1px solid var(--gold) !important;
}

.panel-headMain {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.panel-title {
    margin-right: 20px;
}

.pic_p {
    height: 35px !important;
    width: 100%;
}

.caption {
    padding: 10px;
}

.thumbnail a > img,
.thumbnail > img {
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: transform 1s ease;
}

.thumbnail a > img:hover {
    transform: scale(1.1);
}

/* ============================================================
   金瞳奖页面标题（列表页等复用）
   ============================================================ */
.jintong {
    background: var(--bg-white);
    padding: 20px 0;
    text-align: center;
    border: 0;
    margin-top: 26px;
}

.jintong .mb-0 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
}

/* ============================================================
   参赛须知页
   ============================================================ */
.ccma-notice {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.ccma-notice-header {
    background: var(--gold);
    padding: 16px 32px;
    text-align: center;
}

.ccma-notice-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.ccma-notice-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin: 4px 0 0;
}

.ccma-notice-body {
    padding: 32px;
}

.ccma-rule {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.ccma-rule:last-child {
    margin-bottom: 0;
}

.ccma-rule-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.ccma-rule-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.ccma-notice-footer {
    border-top: 1px solid var(--border-light);
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ccma-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    user-select: none;
}

.ccma-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
}

#submitButton {
    width: 272px;
    height: 48px;
    background: var(--gold);
    border-radius: var(--radius);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.15s;
}

#submitButton:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(192, 145, 25, 0.25);
}

/* 参赛须知页响应式 */
@media (max-width: 768px) {
    .ccma-notice-header {
        padding: 20px;
    }

    .ccma-notice-title {
        font-size: 18px;
    }

    .ccma-notice-body {
        padding: 20px;
    }

    .ccma-rule {
        gap: 12px;
        margin-bottom: 20px;
    }

    .ccma-rule-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .ccma-notice-footer {
        padding: 20px;
    }

    #submitButton {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================================
   列表页
   ============================================================ *//* ============================================================
   杂项修正
   ============================================================ */
.content-wrapper {
    display: flex;
}

.card-body {
    margin-bottom: 3rem;
}

.container-fluid .form-group .spanTi {
    margin-top: 4px;
    display: inline-block;
}

.container-fluid .form-group table {
    margin-bottom: 0 !important;
}

.container-fluid .form-group .btn-danger .align-items-center {
    align-items: flex-start;
}

/* ============================================================
   响应式
   ============================================================ */

/* ---------- 大屏自适应 (> 1400px) ---------- */
@media (min-width: 1400px) {
    .containerMain {
        max-width: 1600px;
        padding: 32px 80px;
    }
}

/* ---------- 中等屏幕 (768px ~ 992px) ---------- */
@media (max-width: 992px) {
    .containerMain {
        padding: 20px 16px;
    }

    .sw > .tab-content {
        padding: 16px 20px 32px;
    }

    .form-group_new .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 4px;
    }

    /* 步骤导航缩小 */
    .sw-theme-arrows > .nav .nav-link {
        padding: 14px 12px !important;
        font-size: 13px;
        gap: 6px;
    }

    .sw-theme-arrows > .nav .nav-link .num {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

/* ---------- 小屏幕 (< 768px) ---------- */
@media (max-width: 768px) {
    .containerMain {
        padding: 12px 8px;
    }

    /* 步骤导航：横向可滚动 */
    .sw-theme-arrows > .nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .sw-theme-arrows > .nav::-webkit-scrollbar {
        display: none;
    }

    .sw-theme-arrows > .nav .nav-item {
        flex: 0 0 auto;
        min-width: 120px;
    }

    .sw-theme-arrows > .nav .nav-link {
        padding: 12px 10px !important;
        font-size: 12px;
        gap: 4px;
        white-space: nowrap;
    }

    .sw-theme-arrows > .nav .nav-link .num {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    /* 箭头指示器缩小 */
    .sw-theme-arrows > .nav .nav-link::after {
        border-width: 20px 0 20px 10px !important;
    }

    /* 内容区 */
    .sw > .tab-content {
        padding: 12px 12px 24px;
    }

    /* 表单行：label 和 input 竖排 */
    .form-group.row {
        flex-direction: column;
        padding: 12px 0;
    }

    .containerMain .form-group label.col-form-label,
    .containerMain .form-group label.control-label {
        text-align: left !important;
        padding-top: 0;
        margin-bottom: 6px;
    }

    .form-group.row > [class*="col-lg-"],
    .form-group.row > [class*="col-md-"] {
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* 人员信息双列变单列 */
    .form-group_new {
        flex-direction: column;
    }

    .form-group_new [class*="col-lg-"] {
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 8px;
    }

    .form-group_new label {
        text-align: left !important;
        margin-bottom: 4px;
    }

    /* 奖项三级联动换行 */
    .prize-cascade-row {
        flex-wrap: wrap !important;
    }

    .prize-cascade-row .col-auto {
        flex: 0 0 100% !important;
        min-width: 0 !important;
        margin-bottom: 8px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .prize-cascade-row .col-auto .form-control {
        min-width: 0;
    }

    /* 表格横向滚动 */
    .table-bordered,
    .table-striped {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* 提示区块 */
    .zhu_dao {
        font-size: 13px;
        padding: 10px 14px !important;
        line-height: 1.6;
    }

    /* 按钮区域 */
    .sw .toolbar {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .sw .toolbar > .sw-btn {
        min-width: 80px;
        font-size: 13px;
        padding: 6px 16px;
    }

    /* 网盘表单 */
    .cloud-form-wrapper {
        flex-direction: column;
    }

    .cloud-btn-wrap {
        padding-left: 0;
        margin-top: 10px;
        text-align: center;
    }

    /* 模态框 */
    .modal-content {
        width: 95vw !important;
        max-width: 800px;
        margin: 0 auto;
    }
}

/* ---------- 超小屏幕 (< 480px) ---------- */
@media (max-width: 480px) {
    .containerMain {
        padding: 8px 4px;
    }

    .sw-theme-arrows > .nav .nav-item {
        min-width: 100px;
    }

    .sw-theme-arrows > .nav .nav-link {
        padding: 10px 6px !important;
        font-size: 11px;
        gap: 3px;
    }

    .sw > .tab-content {
        padding: 8px 8px 20px;
    }

    .form-group.row {
        padding: 10px 0;
    }

    .form-control {
        height: 36px;
        font-size: 13px;
    }

    textarea.form-control {
        min-height: 100px;
    }

    .sw .toolbar > .sw-btn {
        min-width: 70px;
        font-size: 12px;
    }
}

/* ============================================================
   列表页专用样式
   ============================================================ */

/* ---------- 调研通知条 ---------- */
.survey-notice {
    background: var(--gold-lighter);
    border: 1px solid var(--gold);
    color: var(--gold-hover);
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.survey-notice a {
    background-color: var(--gold);
    color: #fff;
    padding: 4px 16px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 13px;
    transition: background-color 0.2s;
}

.survey-notice a:hover {
    background-color: var(--gold-hover);
    color: #fff;
}

/* ---------- 统计卡片 ---------- */
.ccma-header {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 24px;
    margin-bottom: 16px;
}

.ccma-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ccma-header-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    padding-left: 14px;
    border-left: 4px solid var(--gold);
}

.ccma-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ccma-stat-card {
    background: var(--gold-lighter);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.ccma-stat-card .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}

.ccma-stat-card .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---------- 列表表格 ---------- */
.ccma-list-table {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.ccma-list-table table {
    margin-bottom: 0 !important;
}

.ccma-list-table thead th {
    background: #f7f7f7;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    border-bottom-width: 1px !important;
    white-space: nowrap;
    padding: 14px 16px;
}

.ccma-list-table tbody td {
    vertical-align: middle;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 12px 16px;
}

.ccma-list-table tbody tr:hover {
    background-color: var(--gold-lighter) !important;
    transition: background-color 0.15s;
}

/* 操作按钮 */
.ccma-list-table .btn-sm {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: var(--radius);
    margin-right: 4px;
}

.ccma-list-table .btn-view,
.ccma-list-table .btn-edit {
    background: var(--bg-white);
    color: var(--gold);
    border: 1px solid var(--gold);
}

.ccma-list-table .btn-view:hover,
.ccma-list-table .btn-edit:hover {
    background: var(--gold);
    color: #fff;
}

.ccma-list-table .btn-del {
    background: var(--bg-white);
    color: #dd4b39;
    border: 1px solid #dd4b39;
}

.ccma-list-table .btn-del:hover {
    background: #dd4b39;
    color: #fff;
}

.ccma-list-table .btn-disabled {
    background: #f5f5f5;
    color: #bbb;
    border: 1px solid #ddd;
    cursor: not-allowed;
}

/* 分页区域 */
.ccma-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--border-light);
    background: #fafafa;
}

/* ---------- 列表页响应式 ---------- */
@media (max-width: 992px) {
    .ccma-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ccma-header {
        padding: 16px;
    }

    .ccma-header-top {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .ccma-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ccma-stat-card {
        padding: 12px;
    }

    .ccma-stat-card .stat-value {
        font-size: 18px;
    }

    .ccma-list-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ccma-list-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .ccma-stat-card .stat-value {
        font-size: 16px;
    }

    .ccma-stat-card .stat-label {
        font-size: 12px;
    }
}

/* ============================================================
   作品详情页
   ============================================================ */
.ccma-detail {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.ccma-detail-header {
    background: var(--gold);
    padding: 18px 32px;
    text-align: center;
}

.ccma-detail-name {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.4;
}

.ccma-detail-meta {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.ccma-detail-meta .sep {
    margin: 0 8px;
    opacity: 0.4;
}

.ccma-detail-body {
    padding: 32px;
}

/* 区块 */
.ccma-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.ccma-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ccma-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 24px;
    padding-left: 16px;
    border-left: 4px solid var(--gold);
}

.ccma-sub-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

/* 基础信息网格 */
.ccma-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.ccma-info-card {
    background: var(--gold-lighter);
    border-radius: var(--radius);
    padding: 16px 20px;
}

.ccma-info-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ccma-info-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
    word-break: break-all;
}

/* 文章式内容展示 */
.ccma-article {
    margin-bottom: 28px;
}

.ccma-article:last-child {
    margin-bottom: 0;
}

.ccma-article-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
    margin: 0 0 12px;
    padding: 0;
}

.ccma-article-body {
    font-size: 15px;
    line-height: 2;
    color: var(--text-secondary);
    word-wrap: break-word;
}

/* 导图 */
.ccma-main-img {
    display: block;
    max-width: 820px;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* 图片网格 - 适配横竖图混排 */
.ccma-img-grid {
    columns: 3 280px;
    column-gap: 16px;
}

.ccma-img-grid img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    break-inside: avoid;
}

/* 视频列表 */
.ccma-video-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.ccma-video-list video {
    display: block;
    width: 100%;
    border-radius: var(--radius);
    background: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 表格 */
.ccma-detail-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.ccma-detail-table {
    width: 100%;
    margin-bottom: 0 !important;
}

.ccma-detail-table thead th {
    background: #f7f7f7;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
}

.ccma-detail-table tbody td {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 10px 16px;
    vertical-align: middle;
}

.ccma-detail-table tbody a {
    color: var(--gold);
    text-decoration: none;
    word-break: break-all;
}

.ccma-detail-table tbody a:hover {
    text-decoration: underline;
}

.ccma-detail-table .price {
    font-weight: 600;
    color: var(--text-primary);
}

.ccma-total-row {
    background: var(--gold-lighter);
}

.ccma-total-row td {
    font-weight: 600;
    color: var(--text-primary);
}

.ccma-total-row .price-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
}

/* PDF 按钮 */
.ccma-pdf-btn {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    padding: 10px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
}

.ccma-pdf-btn:hover {
    background: var(--gold-hover);
    color: #fff;
    text-decoration: none;
}

/* 人员卡片 */
.ccma-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.ccma-person-card {
    background: var(--bg-page);
    border-radius: var(--radius);
    padding: 16px 20px;
    border: 1px solid var(--border-light);
}

.ccma-person-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ccma-person-role {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 8px;
}

.ccma-person-contact {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- 详情页响应式 ---------- */
@media (max-width: 992px) {
    .ccma-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ccma-detail-header {
        padding: 20px;
    }

    .ccma-detail-name {
        font-size: 20px;
    }

    .ccma-detail-body {
        padding: 20px;
    }

    .ccma-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ccma-section {
        margin-bottom: 28px;
        padding-bottom: 24px;
    }

    .ccma-section-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .ccma-img-grid {
        columns: 2 200px;
    }

    .ccma-video-list {
        grid-template-columns: 1fr;
    }

    .ccma-people-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ccma-detail-body {
        padding: 16px;
    }

    .ccma-img-grid {
        columns: 1;
    }

    .ccma-people-grid {
        grid-template-columns: 1fr;
    }
}
