/* ===== 全局重置 & 字体 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #e6ecf2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 0;
    padding-top: 62px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

/* ===== 顶部导航栏 ===== */
.struc-top-bar {
    background-color: #6796;
    color: #fff;
    padding: 1px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}
.struc-top-bar .struc-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
}
.struc-logo {
    width: 240px;
    height: 66px;
    font-size: 12px;
    font-weight: bold;
    overflow: hidden;
    background-image: url('/wbpic/yanhualog.png');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    border-radius: 12px;
    transition: all .3s ease;
    animation: struc-pulseGlow 2s infinite;
}
@keyframes struc-pulseGlow {
    0%   { filter: drop-shadow(0 0 4px rgba(245,245,255,.5)) drop-shadow(0 0 1px rgba(230,240,255,.7)); }
    50%  { filter: drop-shadow(0 0 22px rgba(250,250,255,.85)) drop-shadow(0 0 8px rgba(220,235,255,.8)) brightness(1.06); }
    100% { filter: drop-shadow(0 0 4px rgba(245,245,255,.5)) drop-shadow(0 0 1px rgba(230,240,255,.7)); }
}
.struc-logo::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 20px 30px 0 #fff, 60px 15px 0 #fff, 100px 45px 0 #fff, 150px 20px 0 #fff;
    animation: struc-float 4s infinite linear;
}
@keyframes struc-float {
    0%   { transform: translateY(0); opacity: 0; }
    50%  { opacity: 1; }
    100% { transform: translateY(-60px); opacity: 0; }
}
.struc-user-actions a {
    color: #fff;
    text-decoration: none;
    margin-left: 6px;
    font-size: 14px;
}
.struc-user-actions a:hover {
    color: #D2364C;
    background-color: #fff;
    box-shadow: 8px 0 8px 0 rgba(255, 255, 255, .7);
    transition: all .6s;
}

/* ===== 主导航菜单 ===== */
.struc-main-nav {
    position: relative;
    background-color: #1256;
    padding: 8px 0;
    overflow: hidden;
    z-index: 1;
    min-height: 30px;
    width: 100%;
}
.struc-main-nav .struc-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}
.struc-main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 7px;
    position: relative;
    z-index: 2;
}
.struc-main-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    margin-left: 2px;
    transition: all .6s;
    position: relative;
    z-index: 2;
}
.struc-main-nav ul li a:hover {
    color: #D2364C;
    background-color: #fff;
    box-shadow: 8px 0 8px 0 rgba(255, 255, 255, .7);
    transition: all .6s;
}

/* ===== 页头搜索区 ===== */
.header-actions-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}
.header-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.header-search-box {
    display: flex;
    align-items: center;
    border: 2px solid #6f9fd8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    height: 34px;
}
.header-search-box .search-icon-left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 100%;
    color: #6f9fd8;
}
.header-search-box .header-search-input {
    border: none;
    outline: none;
    height: 100%;
    width: 280px;
    padding: 0 8px;
    font-size: 13px;
    color: #10313b;
    background: #fff;
}
.header-search-box .search-btn {
    border: none;
    background: #6f9fd8;
    color: #fff;
    height: 100%;
    width: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.header-search-box .search-btn:hover {
    background: #5a8ac4;
}
.header-struct-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #6f9fd8;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    padding: 0 12px;
    height: 34px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background .2s;
}
.header-struct-btn:hover {
    background: #5a8ac4;
}

/* ===== 主容器 ===== */
.user-center {
    max-width: 1600px;
    width: 100%;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 24px 48px -16px rgba(0, 30, 40, 0.28);
    overflow: hidden;
    border: 1px solid rgba(0, 70, 90, 0.08);
    margin: 0 auto;
    box-sizing: border-box;
}

