/* ========== 全局基础 ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, Roboto, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    background-color: #fbfbfd;
    color: #1d1d1f;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

/* 品牌主色调 */
:root {
    --brand-blue: #2d9cf5;
    --brand-blue-dark: #1a8bf2;
}


/*全局导航栏*/

/* =========================================
   第一层：白底区域 (Logo、Slogan、搜索、语言)
   ========================================= */
.header-top {
    background: #ffffff;
    padding: 16px 0;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

/* 左侧品牌 (SEO 优化) */
.brand-area {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.brand-logo .logo-img {
    height: 32px;
    width: auto;
    display: block;
    object-fit: contain;
}

.brand-logo .logo-fallback {
    width: 42px;
    height: 32px;
    display: none;
    align-items: center;
    justify-content: center;
}

.brand-logo .logo-fallback svg {
    width: 100%;
    height: 100%;
    fill: var(--brand-blue);
}

.brand-logo .seo-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.brand-slogan {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    border-left: 1px solid #e8e8ed;
    padding-left: 16px;
}

/* 中间搜索框 */
.search-box {
    flex: 1;
    max-width: 400px;
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 40px;
}

.search-box input {
    width: 100%;
    height: 40px;
    padding: 0 16px;
    padding-right: 44px;
    border: 1px solid #e8e8ed;
    border-radius: 6px;
    background: #ffffff;
    font-size: 15px;
    color: #1d1d1f;
    transition: all 0.2s;
    outline: none;
}

.search-box input:focus {
    border-color: var(--brand-blue);
}

.search-btn {
    position: absolute;
    right: 1px;
    top: 1px;
    bottom: 1px;
    width: 42px;
    background: transparent;
    border: none;
    border-left: 1px solid #e8e8ed;
    color: #86868b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.search-btn:hover {
    color: var(--brand-blue);
}

/* 右侧语言切换 */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #4a4a4f;
    cursor: pointer;
    flex-shrink: 0;
}

.lang-switch i {
    font-size: 16px;
    color: #86868b;
}

.lang-switch .active {
    color: var(--brand-blue);
    font-weight: 500;
}

.lang-switch .divider {
    color: #d2d2d7;
    margin: 0 2px;
}

/* =========================================
   第二层：蓝底区域 (主导航、用户信息)
   ========================================= */
.header-nav {
    background: var(--brand-blue);
    height: 64px;
}

.header-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* 主导航菜单 */
.main-nav {
    display: flex;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 24px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-item:hover, .nav-item.active {
    color: #fff;
    background: var(--brand-blue-dark);
}

.nav-item i {
    font-size: 12px;
    margin-left: 6px;
    transition: transform 0.2s;
}

.nav-item:hover i {
    transform: rotate(180deg);
}

/* PC端下拉菜单 */
.nav-dropdown {
    position: absolute;
    top: 64px;
    left: 0;
    background: #ffffff;
    min-width: 180px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s;
    z-index: 100;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 12px 24px;
    font-size: 15px;
    color: #4a4a4f;
    font-weight: 400;
}

.nav-dropdown a:hover {
    background: #f0f7ff;
    color: var(--brand-blue);
}

/* 右侧用户信息 */
.user-area {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.user-avatar {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.user-avatar svg {
    width: 24px;
    height: 24px;
}

.user-area i {
    font-size: 12px;
    transition: transform 0.2s;
}

.user-area:hover i {
    transform: rotate(180deg);
}

/* =========================================
   移动端控件 (默认隐藏)
   ========================================= */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #1d1d1f;
    font-size: 26px;
    cursor: pointer;
    padding: 4px;
}

.mobile-controls {
    display: none;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

/* =========================================
   移动端抽屉菜单
   ========================================= */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: #ffffff;
    z-index: 2000;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f2;
}

.drawer-header .title {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
}

.drawer-close {
    width: 36px;
    height: 36px;
    background: #f5f5f7;
    border-radius: 50%;
    border: none;
    color: #86868b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

/* 移动端搜索框 */
.mobile-search-box {
    padding: 12px 20px 20px;
    border-bottom: 1px solid #f0f0f2;
}

.mobile-search-box .search-wrap {
    display: flex;
    border: 1px solid #e8e8ed;
    border-radius: 6px;
    overflow: hidden;
}

.mobile-search-box input {
    flex: 1;
    height: 38px;
    border: none;
    padding: 0 12px;
    outline: none;
    font-size: 15px;
}

.mobile-search-box button {
    width: 40px;
    background: #f5f5f7;
    border: none;
    border-left: 1px solid #e8e8ed;
    color: #4a4a4f;
    cursor: pointer;
}

/* 移动端手风琴菜单 */
.drawer-accordion {
    border: none !important;
    border-radius: 0 !important;
}

.drawer-accordion .layui-colla-item {
    border-top: none;
    border-bottom: none;
}

.drawer-accordion .layui-colla-title {
    height: auto;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    background: transparent !important;
    border-left: 3px solid transparent;
    border-bottom: none;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-accordion .layui-colla-title:hover {
    background: #fbfbfd !important;
    color: var(--brand-blue);
    border-left-color: var(--brand-blue);
}

.drawer-accordion .layui-colla-title .layui-colla-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #b0b0b5;
    left: auto;
}

.drawer-accordion .layui-colla-item.layui-colla-item-active .layui-colla-title {
    color: var(--brand-blue);
    border-left-color: var(--brand-blue);
    background: #fbfbfd !important;
}

.drawer-accordion .layui-colla-content {
    padding: 0 !important;
    border-top: none;
    background: #fbfbfd;
}

.drawer-accordion .layui-colla-content a {
    display: block;
    padding: 14px 24px 14px 40px;
    font-size: 15px;
    color: #4a4a4f;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f0f2;
}

.drawer-accordion .layui-colla-content a:last-child {
    border-bottom: none;
}

.drawer-accordion .layui-colla-content a:hover {
    color: var(--brand-blue);
    background: #f0f7ff;
}

.drawer-link {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.drawer-link:hover {
    color: var(--brand-blue);
    border-left-color: var(--brand-blue);
    background: #fbfbfd;
}

/* 移动端底部用户区 */
.drawer-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f2;
    background: #fbfbfd;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.mobile-user-info .avatar {
    width: 40px;
    height: 40px;
    background: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.mobile-user-info .info {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}

.mobile-lang-switch {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 15px;
    color: #4a4a4f;
}

.mobile-lang-switch .active {
    color: var(--brand-blue);
    font-weight: 600;
}

/* =========================================
   响应式断点 (992px 以下切换为移动端)
   ========================================= */
@media (max-width: 992px) {
    /* 隐藏 PC 端的元素 */
    .brand-slogan, .lang-switch, .search-box, .header-nav {
        display: none;
    }

    /* 调整移动端白底头部 */
    .header-top {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f2;
    }

    .header-top-inner {
        gap: 12px;
    }

    .brand-logo {
        font-size: 22px;
    }

    .brand-logo .logo-img, .brand-logo .logo-fallback {
        height: 24px;
    }

    /* 显示移动端控件 */
    .mobile-controls {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }
}


/* ========== 顶部 Banner ========== */
.hero-swiper-wrap {
    width: 100%;
    height: 480px;
    position: relative;
}

/* 强制 layui 轮播容器的内部元素撑满 */
.hero-swiper-wrap .layui-carousel,
.hero-swiper-wrap .layui-carousel > [carousel-item],
.hero-swiper-wrap .layui-carousel > [carousel-item] > div {
    height: 100% !important;
    width: 100% !important;
}

/* 幻灯片内部容器 */
.slide-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #1a1a1a;
}

/* 图片标签 */
.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    user-select: none;
    -webkit-user-drag: none;
}

/* 遮罩层：左侧加深，保证文字清晰 */
.slide-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);*/
    z-index: 2;
}

/* 文字内容外层：占满全屏，垂直居中，水平靠左 */
.slide-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: flex-start; /* 水平靠左 */
    z-index: 3;
}

