/* 算力资源超市 - 用户中心响应式样式 */

/* 基础重置和变量定义 */
:root {
    --primary-color: #e93b3d;
    --secondary-color: #667eea;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --border-radius: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* 媒体查询断点设置 */
@media screen and (max-width: 1200px) {
    .dsm-container,
    .responsive-container {
        width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    .header .w1200 {
        width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    .dsm-container .right-layout {
        width: calc(100% - 200px);
    }
    
    /* 用户中心布局调整 */
    .mc-left {
        width: 65%;
        padding-right: var(--spacing-md);
    }
    
    .mc-right {
        width: 35%;
        padding-left: var(--spacing-md);
    }
    
    /* 算力产品卡片调整 */
    .compute-product-card {
        padding: var(--spacing-md);
    }
}

@media screen and (max-width: 992px) {
    /* 992px以下调整布局 */
    .dsm-container .left-layout {
        width: 180px;
    }
    
    .dsm-container .right-layout {
        width: calc(100% - 190px);
    }
    
    .top_search {
        width: auto;
    }
    
    /* 商家中心菜单适配 */
    .seller_left {
        width: 180px;
    }
    
    .right-layout {
        margin-left: 190px;
    }
    
    /* 算力资源列表调整 */
    .compute-resource-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 订单列表调整 */
    .order-list-item {
        padding: var(--spacing-md);
    }
}

@media screen and (max-width: 768px) {
    /* 768px以下为移动端主要样式 */
    /* 切换为垂直布局 */
    .dsm-container .left-layout,
    .dsm-container .right-layout {
        float: none;
        width: 100%;
        margin: 0;
    }
    
    /* 基础布局适配 */
    .mc-left, 
    .mc-right {
        float: none;
        width: 100%;
        padding: 0;
        margin-bottom: var(--spacing-lg);
    }
    
    /* 左侧菜单适配 - 增强侧边抽屉式菜单 */
    .left-layout {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 85%;
        max-width: 320px;
        background: white;
        z-index: 1001;
        overflow-y: auto;
        box-shadow: 2px 0 12px rgba(0,0,0,0.15);
        transition: transform 0.3s ease;
        transform: translateX(-100%);
    }
    
    .left-layout.show {
        display: block;
        transform: translateX(0);
    }
    
    .right-layout {
        margin-left: 0;
        width: 100%;
    }
    
    /* 移动端菜单样式增强 */
    .mobile-menu-container {
        position: relative;
        width: 100%;
        margin-bottom: var(--spacing-md);
    }
    
    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 1002;
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 12px 16px;
        border-radius: 6px;
        cursor: pointer;
        text-align: left;
        font-size: 16px;
        font-weight: bold;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:active {
        transform: scale(0.95);
        opacity: 0.9;
    }
    
    /* 移动端侧边栏 */
    .mobile-sidebar {
        padding: 10px;
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-menu-arrow {
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-header.active .mobile-menu-arrow {
        transform: rotate(180deg);
    }
    
    .mobile-menu-link {
        display: block;
        padding: 8px 15px;
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-link:hover {
        background: #f8f9fa;
        color: #e93b3d;
    }
    
    /* 移动端菜单遮罩层 */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
        transition: opacity 0.3s ease;
    }
    
    .mobile-menu-overlay.show {
        display: block;
        opacity: 1;
    }
    
    /* 用户信息卡片优化 */
    .mc-user-card {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
        border-radius: var(--border-radius);
        background: linear-gradient(135deg, var(--secondary-color) 0%, #764ba2 100%);
        color: white;
        box-shadow: var(--shadow-md);
    }
    
    .user-head {
        margin: 0 auto var(--spacing-md);
        width: 80px;
        height: 80px;
    }
    
    .user-img img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        border: 3px solid rgba(255,255,255,0.3);
        transition: transform 0.3s ease;
    }
    
    .user-img img:active {
        transform: scale(1.05);
    }
    
    .mc-user-info {
        text-align: center;
    }
    
    .mc-user-info h4 {
        font-size: 18px;
        margin-bottom: var(--spacing-xs);
    }
    
    .mc-user-info p {
        font-size: 14px;
        opacity: 0.9;
    }
    
    /* 用户资源概览适配增强 */
    .mc-user-huaban ul {
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
    }
    
    .mc-user-huaban li {
        flex: 1 1 50%;
        margin-bottom: var(--spacing-md);
        text-align: center;
        list-style: none;
    }
    
    .mc-user-huaban .p-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: white;
        margin-bottom: var(--spacing-sm);
        transition: transform 0.3s ease;
    }
    
    .mc-user-huaban .p-icon:active {
        transform: scale(1.1);
    }
    
    /* 算力资源卡片增强 */
    .mc-compute-resource {
        padding: var(--spacing-md);
        border-radius: var(--border-radius);
        background: var(--card-bg);
        box-shadow: var(--shadow-md);
        margin-bottom: var(--spacing-md);
    }
    
    .compute-stats ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        padding: 0;
        margin: 0;
    }
    
    .compute-stats li {
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        padding: var(--spacing-md);
        text-align: center;
        list-style: none;
        background: var(--bg-color);
    }
    
    .stat-value {
        font-size: 20px;
        font-weight: bold;
        color: var(--primary-color);
        margin-bottom: var(--spacing-xs);
    }
    
    /* 订单入口适配增强 */
    .mc-order-portal ul {
        flex-wrap: wrap;
        margin: 0;
    }
    
    .mc-order-portal li {
        flex: 1 1 33.33%;
        margin-bottom: var(--spacing-sm);
        text-align: center;
        padding: var(--spacing-md) var(--spacing-sm);
        background: var(--bg-color);
        border-radius: var(--border-radius);
        border: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }
    
    .mc-order-portal li:active {
        background: var(--bg-color);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
    
    .mc-order-portal .iconfont {
        font-size: 24px;
        position: relative;
        display: block;
        margin-bottom: 8px;
    }
    
    .mc-order-portal b {
        position: absolute;
        top: -10px;
        right: -10px;
        background: var(--primary-color);
        color: white;
        font-size: 12px;
        padding: 2px 6px;
        border-radius: 10px;
        min-width: 20px;
        line-height: 16px;
    }
    
    /* 算力资源适配 */
    .mc-compute-resource {
        padding: 15px;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .mc-compute-resource .title h3 {
        font-size: 16px;
        font-weight: 600;
    }
    
    .compute-stats ul {
        flex-wrap: wrap;
        margin: 0;
    }
    
    .compute-stats li {
        flex: 1 1 50%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 10px;
        text-align: center;
    }
    
    .compute-stats li:nth-child(2n) {
        border-right: none;
    }
    
    .compute-stats li:last-child,
    .compute-stats li:nth-last-child(2) {
        border-bottom: none;
    }
    
    .stat-value {
        font-size: 20px;
        font-weight: bold;
        color: #e93b3d;
    }
    
    .recent-usage h4 {
        font-size: 15px;
    }
    
    .usage-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px;
        background: #f8f9fa;
        border-radius: 4px;
    }
    
    .view-detail {
        align-self: flex-end;
        background: #e93b3d;
        color: white;
        padding: 8px 20px;
        border-radius: 4px;
        text-decoration: none;
        font-size: 14px;
    }
    
    .no-usage {
        padding: 30px 15px;
    }
    
    .go-browse {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    /* 安全信息适配增强 */
    .mc-security {
        padding: var(--spacing-md);
        border-radius: var(--border-radius);
        background: var(--card-bg);
        box-shadow: var(--shadow-md);
        margin-bottom: var(--spacing-md);
    }
    
    .mc-security .title {
        font-size: 15px;
        margin-bottom: var(--spacing-sm);
    }
    
    .mc-security-item {
        padding: var(--spacing-md);
        background: var(--bg-color);
        border-radius: var(--border-radius);
        text-align: center;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
        transition: all 0.3s ease;
        margin-bottom: var(--spacing-sm);
    }
    
    .mc-security-item:active {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
    
    /* 适配移动端的搜索框 */
    .top_search {
        margin-top: 10px;
        width: 100%;
    }
    
    .top_search_box {
        width: 100%;
    }
    
    .search-form {
        display: flex;
    }
    
    .keyword {
        flex: 1;
        height: 40px;
        font-size: 14px;
        padding: 0 var(--spacing-md);
        border: 1px solid var(--border-color);
        border-right: none;
        border-radius: var(--border-radius) 0 0 var(--border-radius);
    }
    
    .keyword:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(233, 59, 61, 0.1);
    }
    
    .submit {
        height: 40px;
        padding: 0 20px;
        font-size: 14px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .submit:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    /* 按钮和表单元素适配增强 */
    .btn {
        display: block;
        width: 100%;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 15px;
        text-align: center;
        border-radius: var(--border-radius);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-sm);
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .btn-primary {
        background: var(--primary-color);
        color: white;
    }
    
    .btn-primary:hover {
        background: var(--primary-hover);
    }
    
    .btn-outline {
        background: white;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }
    
    .form-group {
        margin-bottom: var(--spacing-md);
    }
    
    .form-control {
        width: 100%;
        padding: var(--spacing-md);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        box-sizing: border-box;
        font-size: 14px;
        transition: border-color 0.3s ease;
    }
    
    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(233, 59, 61, 0.1);
    }
    
    /* 显示/隐藏控制增强 */
    .hidden-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: block !important;
    }
    
    /* 滚动到顶部按钮增强 */
    .back-to-top {
        position: fixed;
        bottom: var(--spacing-lg);
        right: var(--spacing-lg);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--primary-color);
        color: white;
        text-align: center;
        line-height: 50px;
        font-size: 20px;
        cursor: pointer;
        display: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .back-to-top.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    .back-to-top:active {
        transform: scale(0.9);
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* 隐藏不需要的元素 */
    .top_search_keywords {
        display: none;
    }
    
    /* 表格响应式处理增强 */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: var(--spacing-md);
    }
    
    .table-responsive table {
        width: 100%;
        min-width: 640px;
        border-collapse: collapse;
    }
    
    .table-responsive th,
    .table-responsive td {
        padding: var(--spacing-sm);
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }
    
    .table-responsive th {
        background-color: var(--bg-color);
        font-weight: bold;
        color: var(--text-color);
        font-size: 14px;
    }
    
    /* 按钮适配 */
    .btn {
        min-width: 80px;
        padding: 8px 15px;
        font-size: 14px;
    }
    
    /* 表单元素适配 */
    input[type="text"],
    input[type="password"],
    textarea,
    select {
        height: 40px;
        font-size: 14px;
        padding: 0 12px;
    }
    
    /* 订单商品信息适配 */
    .order-goods-info {
        display: flex;
        flex-direction: column;
    }
    
    .order-goods-info .goods-pic {
        align-self: center;
        margin-bottom: 10px;
    }
    
    /* 切换显示/隐藏元素 */
    .pc-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    /* 响应式容器调整 */
    .w1200, .dsm-container {
        width: 100% !important;
        padding: 0 10px;
    }
    
    /* 移动端服务保障区域 */
    .ensure {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .ensure-item {
        min-width: 260px;
        margin-bottom: 15px;
    }
    
    /* 移动端商城描述区域 */
    .mall-desc-content {
        flex-direction: column;
    }
    
    .desc-column {
        min-width: 100%;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        margin-right: 0;
    }
    
    .desc-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    /* 移动端二维码区域 */
    .qrcode-section {
        margin-top: 20px;
    }
    
    .qrcode-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    /* 用户中心布局调整 */
    .member_center_back {
        padding: 10px 0;
    }
}

@media screen and (max-width: 480px) {
    /* 480px以下为小屏幕手机样式 */
    /* 进一步紧凑布局 */
    .mc-left, .mc-right {
        margin-bottom: 15px;
    }
    
    /* 用户信息卡片进一步调整 */
    .mc-user-card {
        padding: 12px;
    }
    
    .user-head {
        width: 70px;
        height: 70px;
    }
    
    .user-img img {
        width: 70px;
        height: 70px;
    }
    
    /* 用户资源概览适配 */
    .mc-user-huaban li {
        flex: 1 1 100%;
    }
    
    /* 订单入口适配 */
    .mc-order-portal li {
        flex: 1 1 50%;
    }
    
    /* 算力资源适配 */
    .mc-compute-resource {
        padding: 12px;
    }
    
    /* 安全信息适配 */
    .mc-security {
        padding: 12px;
    }
    
    /* 适配小屏幕的字体大小 */
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    h3 {
        font-size: 16px;
    }
    
    h4 {
        font-size: 14px;
    }
    
    p, a, span {
        font-size: 13px;
    }
    
    /* 按钮适配 */
    .btn {
        min-width: 70px;
        padding: 6px 12px;
        font-size: 13px;
    }
    
    /* 表单元素适配 */
    input[type="text"],
    input[type="password"],
    textarea,
    select {
        height: 36px;
        font-size: 13px;
        padding: 0 10px;
    }
    
    /* 进一步调整侧边菜单 */
    .left-layout {
        width: 90%;
    }
    
    /* 移动端菜单按钮位置微调 */
    .mobile-menu-toggle {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    /* 小屏幕下调整表格内容 */
    .table-responsive table {
        min-width: 480px;
    }
    
    /* 调整服务保障区域 */
    .ensure-item {
        min-width: 220px;
        padding: 10px;
    }
    
    /* 小屏幕下优化算力统计显示 */
    .compute-stats li {
        flex: 1 1 100%;
        border-right: none !important;
    }
    
    .compute-stats li:last-child {
        border-bottom: none;
    }
    
    /* 调整统计数值字体大小 */
    .stat-value {
        font-size: 18px;
    }
    
    /* 改进移动端加载状态指示器 */
    .loading-overlay {
        padding: 20px;
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
    }
    
    /* 优化触摸反馈区域大小 */
    [data-touch-feedback] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* 小屏幕下隐藏不必要的装饰元素 */
    .decorative-element {
        display: none;
    }
    
    /* 调整商品展示卡片 */
    .goods-card {
        padding: 10px;
    }
    
    .goods-name {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* 移动端优化的搜索框 */
    .keyword {
        font-size: 13px;
    }
    
    /* 响应式容器进一步调整 */
    .w1200, .dsm-container {
        padding: 0 8px;
    }
}

/* 基础响应式样式增强 */
* {
    box-sizing: border-box;
}

/* 确保所有图片在响应式布局中正确显示 */
img {
    max-width: 100%;
    height: auto;
}

/* 响应式容器样式 */
.responsive-container {
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 服务保障区域样式 */
.ensure {
    padding: 20px 0;
    background-color: #f9f9f9;
}

.ensure .ensure-item {
    text-align: center;
    padding: 10px 0;
}

.ensure .ensure-link {
    color: #333;
    text-decoration: none;
    display: block;
}

/* 商城描述区域样式 */
.mall-desc-content {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.desc-column {
    flex: 1;
    margin-right: 20px;
}

.desc-column:last-child {
    margin-right: 0;
}

.desc-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

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

.desc-link {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 5px 0;
    font-size: 14px;
}

.desc-link:hover {
    color: #e93b3d;
}

/* 二维码区域样式 */
.qrcode-section {
    padding: 20px 0;
}

.qrcode-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.qrcode-container {
    display: flex;
    gap: 20px;
}

.qrcode-link {
    text-align: center;
}

.qrcode-image {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
}

/* 移动端显示隐藏控制 */
.pc-only {
    display: block;
}

.mobile-only {
    display: none;
}

.hidden-mobile {
    display: none !important;
}

/* 触摸反馈样式 */
.touch-feedback:active {
    opacity: 0.7;
    transform: scale(0.98);
}

/* 修复移动端点击延迟 */
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 状态指示器样式 */
.status-indicator {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 8px 12px;
  z-index: 1000;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 卡片内容样式 */
.card-content {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 16px;
}

/* 移动端侧边栏样式 */
.mobile-sidebar {
  width: 100%;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.mobile-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-sidebar li {
  margin-bottom: 12px;
}

.mobile-menu-link {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.mobile-menu-link:hover {
  background-color: #e9ecef;
  color: #000;
}

/* 会员中心容器样式 */
.mc-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
  gap: 16px;
}

.mc-left, .mc-right {
  padding: 0 8px;
}

/* 用户信息卡片样式优化 */
.mc-user-card {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 16px;
  text-align: center;
}

.user-head {
  margin-bottom: 16px;
}

.user-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid #e9ecef;
}

.user-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-user-info h4 {
  margin: 8px 0 4px 0;
  font-size: 18px;
}

.mc-user-info p {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
}

/* 用户资源概览样式 */
.mc-user-huaban {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.mc-user-huaban ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-around;
}

.mc-user-huaban li {
  text-align: center;
  flex: 1;
}

.p-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.mc-user-huaban p:first-of-type {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: #6c757d;
}

.mc-user-huaban p:last-of-type {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

/* 安全信息样式 */
.mc-security {
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.mc-security .title {
  margin-bottom: 12px;
}

.mc-security button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
  margin-top: 8px;
}

.mc-security button:hover {
  background-color: #0056b3;
}

/* 媒体查询 - 移动端适配 */
@media screen and (max-width: 768px) {
    /* 切换显示/隐藏元素 */
    .pc-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    /* 响应式容器调整 */
    .w1200, .dsm-container {
        width: 100% !important;
        padding: 0 10px;
    }
    
    /* 移动端服务保障区域 */
    .ensure {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .ensure-item {
        min-width: 260px;
        margin-bottom: 15px;
    }
    
    /* 移动端商城描述区域 */
    .mall-desc-content {
        flex-direction: column;
    }
    
    .desc-column {
        min-width: 100%;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        margin-right: 0;
    }
    
    .desc-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    /* 移动端二维码区域 */
    .qrcode-section {
        margin-top: 20px;
    }
    
    .qrcode-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    /* 用户中心布局调整 */
    .member_center_back {
        padding: 10px 0;
    }
    
    .right-layout {
        width: 100%;
        float: none;
    }
    
    /* 移动端菜单样式 */
    .mobile-menu-container {
        position: relative;
        margin-bottom: 15px;
    }
    
    .mobile-menu-toggle {
        width: 100%;
        padding: 10px 15px;
        background-color: #e93b3d;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 16px;
        cursor: pointer;
    }
    
    .left-layout {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        z-index: 1000;
        overflow-y: auto;
        transition: left 0.3s ease;
        padding: 15px;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }
    
    .left-layout.show {
        left: 0;
    }
    
    .mobile-sidebar .dl {
        margin-bottom: 10px;
    }
    
    .mobile-sidebar .dt {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-sidebar .dd {
        padding-left: 15px;
    }
    
    /* 移动端表单样式 */
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="password"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 16px;
    }
    
    .form-group input[type="submit"],
    .form-group button {
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    /* 超小屏幕优化 */
    .w1200, .dsm-container {
        padding: 0 5px;
    }
    
    /* 移动端导航优化 */
    .left-layout {
        width: 95%;
    }
    
    /* 按钮和输入框优化 */
    .form-group input[type="text"],
    .form-group input[type="password"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea,
    .form-group input[type="submit"],
    .form-group button {
        height: 45px;
        font-size: 16px;
    }
    
    /* 表格响应式处理 */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 640px;
    }
}