/* ===== 顶部品牌栏 ===== */
.top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.2rem;
    background: linear-gradient(145deg, #f8fbfd 0%, #edf3f7 100%);
    border-bottom: 1px solid #d3dfe8;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.brand i {
    font-size: 2rem;
    color: #0a6b7a;
    background: #dce9ef;
    padding: 0.4rem;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(10, 107, 122, 0.2);
}
.brand h1 {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #0b3b44;
}
.brand span {
    font-weight: 300;
    color: #2c6c7a;
    background: #e3edf2;
    padding: 0.1rem 0.8rem;
    border-radius: 40px;
    font-size: 0.7rem;
    margin-left: 0.5rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.top-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.top-actions .notification {
    position: relative;
    color: #1f5b66;
    font-size: 1.3rem;
    background: #e9f0f4;
    padding: 0.4rem 0.7rem;
    border-radius: 40px;
    transition: 0.15s;
    border: 1px solid transparent;
    cursor: default;
}
.top-actions .notification:hover {
    background: #d4e2ea;
    border-color: #a0becb;
}
.top-actions .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #c44536;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 40px;
    line-height: 1;
    border: 2px solid #f0f4f8;
}
.user-profile-mini {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    padding: 0.25rem 1.2rem 0.25rem 0.6rem;
    border-radius: 60px;
    box-shadow: 0 2px 8px rgba(0, 30, 40, 0.04);
    border: 1px solid #dae5ec;
}
.user-profile-mini .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1d5f6b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}
.user-profile-mini .name {
    font-weight: 600;
    color: #173e48;
    font-size: 0.95rem;
}
.user-profile-mini .role {
    font-size: 0.7rem;
    background: #d3e2ea;
    padding: 0.15rem 0.7rem;
    border-radius: 40px;
    color: #1b4f5c;
    font-weight: 500;
}

/* ===== 标签页导航 ===== */
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    background: #f4f8fc;
    padding: 0 1.8rem;
    border-bottom: 1px solid #dce6ed;
    gap: 0.2rem;
}
.tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 1.8rem 0.9rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #3f5f6b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
    border-radius: 8px 8px 0 0;
}
.tab-btn i {
    color: #5f8392;
    font-size: 1rem;
}
.tab-btn:hover {
    background: #eef4f9;
    color: #12444f;
    border-bottom-color: #a1c0cc;
}
.tab-btn.active {
    background: #ffffff;
    color: #004654;
    border-bottom-color: #1f7a85;
    font-weight: 600;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.02);
}
.tab-btn.active i {
    color: #1f7a85;
}