/* 关键：使用 layui-container 限制文字的最大宽度并居中，与下方列表对齐 */
.slide-content-wrapper .layui-container {
    /*width: 100%;*/
    /*padding: 0 20px;*/
}

/* 文字内容区：内部元素左对齐 */
.slide-content {
    text-align: left;
    color: #ffffff;
    max-width: 700px; /* 限制文字块最大宽度 */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.slide-content h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slide-content .hero-subhead {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: -0.01em;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 0 32px 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* 极简标签 */
.hero-badge-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 40px;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pill-badge i {
    margin-right: 6px;
    font-size: 16px;
}

/* 修复 Layui 指示器和箭头层级 */
.hero-swiper-wrap .layui-carousel-ind {
    z-index: 10;
    bottom: 24px !important;
}

.hero-swiper-wrap .layui-carousel-ind ul {
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-swiper-wrap .layui-carousel-ind li.layui-this {
    background-color: #fff;
}

.hero-swiper-wrap .layui-carousel-arrow {
    z-index: 10;
}

.hero-swiper-wrap .layui-carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .hero-swiper-wrap {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 46px;
    }

    .slide-content .hero-subhead {
        font-size: 18px;
    }

}

@media (max-width: 768px) {

    .hero-swiper-wrap {
        height: 320px;
    }

    .slide-content h1 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .slide-content .hero-subhead {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .slide-content-wrapper .layui-container {
        padding: 0 16px;
    }

    .pill-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .pill-badge i {
        font-size: 14px;
    }

    /* 移动端隐藏左右按钮，指示器位置微调 */
    .hero-swiper-wrap .layui-carousel-arrow {
        display: none !important;
    }

    .hero-swiper-wrap .layui-carousel-ind {
        bottom: 16px !important;
    }

    .group-header h2 {
        font-size: 22px;
    }

    .group-header .count {
        font-size: 12px;
    }

}

@media (max-width: 480px) {
    .hero-swiper-wrap {
        height: 280px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-content .hero-subhead {
        font-size: 14px;
    }


}


/* =========================================
     6. 深色页脚
     ========================================= */
.site-footer {
    background: #2a2a2e;
    color: #a1a1a6;
    padding: 64px 0 32px;
    font-size: 14px;
}

.footer-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
    text-align: center;
}

.footer-list a {
    color: #a1a1a6;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: #ffffff;
}

.footer-contact-text {
    font-size: 13px;
    color: #86868b;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12px;
    color: #86868b;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 48px 0 24px;
    }

    .footer-title {
        margin-bottom: 16px;
    }

    .footer-bottom {
        margin-top: 40px;
    }
}


.layui-breadcrumb a {
    color: #333 !important;
}

/*面包屑hover颜色*/
.layui-breadcrumb a:hover {
    color: #1E9FFF !important;
}


/* 头像上传 */

/* ===== 主布局：flex 左右分栏 ===== */
.crop-main {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ===== 左侧：裁剪区域 ===== */
.crop-left {
    flex: 1;
    min-width: 0; /* 防止 flex 溢出 */
}

.cropper-box {
    width: 100%;
    background: #f7f9fc;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e8ecf1;
}

.cropper-box img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* ===== 右侧：预览区域 ===== */
.crop-right {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding-top: 10px;
}

.preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-item .size-label {
    font-size: 13px;
    color: #86909c;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* cropper.js 提供的预览容器样式 */
.img-preview {
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid #e8ecf1;
    background: #fafafa;
    flex-shrink: 0;
}

.img-preview.w100 {
    width: 100px;
    height: 100px;
}

.img-preview.w50 {
    width: 50px;
    height: 50px;
}

/* 预览容器内的图片由 cropper 自动管理 */
.img-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== 底部操作栏 ===== */
.crop-actions {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.crop-actions .file-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.crop-actions .file-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.crop-actions .hint-text {
    font-size: 13px;
    color: #b0b8c4;
    /*margin-left: 8px;*/
}

.crop-actions .hint-text i {
    font-style: normal;
    background: #f0f0f0;
    padding: 0 8px;
    border-radius: 4px;
    color: #86909c;
}

.crop-actions .spacer {
    flex: 1;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .crop-main {
        flex-direction: column;
    }

    .crop-right {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 40px;
        padding-top: 0;
    }

    .crop-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .crop-actions .spacer {
        display: none;
    }

    .crop-actions .hint-text {
        text-align: center;
        margin-left: 0;
    }
}

/* 定制主题 */

.layui-breadcrumb a:hover {
    color: #1E9FFF !important;
}

.layui-form-select .layui-input, .layui-input {
    border-radius: 10px;
}


.layui-input:focus, .layui-textarea:focus {
    border-color: #1e9fff !important;
    box-shadow: 0 0 0 3px rgba(22, 183, 119, .08);
}

.layui-form-danger + .layui-form-select .layui-input, .layui-form-danger:focus {
    border-color: #ff5722 !important;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, .08);
}


.layui-form-select dl dd.layui-this {
    color: #1e9fff;
}


/* =======================================================
      弹窗内部专属 CSS
      ======================================================= */
.custom-modal-content {
    padding: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
    background: #ffffff;
    box-sizing: border-box;
    position: relative; /* 为了定位自定义关闭按钮 */
}

/* ★ 自定义的大号圆形关闭按钮 */
.custom-modal-content .modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f7;
    color: #86868b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.custom-modal-content .modal-close-btn i {
    font-size: 18px;
    font-weight: bold;
}

/* 悬停时：颜色变深，背景加深，并旋转 90 度 */
.custom-modal-content .modal-close-btn:hover {
    background: #e8e8ed;
    color: #1d1d1f;
    transform: rotate(90deg);
}

/* 头部文字 */
.custom-modal-content .modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.custom-modal-content .modal-header h2 {
    font-size: 26px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.custom-modal-content .modal-header p {
    font-size: 15px;
    color: #86868b;
    margin: 0;
}

/* 灰色内嵌框 */
.custom-modal-content .modal-inner-box {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    box-sizing: border-box;
}

/* 内部文字 */
.custom-modal-content .inner-text {
    flex: 1;
    font-size: 14.5px;
    color: #1d1d1f;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.custom-modal-content .inner-text strong {
    color: #0071e3;
    font-weight: 500;
}

/* 内部二维码 */
.custom-modal-content .qr-wrapper {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.custom-modal-content .qr-box {
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-modal-content .qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.custom-modal-content .wechat-tip {
    font-size: 12px;
    color: #86868b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.custom-modal-content .wechat-tip i {
    color: #07c160;
    font-size: 14px;
}

/* 底部按钮区 */
.custom-modal-content .modal-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.custom-modal-content .btn {
    min-width: 120px;
    height: 46px;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    border: none;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    box-sizing: border-box;
}

.custom-modal-content .btn-cancel {
    background: #f5f5f7;
    color: #1d1d1f;
}

.custom-modal-content .btn-cancel:hover {
    background: #e8e8ed;
}

.custom-modal-content .btn-primary {
    background: #0071e3;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

.custom-modal-content .btn-primary:hover {
    background: #005bb5;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3);
}

.custom-modal-content .btn-primary:active {
    transform: translateY(0);
}

/* 移动端响应式 */
@media (max-width: 600px) {
    .custom-modal-content {
        padding: 30px 20px;
    }

    .custom-modal-content .modal-inner-box {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .custom-modal-content .modal-header h2 {
        font-size: 22px;
    }

    .custom-modal-content .modal-footer {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .custom-modal-content .btn {
        width: 100%;
    }

    .custom-modal-content .modal-close-btn {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
    }
}
