﻿/* 底部导航栏样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid #eaeaea;
}

    .bottom-nav .nav-item {
        text-align: center;
        color: #666;
        font-size: 8px; /* 缩小文字 */
        text-decoration: none;
        flex: 1;
    }

        .bottom-nav .nav-item i {
            font-size: 28px; /* 放大图标 */
            display: block;
            margin-bottom: 5px;
        }

        .bottom-nav .nav-item.active,
        .bottom-nav .nav-item:hover {
            color: #007bff; /* 蓝色着色 */
            font-weight: bold; /* 可选：加粗文字 */
        }

/* 个人中心页面样式 - 修改为铺满全屏 */
.profile-container {
    padding-top: 6px;
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(149deg, #acbcff 0%, #e2f6ff 100%);
    box-sizing: border-box;
    padding-bottom: 69px;
}

/* 内容区域容器 */
.profile-content {
    padding: 20px 15px 0;
    max-width: 100%;
}

/* 头部用户信息卡片 */
.profile-header {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin: 0 15px 20px; /* 左右边距保持间隙 */
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-avatar {
    margin-bottom: 16px;
}

.avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.profile-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 8px 0 4px;
}

.profile-username {
    color: #666;
    font-size: 14px;
    margin: 0 0 12px;
}

.profile-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.org-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.platform-badge {
    background: linear-gradient(135 extreme, #f093fb 0%, #f5576c 100%);
    color: white;
}

/* 统计数据容器 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 15px 20px; /* 左右边距保持间隙 */
}

.stats-item {
    background: white;
    border-radius: 12 extreme;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

    .stats-item:active {
        transform: scale(0.98);
    }

.stats-number {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* 菜单容器 */
.menu-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 15px; /* 左右边距保持间隙 */
}

.menu-section {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-item:hover {
        background: #f8f9fa;
    }

    .menu-item:active {
        background: #e9ecef;
        transform: scale(0.99);
    }

.menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    background: linear-gradient(135deg, #b0bfff 0%, #f0e7fa 100%);
    color: white;
    font-size: 18px;
}

.menu-content {
    flex: 1;
}

.menu-title {
    color: #333;
    margin-bottom: 2px;
}

.menu-subtitle {
    font-size: 12px;
    color: #666;
}

.menu-arrow {
    color: #ccc;
    font-size: 16px;
}

/* 退出登录特殊样式 */
.logout-item .menu-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.logout-item .menu-title {
    color: #ff6b6b;
}

/* PC端优化 */
@media (min-width: 1024px) {
    .profile-container {
        padding-bottom: 40px; /* PC端不需要为底部导航栏留空间 */
    }

    .profile-header,
    .stats-container,
    .menu-container {
        max-width: 800px; /* PC端限制最大宽度 */
        margin-left: auto;
        margin-right: auto;
    }

    .profile-header {
        margin: 20px auto;
    }

    .stats-container {
        margin: 0 auto 20px;
    }

    .menu-container {
        margin: 0 auto;
    }
}

/* 平板端优化 */
@media (min-width: 769px) and (max-width: 1023px) {
    .profile-header {
        margin: 0 30px 20px;
    }

    .stats-container {
        margin: 0 30px 20px;
    }

    .menu-container {
        margin: 0 30px;
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .profile-header {
        margin: 0 10px 16px;
        padding: 20px;
    }

    .stats-container {
        gap: 8px;
        margin: 0 10px 16px;
    }

    .stats-item {
        padding: 16px 12px;
    }

    .menu-container {
        margin: 0 10px;
    }

    .menu-item {
        padding: 14px 16px;
    }

    .menu-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .profile-header {
        margin: 0 5px 12px;
        padding: 16px;
    }

    .stats-container {
        margin: 0 5px 12px;
    }

    .menu-container {
        margin: 0 5px;
    }

    .avatar-img {
        width: 70px;
        height: 70px;
    }

    .profile-name {
        font-size: 18px;
    }

    .stats-number {
        font-size: 20px;
    }
}

/* 表单容器样式 - 居中响应式，边缘预留3% */
.form-container {
    width: 94%; /* 100% - 6%（左右各3%） */
    max-width: 800px; /* 设置最大宽度，避免在大屏幕上过宽 */
    margin: 20px auto; /* 水平居中 */
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .form-container {
        width: 94%; /* 保持3%边距 */
        margin: 10px auto;
        padding: 15px;
        max-width: none; /* 移动端不限制最大宽度 */
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .form-container {
        margin: 8px auto;
        padding: 12px;
    }
}

/* 表单标题和描述 */
.form-header {
    text-align: center; /* 水平居中 */
    flex-direction: column; /* 垂直排列内容 */
    display: flex;
    justify-content: center; /* 垂直居中 */
    align-items: center; /* 水平居中 */
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}
 

.form-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 表单组样式 */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.required-mark {
    color: #ff4757;
    margin-left: 3px;
}

/* 表单控件样式 */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

    .form-control:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

    .form-control.is-invalid {
        border-color: #dc3545;
        box-shadow: 0 extreme 0 3px rgba(220, 53, 69, 0.1);
    }

/* 浮动标签样式 */
.floating-label {
    position: relative;
    margin-bottom: 20px;
}

    .floating-label .form-control {
        padding: 20px 16px 6px 16px;
    }

    .floating-label label {
        position: absolute;
        top: 50%;
        left: 16px;
        transform: translateY(-50%);
        transition: all 0.3s ease;
        pointer-events: none;
        color: #666;
        font-size: 16px;
    }

    .floating-label .form-control:focus ~ label,
    .floating-label .form-control:not(:placeholder-shown) ~ label {
        top: 12px;
        font-size: 12px;
        color: #007bff;
        transform: translateY(0);
    }

/* 输入组样式 */
.input-group {
    display: flex;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e1e8ed;
    transition: all 0.3s ease;
}

    .input-group:focus-within {
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

.input-group-text {
    background: #f8f9fa;
    border: none;
    padding: 12px 15px;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.input-group .form-control {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

    .input-group .form-control:focus {
        box-shadow: none;
        border-color: transparent;
    }

/* 单选框和多选框样式 */
.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-item, .checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

    .radio-item:hover, .checkbox-item:hover {
        border-color: #007bff;
        background: #f8f9ff;
    }

    .radio-item.active, .checkbox-item.active {
        border-color: #007bff;
        background: #007bff;
        color: white;
    }

    .radio-item input, .checkbox-item input {
        margin-right: 10px;
        transform: scale(1.2);
    }

/* 下拉框样式 */
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    appearance: none;
}

    .form-select:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

/* 提交按钮样式 */
.submit-container {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

    .submit-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

/* 帮助文本样式 */
.help-text {
    font-size: 13px;
    color: #003d82;
    margin-top: 8px;
    line-height: 1.4;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
}

/* 验证错误样式 */
.invalid-feedback {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

/* 修复底部导航栏适配 */
body {
    padding-bottom: 80px;
    margin: 0; /* 确保body没有默认边距 */
}

/* 确保html和body都没有边距 */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* 防止水平滚动 */
}

/* H5 内页头部样式 */
.h5-inner-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    max-width: 100%;
}

.back-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    margin-right: 12px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

    .back-btn:hover {
        background-color: #f8f9fa;
    }

.page-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-align: center;
    margin-right: 44px; /* 补偿左侧按钮空间，保持标题居中 */
}

.header-actions {
    width: 44px; /* 预留右侧操作空间 */
}

/* 修改 main-content 样式 - 居中并控制最大宽度 */
.main-content {
    margin-top: 60px;
    padding: 16px;
    min-height: calc(100vh - 60px);
    max-width: 800px; /* 设置最大宽度 */
    margin-left: auto; /* 水平居中 */
    margin-right: auto; /* 水平居中 */
    width: 100%; /* 默认占满容器 */
    box-sizing: border-box;
}

/* 个人中心统计卡片点击效果 */
.stats-item.clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

    .stats-item.clickable:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

/* 表单列表页面样式 - 优化容器布局 */
.form-list-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.stats-summary {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .stats-summary .stats-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.stats-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.stats-value {
    font-size: 28px;
    font-weight: 700;
    color: #007bff;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-cl极l: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-list {
    margin-bottom: 20px;
}

.form-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

    .form-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        border-color: #007bff;
    }

 
.form-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
    margin-right: 12px;
    line-height: 1.3;
}

.form-time {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 6px;
}

.form-content {
    margin-bottom: 12px;
}

.form-preview {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.form-code {
    font-size: 12px;
    color: #007bff;
    background: #e7f3ff;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.form-status {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-normal {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.status-disabled {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.form-arrow {
    color: #007bff;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.form-item:hover .form-arrow {
    transform: translateX(3px);
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
    color: #007bff;
}

.empty-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: #666;
    font-weight: 600;
}

.empty-desc {
    font-size: 15px;
    margin: 0;
    color: #999;
    line-height: 1.5;
}

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.page-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: extreme8f9fa;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

    .page-btn:hover {
        background: #007bff;
        color: #fff;
        border-color: #007bff;
        transform: scale(1.1);
    }

.page-info {
    font-size: 16px;
    color: #333;
    min-width: 80px;
    text-align: center;
    font-weight: 600;
    padding: 8px 16px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 20px;
}

/* 表单详情页面样式 */
.form-detail-container {
    width: 100%;
    max-width: 100%;
}

.form-info-card,
.form-content-card,
.attachments-card,
.remark-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.form-info-header {
    margin-bottom: 20px;
}

.form-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.submit-time {
    font-size: 14px;
    color: #999;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 6px;
}

.form-code-section,
.form-status-section {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px; /* 添加这行，控制标题和状态标签的间距 */
}

    .form-code-section:last-child,
    .form-status-section:last-child {
        border-bottom: none;
    }

    .form-code-section label,
    .form-status-section label {
        font-weight: 600;
        color: #666;
        margin-right: 0; /* 修改为0，移除默认间距 */
        margin-bottom: 0; /* 添加这行，移除底部间距 */
        min-width: auto; /* 修改这行，让标签自适应宽度 */
        font-size: 15px;
    }

.status-badge {
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #007bff;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        border-radius: 2px;
    }

.form-fields {
    margin-bottom: 16px;
}

.field-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

    .field-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.field-label {
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
    display: block;
    font-size: 15px;
}

.field-value {
    color: #333;
    line-height: 1.6;
    word-break: break-word;
    font-size: 15px;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.empty-value {
    color: #999;
    font-style: italic;
}

.empty-content {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.attachment-item {
    margin-bottom: 24px;
}

    .attachment-item:last-child {
        margin-bottom: 0;
    }

    .attachment-item label {
        font-weight: 600;
        color: #666;
        margin-bottom: 12px;
        display: block;
        font-size: 15px;
    }

.image-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.video-preview video,
.audio-preview audio {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #007bff;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #007bff;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .attachment-link:hover {
        background: #007bff;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    }

.remark-content {
    color: #333;
    line-height: 1.6;
    margin: 0;
    word-break: break-word;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.action-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(108,117,125,0.3);
}

    .btn-secondary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(108,117,125,0.4);
    }

/* 响应式适配 */
@media (max-width: 768px) {
    .main-content {
        padding: 12px;
        margin-top: 60px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .form-info-card,
    .form-content-card,
    .attachments-card,
    .remark-card {
        padding: 16px;
        margin-bottom: 16px;
    }
 
    .page-title {
        font-size: 16px;
        margin-right: 0;
    }

    .header-content {
        padding: 0 12px;
    }

    .stats-summary {
        padding: 16px;
        margin-bottom: 16px;
    }

    .form-item {
        padding: 16px;
        margin-bottom: 12px;
    }

    .form-name {
        font-size: 16px;
    }

    .stats-value {
        font-size: 24px;
    }

    .pagination {
        gap: 12px;
        padding: 8px 16px;
    }

    .page-btn {
        width: 36px;
        height: 36px;
    }

    .page-info {
        font-size: 14px;
        min-width: 60px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 8px;
    }

    .stats-summary {
        padding: 12px;
    }

    .form-item {
        padding: 12px;
    }
}

/* 表单详情页面增强样式 */

/* 多选值样式 */
.multi-value-item {
    background: #e7f3ff;
    color: #007bff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 6px;
    margin-bottom: 4px;
    display: inline-block;
    border: 1px solid #b3d9ff;
}

/* 文本切换按钮 */
.toggle-text-btn {
    color: #007bff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin-left: 8px;
}

    .toggle-text-btn:hover {
        text-decoration: underline;
    }

/* 隐私保护样式 */
.field-value {
    position: relative;
}

    /* 特殊字段的显示样式 */
    .field-value[data-type="phone"],
    .field-value[data-type="email"],
    .field-value[data-type="idcard"] {
        font-family: 'Courier New', monospace;
        letter-spacing: 1px;
    }

/* 长文本样式 */
.short-text,
.full-text {
    line-height: 1.6;
    word-break: break-word;
}

.full-text {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* 字段标签样式增强 */
.field-label {
    position: relative;
    padding-left: 12px;
}

    .field-label::before {
        content: '•';
        color: #007bff;
        font-weight: bold;
        position: absolute;
        left: 0;
    }

/* 响应式优化 */
@media (max-width: 768px) {
    .multi-value-item {
        margin-right: 4px;
        margin-bottom: 6px;
        font-size: 11px;
        padding: 1px 6px;
    }

    .toggle-text-btn {
        font-size: 11px;
    }
}