/* ===== 标签内容容器 ===== */
.tab-content-wrapper {
    background: #ffffff;
    padding: 1.8rem 2.2rem 2.8rem 2.2rem;
    min-height: 480px;
}
.tab-pane {
    display: none;
    animation: fade 0.2s ease;
}
.tab-pane.active {
    display: block;
}
@keyframes fade {
    0%   { opacity: 0.6; transform: translateY(4px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== 通用组件 ===== */
.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1b3f4a;
    margin: 0.2rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.section-title i {
    color: #2c7b87;
}
.divider-light {
    height: 1px;
    background: linear-gradient(90deg, #dce6ed, transparent);
    margin: 1.2rem 0 1.8rem 0;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem 2rem;
    margin: 1rem 0 1.5rem 0;
}
.info-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #eaf1f7;
    padding-bottom: 0.7rem;
}
.info-item .label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6d8d9b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.info-item .value {
    font-size: 1rem;
    font-weight: 500;
    color: #10313b;
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.badge-status {
    font-size: 0.7rem;
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    font-weight: 500;
}
.badge-status.success {
    background: #d5eae8;
    color: #0f5a5a;
}
.badge-status.warning {
    background: #f7f0d6;
    color: #8a7a3b;
}
.badge-status.primary {
    background: #d6e3ee;
    color: #1d5270;
}

/* ===== 表格样式 ===== */
.table-wrap {
    background: #f8fbfd;
    border-radius: 20px;
    padding: 0.2rem;
    border: 1px solid #e2ecf3;
    overflow-x: auto;
    margin-top: 1.2rem;
}
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    border-radius: 20px;
    overflow: hidden;
}
.table thead {
    background: linear-gradient(145deg, #e8f2f7, #d6e6ef);
}
.table thead th {
    padding: 0.8rem 1.2rem;
    text-align: left;
    font-weight: 600;
    color: #1b3f4a;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 1px solid #c8dae5;
}
.table tbody tr {
    transition: background 0.15s ease;
    border-bottom: 1px solid #eaf1f7;
}
.table tbody tr:last-child {
    border-bottom: none;
}
.table tbody tr:hover {
    background: #eef4f9;
}
.table tbody td {
    padding: 0.7rem 1.2rem;
    color: #10313b;
    font-size: 0.88rem;
    vertical-align: middle;
}
.table .status-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    font-weight: 500;
    display: inline-block;
}
.table .status-badge.pending {
    background: #f7f0d6;
    color: #8a7a3b;
}
.table .status-badge.processing {
    background: #d6e3ee;
    color: #1d5270;
}
.table .status-badge.done {
    background: #d5eae8;
    color: #0f5a5a;
}
.table .status-badge.rejected {
    background: #fce4e0;
    color: #b33c3c;
}
.table .type-tag {
    font-size: 0.7rem;
    padding: 0.15rem 0.8rem;
    border-radius: 40px;
    font-weight: 500;
    display: inline-block;
    background: #eef4f9;
    color: #3f6b78;
    border: 1px solid #dce6ed;
}
/* 备注列：限制列宽，单行省略，点击预览完整内容 */
.remark-col {
    max-width: 350px;
}
.remark-cell {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    color: #2c7b87;
    cursor: pointer;
    border-bottom: 1px dashed #9ec3cd;
}
.remark-cell:hover {
    color: #1e6d7a;
    border-bottom-color: #2c7b87;
}
.table-empty {
    text-align: center;
    padding: 2rem 1.5rem;
    color: #6d8d9b;
    font-size: 0.9rem;
}
.table-empty i {
    font-size: 2.2rem;
    color: #b6ced9;
    display: block;
    margin-bottom: 0.5rem;
}

/* ===== 按钮 ===== */
.btn-primary {
    background: #1e6d7a;
    border: none;
    padding: 0.6rem 2rem;
    border-radius: 60px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.15s;
    border: 1px solid #1e6d7a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-primary:hover {
    background: #0f5561;
    border-color: #0f5561;
    box-shadow: 0 4px 10px rgba(20, 90, 100, 0.15);
}
.btn-outline {
    background: transparent;
    border: 1px solid #b6ced9;
    padding: 0.6rem 2rem;
    border-radius: 60px;
    color: #2a5f6b;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.15s;
}
.btn-outline:hover {
    background: #eef6fa;
    border-color: #7fa6b5;
}
.btn-sm {
    background: transparent;
    border: 1px solid #b8d0da;
    padding: 0.25rem 1.2rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1d5b66;
    cursor: pointer;
    transition: 0.1s;
}
.btn-sm:hover {
    background: #e3eef5;
    border-color: #75a0ae;
}

/* ===== 委托卡片 ===== */
.delegate-card {
    background: #f8fbfd;
    border-radius: 24px;
    padding: 1.5rem 1.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e2ecf3;
    transition: 0.15s;
}
.delegate-card:hover {
    border-color: #b6d0db;
    background: #f5f9fc;
}
.delegate-card .head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}
.delegate-card .head i {
    font-size: 1.6rem;
    color: #1f6d7a;
    width: 2rem;
}
.delegate-card .head h4 {
    font-weight: 600;
    color: #10313b;
    font-size: 1.1rem;
}
.delegate-card .head .badge-status {
    margin-left: 0.5rem;
}
.delegate-card textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: 18px;
    border: 1px solid #d4e1ea;
    background: #ffffff;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 70px;
    transition: 0.15s;
    font-family: inherit;
}
.delegate-card textarea:focus {
    outline: none;
    border-color: #3d99aa;
    box-shadow: 0 0 0 3px rgba(41, 128, 143, 0.12);
}
.delegate-card .actions {
    margin-top: 0.6rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.delegate-input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: 18px;
    border: 1px solid #d4e1ea;
    background: #ffffff;
    font-size: 0.95rem;
    transition: 0.15s;
    font-family: inherit;
    color: #10313b;
    outline: none;
    box-sizing: border-box;
}
.delegate-input:focus {
    border-color: #3d99aa;
    box-shadow: 0 0 0 3px rgba(41, 128, 143, 0.12);
}
.delegate-input:disabled {
    background: #eef3f6;
    color: #9fb3bd;
    cursor: not-allowed;
    opacity: 0.8;
}
.delegate-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1b3f4a;
    margin-bottom: 0.3rem;
}
.delegate-label i {
    color: #2c7b87;
    font-size: 0.8rem;
    margin-right: 4px;
}
.delegate-type-label {
    font-size: 0.85rem !important;
    padding: 0.4rem 1.4rem !important;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
    transition: all 0.2s ease;
    user-select: none;
    background: #f7f0d6;
    color: #8a7a3b;
    border: 1px solid transparent;
}
.delegate-type-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
    border-color: #c8dae5;
}
.head label:has(input:checked) .delegate-type-label {
    background: #1e6d7a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(30, 109, 122, 0.35);
    transform: scale(1.03);
    border-color: #1e6d7a;
}
.head label:has(input:checked)::before {
    border-color: #1e6d7a;
    background: #1e6d7a;
    box-shadow: 0 0 0 3px rgba(30, 109, 122, 0.25);
}

/* ===== 上传区域 ===== */
.upload-zone {
    border: 2px dashed #c4d7e2;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    background: #f7fafc;
    transition: 0.2s;
    cursor: pointer;
}
.upload-zone:hover {
    border-color: #3d99aa;
    background: #f0f7fa;
}
.upload-zone i {
    font-size: 2.2rem;
    color: #4a7e8a;
    margin-bottom: 0.4rem;
}

/* ===== 产品目录 ===== */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.catalog-item {
    background: #f7fafc;
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid #e2ecf3;
    text-align: center;
    transition: 0.15s;
}
.catalog-item:hover {
    border-color: #aac4d0;
    background: #f2f8fc;
}
.catalog-item i {
    font-size: 2rem;
    color: #1f6d7a;
    margin-bottom: 0.3rem;
}

/* ===== 会员等级 ===== */
.membership-card {
    background: linear-gradient(135deg, #e8f2f7 0%, #d6e6ef 100%);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #bdd3df;
    margin-bottom: 1.5rem;
}
.membership-card .level {
    font-size: 1.6rem;
    font-weight: 700;
    color: #004654;
}
.membership-card .level i {
    color: #c99f2b;
    margin-right: 8px;
}

/* ===== 模态窗 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 30, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1.2rem;
    transition: opacity 0.25s ease;
}
.modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.28s ease;
}
@keyframes modalFadeIn {
    0%   { opacity: 0; transform: scale(0.96) translateY(16px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-container {
    background: #ffffff;
    border-radius: 28px;
    max-width: 540px;
    width: 100%;
    box-shadow: 0 40px 80px -20px rgba(0, 30, 40, 0.45);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.modal-large {
    max-width: 720px;
}
.modal-result {
    max-width: 420px;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid #eaf1f7;
    background: #f8fbfd;
}
.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1b3f4a;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}
.modal-header h3 i {
    color: #2c7b87;
}
.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    font-weight: 300;
    color: #6d8d9b;
    cursor: pointer;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    transition: 0.15s;
    line-height: 1;
}
.modal-close:hover {
    background: #eaf1f7;
    color: #1b3f4a;
}
.modal-body {
    padding: 1.8rem 1.8rem 1.2rem 1.8rem;
}
.modal-field {
    margin-bottom: 1.2rem;
}
.modal-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #3d6674;
    margin-bottom: 0.3rem;
    letter-spacing: 0.2px;
}
.modal-field input,
.modal-field select,
.modal-field textarea {
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 16px;
    border: 1px solid #d4e1ea;
    background: #fbfdff;
    font-size: 0.95rem;
    transition: 0.2s;
    font-family: inherit;
    color: #10313b;
}
.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus {
    outline: none;
    border-color: #3d99aa;
    box-shadow: 0 0 0 4px rgba(41, 128, 143, 0.10);
    background: #ffffff;
}
.modal-field input:read-only {
    background: #f0f5f9;
    color: #5f7f8a;
    cursor: not-allowed;
}
.modal-field textarea {
    resize: vertical;
    min-height: 60px;
}
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1.5rem;
}
.modal-field-full {
    grid-column: 1 / -1;
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem 1.8rem 1.8rem;
    border-top: 1px solid #eaf1f7;
    background: #fafcfe;
}
.modal-footer .btn-primary,
.modal-footer .btn-outline {
    padding: 0.55rem 2rem;
    font-size: 0.9rem;
}
.modal-result .result-header {
    border-bottom: none;
    background: transparent;
    padding-bottom: 0.2rem;
}
.modal-result .result-body {
    padding: 0.8rem 1.8rem 1.2rem 1.8rem;
    text-align: center;
}
.modal-result .result-body p {
    font-size: 1.05rem;
    color: #10313b;
    margin: 0;
    line-height: 1.6;
}
.modal-result .result-footer {
    border-top: none;
    background: transparent;
    justify-content: center;
    padding-top: 0;
}
.modal-result .result-footer .btn-primary {
    min-width: 120px;
}
.result-header.success h3,
.result-header.success i {
    color: #2e7d5e;
}
.result-header.error h3,
.result-header.error i {
    color: #b33c3c;
}

/* ===== 认证样本卡片 ===== */
.cert-section {
    background: #f8fbfd;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid #e2ecf3;
}
.cert-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1b3f4a;
    margin-bottom: 0.6rem;
    border-bottom: 1px solid #dce6ed;
    padding-bottom: 0.4rem;
}
.cert-section-title i {
    color: #2c7b87;
    margin-right: 6px;
}
.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1.5rem;
}
.cert-grid .full {
    grid-column: 1 / -1;
}
.cert-label {
    font-size: 0.7rem;
    color: #6d8d9b;
    display: block;
}
.cert-value {
    font-size: 0.9rem;
    color: #10313b;
    font-weight: 500;
}
.cert-value .tag {
    display: inline-block;
    padding: 0.1rem 0.8rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 500;
    margin: 0.1rem 0.2rem;
}
.cert-value .tag.blue {
    background: #d6e3ee;
    color: #1d5270;
}
.cert-value .tag.green {
    background: #d5eae8;
    color: #0f5a5a;
}
.cert-value .tag.gold {
    background: #f7f0d6;
    color: #8a7a3b;
}
.cert-desc {
    font-size: 0.85rem;
    color: #10313b;
    line-height: 1.7;
}
.cert-desc .note {
    color: #6d8d9b;
    font-size: 0.8rem;
}
.cert-notice {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #f7f0d6;
    border-radius: 10px;
    border: 1px solid #e8dca8;
    font-size: 0.75rem;
    color: #8a7a3b;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.cert-notice i {
    margin-top: 0.05rem;
    flex-shrink: 0;
}
.cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.2rem;
}

/* ===== Footer ===== */
.struc-footer {
    position: relative;
    background: transparent !important;
    z-index: 1;
    color: #fff;
    padding: 20px 80px 20px 80px;
    margin-top: 10px;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
}
.struc-footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: block;
    background: linear-gradient(180deg, #1256, #0a2a3a);
    pointer-events: none;
    max-width: 100%;
    overflow: hidden;
}
.struc-footer .struc-container,
.struc-footer .struc-footer-content,
.struc-footer .struc-footer-bottom {
    position: relative;
    z-index: 2;
}
.struc-footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.struc-footer-left,
.struc-footer-right {
    flex: 1;
}
.struc-footer-left h3,
.struc-footer-right h3 {
    font-size: 14px;
    margin-bottom: 6px;
}
.struc-footer-left ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.struc-footer-left ul li {
    margin-bottom: 1px;
    line-height: 1.2em;
}
.struc-footer-left ul li a,
.struc-footer-left p a,
.struc-footer-right p a {
    color: #fff;
    text-decoration: none;
    font-size: 11px;
}
.struc-footer-left ul li a:hover,
.struc-footer-left p a:hover,
.struc-footer-right p a:hover {
    color: #D2364C;
}
.struc-footer-left p,
.struc-footer-right p {
    margin: 1px 0;
    font-size: 11px;
}
.struc-qr-code {
    float: right;
}
.struc-qr-code img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}
.struc-footer-bottom {
    text-align: center;
    border-top: 1px solid #555;
    padding-top: 4px;
    list-style: none;
    line-height: 1.1em;
}
.struc-footer-bottom p {
    text-align: center;
    margin: 0;
    font-size: 11px;
}
.struc-footer-bottom a {
    color: #fff;
    font-size: 11px;
}
.struc-footer-bottom a:hover {
    color: #D2364C;
}

/* ===== 操作流程图 ===== */
.flow-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eaf1f7;
}
.flow-intro {
    font-size: 0.9rem;
    color: #6d8d9b;
    margin: -0.5rem 0 1.5rem 0;
    line-height: 1.6;
}
.flow-stage-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1b3f4a;
    margin: 1.5rem 0 0.9rem 0;
}
.flow-stage-title .stage-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1e6d7a;
    box-shadow: 0 0 0 4px rgba(30, 109, 122, 0.12);
}
.flow-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}
.flow-step {
    flex: 1 1 200px;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    background: #f8fbfd;
    border: 1px solid #e2ecf3;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    transition: 0.2s;
    cursor: pointer;
    min-width: 0;
    position: relative;
}
.flow-step:hover {
    border-color: #3d99aa;
    background: #f0f7fa;
    box-shadow: 0 6px 16px rgba(61, 153, 170, 0.12);
    transform: translateY(-2px);
}
.flow-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1e6d7a, #0f4f5a);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(30, 109, 122, 0.35);
}
.flow-body {
    min-width: 0;
    flex: 1;
}
.flow-body h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1b3f4a;
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
}
.flow-body p {
    font-size: 0.78rem;
    color: #6d8d9b;
    line-height: 1.55;
    margin: 0 0 0.4rem 0;
}
.flow-link {
    display: inline-block;
    font-size: 0.75rem;
    color: #1e6d7a;
    font-weight: 500;
    border-bottom: 1px dashed #9ec3cd;
    padding-bottom: 1px;
    transition: 0.15s;
}
.flow-step:hover .flow-link {
    color: #0f4f5a;
    border-bottom-color: #1e6d7a;
}
.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1c0cc;
    font-size: 1.1rem;
    flex-shrink: 0;
    padding: 0 2px;
}
.flow-tip {
    margin-top: 1.5rem;
    padding: 0.85rem 1.1rem;
    background: #f0f7fa;
    border-radius: 12px;
    border-left: 3px solid #1e6d7a;
    font-size: 0.82rem;
    color: #3f6b78;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.flow-tip > i {
    color: #1e6d7a;
    margin-top: 2px;
    flex-shrink: 0;
}
.flow-tip b {
    color: #1e6d7a;
    font-weight: 600;
}

/* ===== 特殊模态窗高度限制 ===== */
#companyCertModal .modal-container,
#personalCertModal .modal-container {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}
#companyCertModal .modal-body,
#personalCertModal .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem 1.8rem;
}
#companyCertModal .modal-header,
#personalCertModal .modal-header,
#companyCertModal .modal-footer,
#personalCertModal .modal-footer {
    flex-shrink: 0;
}

/* ============================================================
   ===== 响应式（合并去重版）=====
   ============================================================ */

/* ===== 平板：≤ 820px ===== */
@media screen and (max-width: 820px) {
    .top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
        padding: 1rem;
    }
    .top-actions {
        justify-content: flex-start;
    }
    .tabs-nav {
        padding: 0 0.8rem;
        gap: 0.2rem;
        flex-wrap: wrap;
        overflow-x: visible;
        justify-content: flex-start;
    }
    .tab-btn {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
        border-radius: 8px 8px 0 0;
    }
    .tab-content-wrapper {
        padding: 1.2rem 1rem;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .membership-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    .delegate-card {
        padding: 1.2rem;
    }
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .modal-large {
        max-width: 100%;
    }
    .struc-footer {
        padding: 20px 12px !important;
    }
    .struc-footer-content {
        flex-direction: column;
    }
    .struc-footer-left,
    .struc-footer-right {
        text-align: center;
    }
    .struc-qr-code {
        float: none;
        margin-top: 10px;
    }
    .struc-qr-code img {
        width: 80px;
        height: 80px;
    }
    /* 流程图竖排 */
    .flow-steps {
        flex-direction: column;
    }
    .flow-step {
        flex: 1 1 auto;
        width: 100%;
    }
    .flow-arrow {
        transform: rotate(90deg);
        padding: 0.1rem 0;
        font-size: 1.2rem;
    }
    .flow-stage-title {
        margin-top: 1.2rem;
    }
}

/* ===== 手机横屏 / 小平板：≤ 768px ===== */
@media screen and (max-width: 768px) {
    /* 页头变高，正文往下挪 */
    body {
        padding-top: 100px !important;
    }

    /* 顶部导航栏：允许换行、自动高度 */
    .struc-top-bar .struc-container {
        height: auto;
        min-height: 48px;
        flex-wrap: wrap;
        padding: 4px 8px !important;
        gap: 6px;
    }
    .struc-logo {
        width: 100px;
        height: 30px;
        background-size: contain;
        font-size: 0;
        flex-shrink: 0;
    }

    /* 右侧操作区：换行，搜索框独占一行 */
    .struc-user-actions.header-actions-row {
        flex: 1 1 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .header-search-form {
        flex: 0 1 auto;
        width: auto;
        order: 0;
        margin-bottom: 0;
    }
    .header-search-box {
        flex: 0 1 auto;
        max-width: max-width: 180px;
    }
    .header-search-box .header-search-input {
        width: 100%;
        min-width: 80px;
        font-size: 12px;
        padding: 0 6px;
    }
    .header-struct-btn {
        padding: 0 8px;
        font-size: 12px;
        flex-shrink: 0;
    }
    .struc-user-actions a {
        font-size: 10px;
        margin-left: 0;
        padding: 1px 3px;
        white-space: nowrap;
    }

    /* 主导航：换行居中 */
    .struc-main-nav ul {
        flex-wrap: wrap;
        gap: 2px 6px;
        justify-content: center;
        padding: 2px 0;
    }
    .struc-main-nav ul li a {
        font-size: 11px;
        padding: 2px 6px;
        margin-left: 0;
    }
}

/* ===== 小屏手机：≤ 480px ===== */
@media screen and (max-width: 480px) {
    body {
        padding: 0;
        padding-top: 96px !important;
    }
    .user-center {
        border-radius: 20px;
        margin: 0 0.4rem;
    }
    .brand h1 {
        font-size: 1.2rem;
    }
    .tab-btn i {
        display: none;
    }
    .catalog-grid {
        grid-template-columns: 1fr 1fr;
    }
    .modal-container {
        max-width: 100%;
        border-radius: 20px;
        margin: 0 0.4rem;
    }
    .modal-header {
        padding: 1rem 1.2rem;
    }
    .modal-body {
        padding: 1.2rem 1.2rem 0.8rem 1.2rem;
    }
    .modal-footer {
        padding: 0.6rem 1.2rem 1.2rem 1.2rem;
        flex-wrap: wrap;
    }
    .modal-footer .btn-primary,
    .modal-footer .btn-outline {
        flex: 1;
        justify-content: center;
        min-width: 80px;
    }
    .modal-header h3 {
        font-size: 1rem;
    }
    .modal-result {
        max-width: 100%;
        margin: 0 0.8rem;
    }
    /* 流程图字号微调 */
    .flow-step {
        padding: 0.85rem 0.9rem;
        gap: 0.55rem;
    }
    .flow-num {
        width: 26px;
        height: 26px;
        font-size: 0.78rem;
    }
    .flow-body h4 {
        font-size: 0.85rem;
    }
    .flow-body p {
        font-size: 0.72rem;
    }
    /* 页头进一步压缩 */
    .struc-logo {
        width: 80px;
        height: 26px;
    }
    .header-struct-btn {
        font-size: 11px;
        padding: 0 6px;
    }
    .struc-user-actions a {
        font-size: 10px;
        padding: 1px 3px;
    }
    .struc-main-nav ul li a {
        font-size: 10px;
    }
}