/**
 * 候鸟合作平台 - 自定义补充样式
 * 基于 Ant Design 4.x，仅包含自定义和覆盖样式
 */
@import url(../lib/layui/css/layui.css);
/* ========== 基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    font-size: 14px;
    color: #262626;
    line-height: 1.5715;
}

.page-content .layui-tab-title{
    padding: 0 30px
}
.page-content .layui-tab-title .home .layui-tab-close{
    display: none;
}
.page-content .layui-tab-title .layui-this {
    background: #fff;
}

.ant-btn {
    border-radius: 4px;
    height: 42px;
    padding: 4px 18px;
}

.layui-form-select dl dd.layui-this, .layui-laypage .layui-laypage-curr .layui-laypage-em, .layui-laydate td.layui-this, .layui-laydate li.layui-this, .layui-nav .layui-this:after, .layui-nav-bar, .layui-nav-tree .layui-nav-itemed:after{
    background-color: #1890ff !important;
}

.layui-laypage a:hover, .layui-laydate-footer span:hover, .layui-laydate-header i:hover, .layui-laydate-header span:hover, .layui-form-radio>i:hover, .layui-form-radioed>i{
    color: #1890ff !important;
}

.layui-laypage input:focus, .layui-laypage select:focus{
    border-color: #1890ff !important;
}

.layui-form-switch{
    margin-top: 0;
}

.layui-form-onswitch{
    border-color: #1890ff !important;
    background-color: #1890ff !important;
}

.ant-empty-normal .ant-empty-image{
    height: 100px;
}

#tab_right {
    display: none;
    width: 80px;
    position: absolute;
    top: 10px;
    left: 0px;
}
/* ========== 自定义渐变背景 ========== */
.login-container,
.register-container,
.forgot-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.register-container {
    padding: 40px 20px;
}

/* ========== 自定义卡片容器 ========== */
.login-card,
.register-card,
.forgot-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 40px;
    animation: fadeInUp 0.6s ease-out;
}

.register-card {
    max-width: 500px;
}

/* ========== 页面头部 ========== */
.login-header,
.register-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo,
.register-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.login-logo img,
.register-logo img {
    width: 48px;
    height: 48px;
}

.login-title,
.register-title {
    font-size: 24px;
    font-weight: 600;
    color: #262626;
    margin: 16px 0 0 0;
}

/* ========== 自定义验证码组件 ========== */
.captcha-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-input {
    flex: 1;
}

.captcha-image {
    width: 100px;
    height: 40px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.captcha-image:hover {
    border-color: #40a9ff;
}

.captcha-refresh {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    background: #fff;
    user-select: none;
    transition: all 0.3s;
}

.captcha-refresh:hover {
    border-color: #40a9ff;
    color: #40a9ff;
}

/* ========== 密码强度指示器 ========== */
.password-strength-bar {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    height: 4px;
}

.password-strength-bar span {
    flex: 1;
    background-color: #f0f0f0;
    border-radius: 2px;
    transition: all 0.3s;
}

.password-strength-bar.weak span:first-child {
    background-color: #ff4d4f;
}

.password-strength-bar.medium span:nth-child(-n+2) {
    background-color: #faad14;
}

.password-strength-bar.strong span {
    background-color: #52c41a;
}

.password-strength-text {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    margin-top: 4px;
}

/* ========== 密码显示切换 ========== */
.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #bfbfbf;
    font-size: 16px;
    transition: color 0.3s;
}

.password-toggle:hover {
    color: #40a9ff;
}

.password-input-wrapper {
    position: relative;
}

/* ========== 表单标签 ========== */
.form-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    font-weight: 500;
}

.form-label.required::after {
    content: " *";
    color: #ff4d4f;
}

.form-help {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    margin-top: 4px;
}

/* ========== 按钮尺寸覆盖 ========== */
.ant-btn-lg {
    height: 40px !important;
    padding: 6.4px 15px !important;
    font-size: 16px !important;
    border-radius: 6px !important;
}

/* ========== 后台管理布局样式 ========== */
.admin-header {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 64px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
}

.admin-header-left {
    display: flex !important;
    align-items: center !important;
}

.admin-header-right {
    display: flex !important;
    align-items: center !important;
}

.admin-header-right .layui-nav {
    display: flex !important;
    align-items: center !important;
    height: 64px !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.admin-header-right .layui-nav-item {
    display: inline-block !important;
    vertical-align: top !important;
    height: 64px !important;
    line-height: 64px !important;
    margin: 0 4px !important;
    position: relative !important;
}

.admin-header-right .layui-nav-item a {
    display: flex !important;
    align-items: center !important;
    height: 64px !important;
    padding: 0 12px !important;
    color: rgba(0, 0, 0, 0.65) !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    transition: all 0.3s !important;
    white-space: nowrap !important;
}

.admin-header-right .layui-nav-item a:hover {
    color: #1890ff !important;
    background: rgba(24, 144, 255, 0.1) !important;
}

.admin-header-right .layui-nav-item a i {
    margin-right: 6px !important;
    font-size: 16px !important;
}

/* 修复layui导航下拉箭头样式 - 让箭头更清晰可见 */
.admin-header-right .layui-nav-item > a::after {
    content: '' !important;
    display: inline-block !important;
    margin-left: 8px !important;
    width: 0 !important;
    height: 0 !important;
    border-style: solid !important;
    border-width: 5px 4px 0 4px !important;
    border-color: #595959 transparent transparent transparent !important;
    vertical-align: middle !important;
    transition: transform 0.3s !important;
}

.admin-header-right .layui-nav-item:hover > a::after {
    border-color: #1890ff transparent transparent transparent !important;
}

/* 移除layui默认的箭头 */
.admin-header-right .layui-nav .layui-nav-more {
    display: none !important;
}

/* layui导航下拉菜单样式重写 */
.admin-header-right .layui-nav-child {
    top: 64px !important;
    background: #fff !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 6px !important;
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05) !important;
    min-width: 120px !important;
}

.admin-header-right .layui-nav-child dd {
    margin: 0 !important;
}

.admin-header-right .layui-nav-child dd a {
    color: rgba(0, 0, 0, 0.85) !important;
    padding: 8px 16px !important;
    height: auto !important;
    line-height: 1.5 !important;
}

.admin-header-right .layui-nav-child dd a:hover {
    background-color: #f5f5f5 !important;
}

.admin-logo {
    margin-right: 24px !important;
}

.admin-logo a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #1890ff !important;
}

.logo-img {
    width: 32px !important;
    height: 32px !important;
    margin-right: 8px !important;
}

.logo-text {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1890ff !important;
}

.sidebar-toggle {
    border: none !important;
    background: transparent !important;
    font-size: 18px !important;
    color: #666 !important;
    cursor: pointer !important;
}

.sidebar-toggle:hover {
    color: #1890ff !important;
    background: rgba(24, 144, 255, 0.1) !important;
}

/* 主体布局 */
.ant-layout-body {
    margin-top: 64px !important;
    min-height: calc(100vh - 64px) !important;
    display: flex !important;
}

.admin-sider {
    background: #001529 !important;
    width: 256px !important;
    min-width: 256px !important;
    max-width: 256px !important;
    position: relative !important;
    overflow-y: auto !important;
    z-index: 999 !important;
    transition: width 0.3s ease !important;
}

.admin-content {
    flex: 1 !important;
    background: #f0f2f5 !important;
    min-height: calc(100vh - 64px) !important;
    transition: margin-left 0.3s ease !important;
}

/* 菜单样式 */
#admin-menu {
    border-right: none !important;
}

.ant-menu-submenu-title {
    padding: 0 24px !important;
    height: 40px !important;
    line-height: 40px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s !important;
}

.ant-menu-submenu-title:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.ant-menu-submenu-title i {
    margin-right: 8px !important;
    font-size: 14px !important;
}

.ant-menu-submenu-title span {
    flex: 1 !important;
}

.ant-menu-item {
    padding: 0 !important;
    height: 40px !important;
    line-height: 40px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    transition: all 0.3s !important;
}

.ant-menu-item:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.ant-menu-item.ant-menu-item-selected {
    color: #fff !important;
    background-color: #1890ff !important;
}

.ant-menu-item a {
    color: inherit !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 24px 0 48px !important;
    line-height: 40px !important;
}

/* active状态样式优化 - 确保整行高亮 */
.ant-menu-item a.active {
    color: #fff !important;
    background-color: #1890ff !important;
    border-radius: 0 !important;
}

/* 左侧导航菜单活跃状态 */
.left-nav .active {
    color: #fff !important;
    background-color: #1890ff !important;
}

.ant-menu-item i {
    margin-right: 8px !important;
    font-size: 14px !important;
}

.ant-menu-item span {
    flex: 1 !important;
}

/* 标签页样式 */
.admin-tabs {
    background: #fff !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    height: calc(100vh - 112px) !important;
}

.ant-tabs-bar {
    border-bottom: 1px solid #f0f0f0 !important;
    margin-bottom: 0 !important;
    padding: 0 16px !important;
}

.ant-tabs-tab {
    padding: 12px 16px !important;
    margin-right: 8px !important;
}

.ant-tabs-content {
    height: calc(100vh - 160px) !important;
    padding: 0 !important;
}

.ant-tabs-tabpane, .layui-tab-item {
    height: 100% !important;
}

.x-iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 0 6px 6px !important;
}

.tab-operations {
    cursor: pointer !important;
    padding: 8px !important;
    border-radius: 4px !important;
}

.tab-operations:hover {
    background: rgba(0, 0, 0, 0.04) !important;
}

.ant-table-tbody > tr > td {
    font-size: 13px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.ant-table-thead > tr > th {
    font-size: 14px;
    font-weight: 600;
    background-color: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.ant-tag {
    border-radius: 4px;
    font-size: 12px;
    line-height: 20px;
    padding: 0 7px;
    border: 1px solid transparent;
}

.ant-tag-warning {
    color: #faad14;
    background: #fff7e6;
    border-color: #ffd591;
}

.ant-tag-success {
    color: #52c41a;
    background: #f6ffed;
    border-color: #b7eb8f;
}

.ant-tag-error {
    color: #ff4d4f;
    background: #fff2f0;
    border-color: #ffccc7;
}

.ant-btn-sm {
    height: 24px;
    padding: 0 7px;
    font-size: 12px;
    border-radius: 4px;
}

.search-form .ant-form-item {
    margin-bottom: 16px;
}

.search-form .ant-input,
.search-form .ant-select {
    width: 100%;
}

.page-header {
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.page-content {
    position: relative;
    background: #f5f5f5;
    min-height: calc(100vh - 64px);
}

.content-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

.card-body {
    padding: 24px;
}

.table-container {
    overflow-x: auto;
}

.content-card>.table-container {
    padding: 24px;
}

.pagination-wrapper {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.ant-pagination {
    display: inline-block;
}

.ant-pagination-item {
    border-radius: 4px;
}

.ant-pagination-item-active {
    border-color: #1890ff;
}

.ant-pagination-item-active a {
    color: #1890ff;
}

.ant-btn .layui-icon {
    font-size: 14px;
}

.ant-btn-sm .layui-icon {
    font-size: 14px;
}

.ant-btn-xs .layui-icon {
    font-size: 12px;
}

/* 订单详情页面样式 */
.order-detail {
    padding: 24px;
    background: #f5f5f5;
    min-height: 100vh;
}

.detail-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
    overflow: hidden;
}

.detail-card-header {
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
}

.detail-card-body {
    padding: 24px;
}

.ant-descriptions-item {
    display: flex;
    align-items: center;
    padding-bottom: 16px;
}

.ant-descriptions-item-label {
    color: rgba(0, 0, 0, 0.65);
    font-weight: normal;
    text-align: right;
    padding-right: 16px;
    width: 150px;
}

.ant-descriptions-item-content {
    color: rgba(0, 0, 0, 0.85);
}

.module-data-container {
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 16px;
    max-height: 300px;
    overflow-y: auto;
}

.module-data-container pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.85);
}

.action-buttons {
    text-align: center;
    padding: 24px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.ant-btn + .ant-btn {
    margin-left: 8px;
}

.qrcode-container {
    text-align: center;
    margin-top: 16px;
}

.qrcode-container img {
    max-width: 200px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
}

/* 审核页面特定样式 */
.admin-review-page {
    background: #f0f2f5;
    min-height: 100vh;
    padding: 24px;
}
.status-pending {
    background: #fff7e6;
    color: #d46b08;
    border: 1px solid #ffd591;
}

.status-approved {
    background: #f6ffed;
    color: #389e0d;
    border: 1px solid #b7eb8f;
}

.status-rejected {
    background: #fff2f0;
    color: #cf1322;
    border: 1px solid #ffccc7;
}

.status-unsub {
    background: #f5f5f5;
    color: #8c8c8c;
    border: 1px solid #d9d9d9;
}

.ant-table-small .ant-table-tbody > tr > td {
    padding: 8px;
}

.action-buttons .ant-btn {
    margin-right: 8px;
}

.breadcrumb-nav {
    background: #fff;
    padding: 16px 24px;
    border-radius: 6px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-badge {
    display: inline-block;
    padding: 2px 5px;
    border-radius: 3px;
    color: white;
    font-size: 12px;
}

.review-status-tag {
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.review-pending {
    background-color: #FFB800;
}
.review-approved {
    background-color: #5FB878;
}
.review-rejected {
    background-color: #FF5722;
}
.review-unsub {
    background-color: #999999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .admin-sider {
        transform: translateX(-100%) !important;
        transition: transform 0.3s !important;
    }
    
    .admin-content {
        margin-left: 0 !important;
    }
    
    .admin-sider.mobile-open {
        transform: translateX(0) !important;
    }
}

/* ========== 发送验证码按钮 ========== */
.send-code-btn {
    min-width: 100px;
    height: 40px;
    margin-left: 8px;
}

.send-code-btn:disabled {
    background-color: #f5f5f5 !important;
    border-color: #d9d9d9 !important;
    color: rgba(0, 0, 0, 0.25) !important;
    cursor: not-allowed !important;
}

/* ========== 登录链接 ========== */
.login-links {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.login-links a {
    color: #1890ff;
    text-decoration: none;
    transition: color 0.3s;
}

.login-links a:hover {
    color: #40a9ff;
}

/* ========== 二维码登录 ========== */
.qrcode-section {
    text-align: center;
    padding: 20px 0;
}

.qrcode-section img {
    width: 150px;
    height: 150px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

.qrcode-tips {
    margin-top: 12px;
    color: rgba(0, 0, 0, 0.45);
    font-size: 12px;
}

/* ========== 登录方式切换 ========== */
.login-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.login-tab {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.65);
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.login-tab.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
}

.login-tab:hover {
    color: #40a9ff;
}

/* ========== 动画效果 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== 工具类 ========== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.text-muted {
    color: rgba(0, 0, 0, 0.45);
}

.border-top {
    border-top: 1px solid #f0f0f0;
}

.pt-24 {
    padding-top: 24px;
}

/* ========== 响应式设计 ========== */
@media (max-width: 576px) {
    .login-container,
    .register-container,
    .forgot-container {
        padding: 10px;
    }

    .login-card,
    .register-card,
    .forgot-card {
        padding: 24px 20px;
        max-width: 100%;
    }

    .login-title,
    .register-title {
        font-size: 20px;
    }

    .qrcode-section img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 400px) {
    .login-card,
    .register-card,
    .forgot-card {
        padding: 20px 16px;
    }

    .login-logo img,
    .register-logo img {
        width: 40px;
        height: 40px;
    }

    .login-title,
    .register-title {
        font-size: 18px;
    }
}

/* ========== 防止非输入元素文本选择 ========== */
body, div, p, h1, h2, h3, h4, h5, h6, span, a {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 允许输入框选择文本 */
input, textarea {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* ========== 侧边栏收缩功能 ========== */
.admin-sider.collapsed {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
}

.admin-sider.collapsed .ant-menu-submenu-title span,
.admin-sider.collapsed .ant-menu-item span {
    display: none !important;
}

.admin-sider.collapsed .ant-menu-submenu-title {
    padding: 0 16px !important;
    justify-content: center !important;
}

.admin-sider.collapsed .ant-menu-item {
    padding: 0 16px !important;
    justify-content: center !important;
}

.admin-sider.collapsed .ant-menu-sub {
    display: none !important;
}

.admin-sider.collapsed .ant-menu-item i,
.admin-sider.collapsed .ant-menu-submenu-title i {
    margin-right: 0 !important;
    font-size: 18px !important;
}

/* 子菜单动画 */
.ant-menu-sub {
    display: none;
}

.ant-menu-submenu-open .ant-menu-sub {
    display: block;
}

/* ========== xadmin.js 兼容性样式 ========== */
/* 确保与xadmin.js的选择器兼容 */

.left-nav .nav_right {
    /* 箭头样式 */
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.page-content-bg {
    /* 移动端背景遮罩 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    display: none;
}

/* layui-tab 与 ant-tabs 兼容 */

/* 右键菜单样式 */
#tab_right {
    min-width: 120px;
}

#tab_right dl {
    margin: 0;
}

#tab_right dd {
    margin: 0;
    padding: 5px 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
}

#tab_right dd:hover {
    background-color: #f5f5f5;
}

/* 左侧菜单收缩时的样式 */
.left-nav[style*="width: 60px"] cite,
.left-nav[style*="width: 60px"] .nav_right {
    display: none !important;
}

.left-nav[style*="width: 60px"] .iconfont {
    font-size: 18px !important;
}

/* 确保菜单项点击区域 */
.ant-menu-submenu-title a,
.ant-menu-item a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* 子菜单展开状态 */
.ant-menu-submenu.open .ant-menu-sub {
    display: block !important;
}

/* 活跃菜单项样式 */
.left-nav .active {
    background-color: #1890ff !important;
    color: #fff !important;
}

/* 容器样式兼容 */

.left_open a {
    display: inline-block;
    padding: 8px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.left_open a:hover {
    color: #1890ff;
    background: rgba(24, 144, 255, 0.1);
}

/* layui导航样式兼容 */

.layui-nav-child {
    /* 继承Ant Design下拉菜单样式 */
    background: #fff !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 6px !important;
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05) !important;
}


.layui-nav-child dd a {
    color: rgba(0, 0, 0, 0.85) !important;
    padding: 8px 16px !important;
    display: flex !important;
    align-items: center !important;
}

.layui-nav-child dd a:hover {
    background-color: #f5f5f5 !important;
}

.layui-nav-child dd a i {
    margin-right: 8px !important;
}

/* VPS管理页面样式 */
.ellipsis {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

/* 特性图标样式 */
.feature-icon {
    margin-right: 5px;
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    color: white;
    font-size: 10px;
}

.feature-yes {
    background-color: #5FB878;
}

.feature-no {
    background-color: #ccc;
}

/* Logo样式 */
.ad-logo {
    max-width: 60px;
    max-height: 30px;
    border-radius: 3px;
}

/* 合作伙伴管理页面样式 */
/* 审核中的行高亮 */
.partner-review-pending td {
    background-color: #fffbf0 !important;
}

/* 合作伙伴操作按钮组 */
.partner-action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.partner-action-group .ant-btn {
    margin-right: 0;
}

/* 合作伙伴审核操作按钮 */
.partner-review-actions {
    display: flex;
    gap: 5px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px dashed #e8e8e8;
    width: 100%;
}

.partner-review-actions .ant-btn {
    font-weight: bold;
}

/* 表单项样式 */
.ant-form-item {
    margin-bottom: 16px;
}

.ant-form-item-label {
    display: inline-block;
    width: 120px;
    text-align: right;
    padding-right: 12px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    line-height: 42px;
}

.ant-form-item-required::before {
    content: '*';
    color: #ff4d4f;
    margin-right: 4px;
    font-family: SimSun, sans-serif;
}

.ant-form-item-control {
    display: inline-block;
    vertical-align: top;
}

.ant-form-item-explain {
    color: rgba(0, 0, 0, 0.45);
    font-size: 12px;
}

/* 输入框样式 */
.ant-input {
    box-sizing: border-box;
    margin: 0;
    padding: 4px 11px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    line-height: 1.5715;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    transition: all 0.3s;
    height: 42px; /* 统一高度 */
}

.ant-input:hover {
    border-color: #40a9ff;
}

.ant-input:focus {
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    outline: 0;
}

.ant-input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* 下拉框样式 */
.ant-select {
    box-sizing: border-box;
    margin: 0;
    padding: 4px 11px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    line-height: 1.5715;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    transition: all 0.3s;
    width: 100%;
}

.ant-select:hover {
    border-color: #40a9ff;
}

.ant-select:focus {
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    outline: 0;
}

/* 按钮样式增强 */
.ant-btn-primary {
    color: #fff !important;
    background: #1890ff !important;
    border-color: #1890ff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
}

.ant-btn-primary:hover {
    background: #40a9ff !important;
    border-color: #40a9ff !important;
}

/* 表单布局宽度控制 */
.layui-form-item .layui-input-inline {
    width: 300px;
}

.layui-form-item .layui-input-wide {
    width: 450px;
}

.layui-form-label {
    width: 120px;
}

/* ========== index.php 首页特有样式 ========== */
/* 禁止左侧导航栏文本选择 */
.left-nav,
.left-nav #nav li,
.left-nav #nav li a,
.left-nav #nav li a cite,
.left-nav #nav li a i,
.left-nav .nav_right,
.left-nav .sub-menu,
.left-nav #side-nav {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 禁止鼠标拖动选择时的蓝色背景 */
.left-nav::selection,
.left-nav *::selection {
    background: transparent;
}

/* 审核等待遮罩层 */
.review-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 500px;
    text-align: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out;
}

.review-container h2 {
    font-size: 26px;
    color: #34776d;
    margin-bottom: 20px;
    font-weight: 500;
}

.review-container p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.countdown-container {
    margin: 30px auto;
    width: 220px;
    height: 220px;
    position: relative;
}

.countdown-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.countdown-circle circle {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
}

.countdown-circle .bg {
    stroke: #f1f1f1;
}

.countdown-circle .progress {
    stroke: #34776d;
    stroke-dasharray: 628;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.countdown-time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 700;
    color: #34776d;
}

.countdown-time .minutes {
    font-size: 60px;
}

.countdown-time .seconds {
    font-size: 36px;
    color: #666;
    margin-left: 5px;
}

.hurry-btn {
    display: block;
    padding: 12px 30px;
    background: linear-gradient(to right, #34776d, #4b9388);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px auto 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(52, 119, 109, 0.3);
    animation: pulse 2s infinite;
}

.hurry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 119, 109, 0.4);
}

.hurry-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(52, 119, 109, 0.3);
}

/* 脉动动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 发光效果 */
.hurry-btn:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.response-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 15px;
    display: none;
}

.success-message {
    background-color: rgba(240, 255, 240, 0.8);
    color: #34776d;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: rgba(255, 240, 240, 0.8);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 退出按钮样式 */
.logout-btn {
    display: block;
    margin: 15px auto 0;
    padding: 5px 15px;
    background: linear-gradient(to right, #f56c6c, #f78989);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(245, 108, 108, 0.3);
    width: 50%;
    max-width: 120px;
    clear: both;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 108, 108, 0.4);
}

.logout-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(245, 108, 108, 0.3);
}

.logout-btn i {
    margin-right: 5px;
}

/* ========== welcome.php 欢迎页面样式 ========== */
.welcome-header {
    background: linear-gradient(to right, #34776d, #4b9388);
    color: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.welcome-header h1 {
    font-size: 24px;
    margin: 0;
    padding: 0;
}

.welcome-header p {
    margin: 10px 0 0 0;
    opacity: 0.9;
}

.refresh-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg);
}

.refresh-btn i {
    font-size: 20px;
}

.stat-card {
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.stat-card.primary {
    background: linear-gradient(135deg, #6B73FF 0%, #000DFF 100%);
    color: white;
}

.stat-card.success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.stat-card.info {
    background: linear-gradient(135deg, #0396FF 0%, #ABDCFF 100%);
    color: white;
}

.stat-card.warning {
    background: linear-gradient(135deg, #F6D365 0%, #FDA085 100%);
    color: white;
}

.stat-card.primary h3,
.stat-card.success h3,
.stat-card.info h3,
.stat-card.warning h3,
.stat-card.primary .value,
.stat-card.success .value,
.stat-card.info .value,
.stat-card.warning .value {
    color: white;
}

.status-indicator {
    display: inline-block;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 15px;
}

.status-yes {
    background-color: #5FB878;
    color: white;
}

.status-no {
    background-color: #FFB800;
    color: white;
}

.notice-box {
    position: relative;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.notice-box blockquote {
    margin: 0;
    padding: 15px 40px 15px 15px;
    border-left: 5px solid #34776d;
}

.notice-box.important blockquote {
    border-left: 5px solid #FF5722;
}

.notice-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    color: #999;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.notice-close:hover {
    color: #34776d !important;
    background-color: rgba(52, 119, 109, 0.1);
    transform: scale(1.1);
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.quick-link {
    flex: 1;
    min-width: 140px;
    height: 60px;
    border-radius: 4px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.quick-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 119, 109, 0.3);
}

.quick-link i {
    font-size: 18px;
}

.footer {
    text-align: center;
    padding: 20px 0;
    color: #999;
    font-size: 12px;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .stat-card {
        height: auto;
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .stat-card .value {
        font-size: 22px;
    }
}

/* ========== Ant Design Alert 组件样式 ========== */
.ant-alert {
    box-sizing: border-box;
    margin: 0;
    padding: 8px 15px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    line-height: 1.5715;
    list-style: none;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 8px 15px;
    word-wrap: break-word;
    border-radius: 4px;
}

.ant-alert-content {
    flex: 1;
    min-width: 0;
}

.ant-alert-message {
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    line-height: 1.5715;
}

.ant-alert-description {
    font-size: 14px;
    line-height: 22px;
    margin-top: 4px;
}

.ant-alert-success {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
}

.ant-alert-success .ant-alert-message {
    color: #52c41a;
}

.ant-alert-success .ant-alert-description {
    color: #52c41a;
}

.ant-alert-error {
    background-color: #fff2f0;
    border: 1px solid #ffccc7;
}

.ant-alert-error .ant-alert-message {
    color: #ff4d4f;
}

.ant-alert-error .ant-alert-description {
    color: #ff4d4f;
}

.ant-alert-warning {
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
}

.ant-alert-warning .ant-alert-message {
    color: #faad14;
}

.ant-alert-warning .ant-alert-description {
    color: #faad14;
}

.ant-alert-info {
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
}

.ant-alert-info .ant-alert-message {
    color: #1890ff;
}

.ant-alert-info .ant-alert-description {
    color: #1890ff;
}

/* ==================== 文档教程页面样式 ==================== */
/* TinyMCE编辑器容器样式 */
.editor-container {
    margin-left: 0;
    width: 100%;
    max-width: 800px;
    display: block;
}

/* 提示框关闭按钮 */
.notice-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    color: #999;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.notice-close:hover {
    color: #34776d !important;
    background-color: rgba(52, 119, 109, 0.1);
    transform: scale(1.1);
}

/* 提示框样式（保留用于兼容） */
.notice-box {
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 5px solid #1E9FFF;
    background-color: #f8f8f8;
    color: #666;
    line-height: 1.6;
}

/* 系统公告专用样式 - 基于Ant Design Alert */
.notice-box.system-announcement {
    margin-bottom: 12px;
    border-radius: 8px;
    padding: 16px 20px;
    border: 1px solid;
    position: relative;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.notice-box.system-announcement.info {
    background-color: #e6f7ff;
    border-color: #91d5ff;
    color: #262626;
}

.notice-box.system-announcement.warning {
    background-color: #fff2f0;
    border-color: #ffccc7;
    color: #000;
}

.notice-box.system-announcement .notice-content {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}

.notice-box.system-announcement .notice-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    color: inherit;
    font-size: 16px;
    opacity: 0.6;
    transition: all 0.3s ease;
    background-color: transparent;
    border: none;
    padding: 0;
}

.notice-box.system-announcement .notice-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* 欢迎页面统计卡片样式 */
.stat-card-modern {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.stat-card-modern .stat-icon {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.stat-card-modern .stat-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.stat-card-modern .stat-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 16px 0 8px 0;
    font-weight: 400;
}

.stat-card-modern .stat-value {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

.stat-card-modern .stat-bg-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* 快速导航卡片样式 */
.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    border-radius: 8px;
    border: 2px solid #d9d9d9;
    background: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    min-height: 140px;
}

.quick-link:hover {
    border-color: #1890ff;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(24, 144, 255, 0.2);
    text-decoration: none;
}

.quick-link .quick-link-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.quick-link:hover .quick-link-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.quick-link .quick-link-title {
    color: #262626;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

/* 欢迎页面响应式样式 */
@media (max-width: 768px) {
    /* 统计卡片响应式 */
    .stat-card-modern {
        padding: 16px;
    }

    .stat-card-modern .stat-icon {
        font-size: 28px;
    }

    .stat-card-modern .stat-value {
        font-size: 24px;
    }

    .stat-card-modern .stat-title {
        font-size: 12px;
    }

    .stat-card-modern .stat-badge {
        font-size: 11px;
        padding: 2px 8px;
    }

    .stat-card-modern .stat-bg-circle {
        width: 60px;
        height: 60px;
        top: -10px;
        right: -10px;
    }

    /* 快速导航响应式 */
    .quick-link {
        padding: 16px 12px;
        min-height: 120px;
    }

    .quick-link .quick-link-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }

    .quick-link .quick-link-title {
        font-size: 13px;
    }

    /* 系统公告响应式 */
    .notice-box.system-announcement {
        padding: 12px 16px;
        flex-direction: column;
        text-align: center;
    }

    .notice-box.system-announcement .notice-content {
        margin-bottom: 8px;
    }

    .notice-box.system-announcement .notice-close {
        position: absolute;
        right: 8px;
        top: 8px;
    }
}

@media (max-width: 576px) {
    /* 移动端统计卡片 */
    .stat-card-modern {
        padding: 12px;
    }

    .stat-card-modern .stat-value {
        font-size: 20px;
    }

    .stat-card-modern .stat-icon {
        font-size: 24px;
    }

    /* 移动端快速导航 */
    .quick-link {
        padding: 12px 8px;
        min-height: 100px;
    }

    .quick-link .quick-link-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }

    .quick-link .quick-link-title {
        font-size: 12px;
    }

    /* 卡片头部响应式 */
    .ant-card-head-title {
        font-size: 14px;
    }
}

/* 语言切换标签 */
.lang-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.lang-tab {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
}

.lang-tab.active {
    background-color: #fff;
    border-color: #ddd;
    color: #1E9FFF;
    border-bottom: 2px solid #1E9FFF;
}

.lang-tab:hover {
    color: #1E9FFF;
}

/* 标签内容容器 */
.tab-content {
    display: none;
    padding: 15px 0;
}

.tab-content.active {
    display: block;
}

/* 翻译按钮 */
.translate-btn {
    margin-left: 10px;
    background-color: #1E9FFF;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.translate-btn:hover {
    background-color: #0d8adc;
}

/* TinyMCE编辑器容器尺寸 */
#content-editor,
#content-en-editor {
    width: 100%;
    min-height: 400px;
}

/* ==================== 友情链接页面样式 ==================== */

.notice-box {
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
}

/* 闪烁按钮效果（用于友情链接监控页面） */
@keyframes pulsate {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 119, 109, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(52, 119, 109, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 119, 109, 0);
        transform: scale(1);
    }
}

.pulsate-btn {
    animation: pulsate 2s infinite ease-in-out;
    background: linear-gradient(to right, #34776d, #4b9388) !important;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.pulsate-btn:hover {
    animation: none;
    background: #34776d !important;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 已下载状态样式 */
.download-btn:not(.pulsate-btn) {
    background: #53968b !important;
    transition: all 0.3s ease;
}

.download-btn:not(.pulsate-btn):hover {
    background: #34776d !important;
    transform: scale(1.02);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.pulsate-btn:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.pulsate-btn:active:before {
    width: 300px;
    height: 300px;
}

/* 友情链接操作按钮组样式 */
.top-action-buttons {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* ==================== 表单弹窗页面样式 ==================== */
/* 用于友情链接添加/编辑等弹窗表单页面 */

/* 弹窗容器 */
.form-dialog-container {
    width: 100%;
    height: 100%;
    background-color: #f0f2f5;
    padding: 15px;
    box-sizing: border-box;
    overflow: auto;
}

.form-dialog-content {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.form-dialog-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 20px;
}

/* 表单头部 */
.form-dialog-header {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e8e8e8;
}

.form-dialog-header h2 {
    font-size: 18px;
    color: #262626;
    font-weight: 500;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-dialog-header p {
    font-size: 14px;
    color: #8c8c8c;
    margin: 8px 0 0 0;
    line-height: 1.5;
}

.form-dialog-tip {
    font-size: 12px !important;
    color: #bfbfbf !important;
    margin-top: 8px !important;
}

/* Ant Design 表单项 */
.ant-form-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.ant-form-label {
    flex: 0 0 160px;
    text-align: right;
    padding-right: 12px;
    font-size: 14px;
    color: #262626;
    line-height: 38px;
    box-sizing: border-box;
}

.ant-form-control {
    flex: 1;
    position: relative;
    box-sizing: border-box;
}

/* 必填标记 */
.required-mark {
    color: #ff4d4f;
    margin-right: 4px;
    font-weight: bold;
}

/* ant-input 已在合作伙伴管理页面样式部分统一定义，此处删除重复 */

.ant-input::placeholder {
    color: #bfbfbf;
}

/* 表单提示文字 */
.ant-form-hint {
    font-size: 12px;
    color: #8c8c8c;
    margin-top: 4px;
    line-height: 1.5;
}

/* 历史记录下拉列表 */
.history-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.history-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: #595959;
}

.history-item:hover {
    background-color: #f5f5f5;
    color: #1890ff;
}

/* 上传区域 */
.upload-wrapper {
    width: 100%;
}

.ant-upload-btn {
    width: 100%;
    height: 38px;
    line-height: 36px;
    background-color: #fafafa;
    border: 1px dashed #d9d9d9;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    color: #595959;
    transition: all 0.3s;
    box-sizing: border-box;
}

.ant-upload-btn:hover {
    border-color: #40a9ff;
    color: #40a9ff;
    background-color: #f0f8ff;
}

.ant-upload-btn i {
    margin-right: 6px;
    font-size: 16px;
}

/* Logo 预览 */
.logo-preview {
    width: 100%;
    max-width: 338px;
    height: 128px;
    overflow: hidden;
    margin: 16px auto 0;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.logo-preview-empty {
    color: #bfbfbf;
    font-size: 14px;
}

.logo-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 提交按钮 */
.ant-btn-submit {
    width: 150px;
    height: 42px;
    line-height: 40px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.016);
}

.ant-btn-submit:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.ant-btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.016);
}

.ant-btn-submit i {
    margin-right: 6px;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .form-dialog-container {
        padding: 10px;
    }
    
    .form-dialog-card {
        padding: 16px;
    }
    
    .ant-form-label {
        flex: 0 0 90px;
    }
    
    .ant-btn-submit {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .ant-form-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ant-form-label {
        text-align: left;
        line-height: 1.5;
        padding-bottom: 8px;
    }
    
    .ant-form-control {
        width: 100%;
    }
}

/* ==================== 会员信息查看/编辑页面样式 ==================== */
/* 用于member-view.php和member-edit.php */

/* 会员查看页面 - 卡片 */
.member-view-card {
    max-width: 800px;
    margin: 20px auto;
}

.member-view-header {
    background: linear-gradient(to right, #1890ff, #40a9ff);
    color: white;
    padding: 24px;
    position: relative;
}

.member-view-header h2 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 500;
}

.member-view-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.member-view-content {
    padding: 24px;
    background: #fff;
}

/* 信息分组 */
.member-info-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.member-info-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.member-info-group h3 {
    color: #1890ff;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 500;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e8e8e8;
}

/* 信息项 */
.member-info-item {
    display: flex;
    margin-bottom: 12px;
    line-height: 1.8;
}

.member-info-label {
    color: #595959;
    width: 120px;
    font-weight: 500;
    flex-shrink: 0;
}

.member-info-value {
    color: #262626;
    flex-grow: 1;
    word-break: break-word;
}

.member-info-empty {
    color: #bfbfbf;
    font-style: italic;
}

/* 操作按钮 */
.member-view-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

/* 会员编辑页面 */
.member-edit-card {
    max-width: 800px;
    margin: 20px auto;
}

.member-edit-header {
    background: linear-gradient(to right, #1890ff, #40a9ff);
    color: white;
    padding: 24px;
}

.member-edit-header h2 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 500;
}

.member-edit-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.member-edit-content {
    padding: 24px;
    background: #fff;
}

/* 表单分组 */
.member-form-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.member-form-section:last-of-type {
    border-bottom: none;
}

.member-form-section h3 {
    color: #1890ff;
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e8e8e8;
    font-weight: 500;
}

/* 必填标记 */
.member-form-required:after {
    content: '*';
    color: #ff4d4f;
    margin-left: 4px;
}

/* 表单提示 */
.member-form-tip {
    color: #8c8c8c;
    font-size: 12px;
    margin-top: 4px;
    margin-left: 125px;
}

/* 编辑操作按钮 */
.member-edit-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .member-view-card,
    .member-edit-card {
        margin: 10px;
    }
    
    .member-info-item {
        flex-direction: column;
    }
    
    .member-info-label {
        width: 100%;
        margin-bottom: 4px;
    }
    
    .member-view-actions,
    .member-edit-actions {
        flex-wrap: wrap;
    }
    
    .member-view-actions .ant-btn,
    .member-edit-actions .ant-btn {
        flex: 1;
        min-width: 100px;
    }
}

/* ========== 产品模块 - OEM合作页面样式 ========== */
.oem-container {
    padding: 30px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.oem-section-title {
    font-size: 24px;
    color: #009688;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.oem-section-title:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background: #009688;
}

.oem-section-divider {
    margin: 40px 0;
    height: 1px;
    background: #e6e6e6;
}

.oem-flow-chart-container {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.oem-flow-chart-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.oem-flow-chart-container img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.oem-info-box {
    background: #f9f9f9;
    border-left: 4px solid #009688;
    padding: 20px;
    margin: 20px 0;
    border-radius: 3px;
}

.oem-text-center {
    text-align: center;
}

.oem-download-btn {
    display: inline-block;
    background: #009688;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,150,136,0.3);
}

.oem-download-btn:hover {
    background: #00b19c;
    box-shadow: 0 5px 15px rgba(0,150,136,0.5);
    transform: translateY(-2px);
    color: white;
}

.oem-download-btn i {
    margin-right: 10px;
}

.oem-step-container {
    margin: 40px 0;
}

.oem-step-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.oem-step-box:hover {
    background: #f2f2f2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.oem-step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: #009688;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(0,150,136,0.3);
}

.oem-step-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    padding-left: 30px;
}

.oem-step-content {
    color: #666;
    line-height: 1.6;
}

.oem-advantages-row {
    gap: 30px;
}

.oem-advantages-box {
    height: 100%;
}

.oem-advantages-title {
    color: #009688;
    margin-bottom: 15px;
}

.oem-advantages-list {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.oem-advantages-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 28px;
    line-height: 1.6;
    transition: transform 0.3s ease, padding-left 0.3s ease;
}

.oem-advantages-list li:before {
    content: '\25CF'; /* 圆点 */
    position: absolute;
    left: 0;
    top: 0px;
    font-size: 12px;
    color: #666666;
    transition: transform 0.3s ease, color 0.3s ease;
}

.oem-advantages-list li:hover {
    padding-left: 32px;
}

.oem-advantages-list li:hover:before {
    transform: scale(1.2);
}

.oem-contact-box {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.oem-contact-title {
    color: #333;
    margin-bottom: 20px;
}

.oem-contact-content {
    padding: 20px;
}

.oem-contact-content img {
    width: 138px;
    height: 137px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.oem-contact-text {
    color: #666;
    margin-top: 15px;
}

.oem-contact-highlight {
    color: #009688;
    margin-top: 5px;
}

/* OEM动画 */
.oem-animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.oem-animate-in.oem-show {
    opacity: 1;
    transform: translateY(0);
}

/* OEM移动适配 */
@media (max-width: 768px) {
    .oem-container {
        padding: 15px;
    }
    
    .oem-section-title {
        font-size: 20px;
    }
    
    .oem-step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
        top: -10px;
        left: -10px;
    }
    
    .oem-step-title {
        font-size: 16px;
        padding-left: 20px;
    }
}

/* ==================== 反馈模块样式 ==================== */
/* 用于advice.php和complaint.php */

/* 反馈卡片 */
.feedback-box {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.feedback-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.feedback-meta {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
}

.feedback-content {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333;
}

/* 官方回复 */
.feedback-reply {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
    position: relative;
}

.feedback-reply:before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #f9f9f9;
}

.feedback-reply-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.feedback-reply-time {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
    font-weight: normal;
}

.feedback-reply-content {
    line-height: 1.8;
    color: #666;
}

/* 附件链接 */
.feedback-attachment-link {
    display: inline-block;
    margin-top: 10px;
    color: #1890ff;
    text-decoration: none;
    transition: all 0.3s;
}

.feedback-attachment-link:hover {
    color: #40a9ff;
}

.feedback-attachment-link i {
    margin-right: 5px;
}

/* 评分区域 */
.feedback-rating {
    margin-top: 10px;
    padding: 10px;
    background: #fafafa;
    border-radius: 4px;
}

.feedback-rating .layui-rate {
    padding: 0;
}

/* 奖励信息 */
.feedback-reward-info {
    margin-top: 15px;
    padding: 10px;
    background-color: #fffbeb;
    border-left: 3px solid #FFB800;
    font-size: 14px;
    color: #666;
    border-radius: 4px;
}

/* 感谢徽章 */
.feedback-thanks-badge {
    display: inline-block;
    padding: 2px 10px;
    background-color: #FFB800;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
}

/* 操作按钮 */
.feedback-actions {
    margin-top: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ant-tag 处理中状态 */
.ant-tag-processing {
    color: #1890ff;
    background: #e6f7ff;
    border-color: #91d5ff;
}

/* ant-tag 默认状态 */
.ant-tag-default {
    color: #595959;
    background: #fafafa;
    border-color: #d9d9d9;
}

/* 响应式 */
@media (max-width: 768px) {
    .feedback-box {
        padding: 15px;
    }
    
    .feedback-title {
        font-size: 16px;
    }
    
    .feedback-actions {
        flex-direction: column;
    }
    
    .feedback-actions .ant-btn {
        width: 100%;
    }
}

/* ==================== 代理IP模块样式 ==================== */

/* 支付弹窗 */
.payment-dialog-container {
    padding: 20px;
}

.payment-dialog-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.payment-methods-list {
    margin-bottom: 20px;
}

.payment-method-item {
    padding: 12px 15px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.payment-method-item:hover {
    border-color: #40a9ff;
}

.payment-method-selected {
    border-color: #1890ff !important;
    background-color: #e6f7ff;
}

.payment-method-logo {
    height: 30px;
    vertical-align: middle;
    margin-right: 10px;
}

.payment-method-name {
    font-size: 14px;
    color: #333;
}

.payment-dialog-footer {
    text-align: center;
}

/* 二维码支付 */
.qrcode-payment-container {
    padding: 20px;
    text-align: center;
}

.qrcode-payment-tip {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.qrcode-payment-image {
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.qrcode-payment-actions {
    margin-top: 15px;
}

/* 订单详情 */
.order-detail-container {
    padding: 20px;
}

.order-detail-section {
    margin-bottom: 30px;
}

.order-detail-title {
    font-weight: bold;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.order-detail-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.order-detail-label {
    width: 150px;
    color: #666;
    text-align: right;
    padding-right: 15px;
    flex-shrink: 0;
}

.order-detail-value {
    flex: 1;
    color: #333;
}

.order-detail-actions {
    display: flex;
    gap: 8px;
}

/* 费用分成配置 */
.fee-share-header {
    margin-bottom: 10px;
}

.fee-share-notice {
    margin-bottom: 15px;
    position: relative;
}

.fee-share-form {
    max-width: 800px;
}

.fee-share-label {
    width: 140px;
    text-align: right;
    font-family: 'Microsoft YaHei';
    font-size: 14px;
    padding-right: 12px;
}

.fee-share-tip {
    margin-left: 10px;
    color: #aaa;
    font-size: 13px;
}

.fee-share-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fee-share-input-with-btn {
    display: flex;
    gap: 8px;
    align-items: center;
}

.fee-share-input-with-btn input {
    flex: 1;
    min-width: 0;
}

.fee-share-copy-btn {
    white-space: nowrap;
}

.fee-share-disabled-field {
    background-color: #f5f5f5 !important;
    cursor: not-allowed !important;
}

.fee-share-field-info {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.fee-share-url-invalid {
    border-color: #ff4d4f !important;
}

.fee-share-url-valid {
    border-color: #52c41a !important;
}

.fee-share-percent-input {
    position: relative;
    width: 120px;
}

.fee-share-percent-input input {
    padding-right: 30px;
}

.fee-share-percent-symbol {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #666;
}

.fee-share-actions {
    margin-left: 140px;
    display: flex;
    gap: 8px;
}

.fee-share-divider {
    height: 1px;
    background: #f0f0f0;
    border: none;
    margin: 30px 0;
}

.fee-share-review-section {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 15px 0;
    margin-left: 140px;
}

.fee-share-review-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fee-share-review-label {
    font-family: 'Microsoft YaHei';
    font-size: 14px;
    color: #52c41a;
}

.fee-share-status-not-submitted {
    color: #999;
}

.fee-share-status-pending {
    color: #faad14;
}

.fee-share-status-approved {
    color: #52c41a;
}

.fee-share-status-rejected {
    color: #ff4d4f;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .payment-method-item {
        padding: 10px;
    }
    
    .qrcode-payment-image {
        width: 250px;
        height: 250px;
    }
    
    .order-detail-container {
        padding: 15px;
    }
    
    .order-detail-label {
        width: 100px;
        font-size: 13px;
    }
    
    .fee-share-label {
        width: 100px;
        font-size: 13px;
    }
    
    .fee-share-actions {
        margin-left: 100px;
        flex-direction: column;
    }
    
    .fee-share-actions .ant-btn {
        width: 100%;
    }
    
    .fee-share-review-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-left: 100px;
    }
}

/* ==================== API详情页面样式 ==================== */

/* API详情容器 */
.api-detail-container {
    padding: 20px;
}

.api-detail-notice {
    margin-bottom: 20px;
}

/* API表格样式 */
.api-table-wrapper {
    margin-bottom: 30px;
}

.api-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.api-table th {
    font-weight: bold;
    background-color: #fafafa;
    padding: 12px 16px;
    border: 1px solid #f0f0f0;
    text-align: left;
    color: #333;
}

.api-table th[colspan] {
    color: #000;
    font-weight: 600;
    text-align: center;
}

.api-table td {
    padding: 12px 16px;
    border: 1px solid #f0f0f0;
    color: #666;
}

.api-table tbody tr:hover {
    background-color: #fafafa;
}

/* API示例区域 */
.api-example-section {
    background: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.api-example-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.api-example-section pre {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    border-left: 3px solid #1890ff;
    overflow-x: auto;
    margin: 10px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .api-detail-container {
        padding: 15px;
    }
    
    .api-table th,
    .api-table td {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .api-example-section {
        padding: 15px;
    }
    
    .api-example-section pre {
        padding: 10px;
        font-size: 12px;
    }
}

/* ========== 产品模块 - 功能需求页面样式 ========== */
/* 通知区域 */
.feature-notice-box {
    position: relative;
    margin-bottom: 15px;
}

.feature-notice-quote {
    margin: 0;
    padding: 15px 40px 15px 20px;
    border-left: 4px solid;
    border-radius: 4px;
    font-size: 14px;
}

.feature-notice-info {
    color: #34776d;
    background-color: #f0f9ff;
    border-color: #1890ff;
}

.feature-notice-warning {
    color: #b52a30;
    background-color: #fff2f0;
    border-color: #ff4d4f;
}

.feature-notice-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    padding: 5px;
    line-height: 1;
}

.feature-notice-close:hover {
    color: #333;
}

/* 表单容器 */
.feature-form-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.feature-form-label {
    width: 110px;
}

.feature-form-control {
    margin-left: 140px;
}

.feature-textarea {
    width: 100%;
    height: 300px;
}

/* 表格容器 */
.feature-table-container {
    width: 100%;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.feature-table-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    font-weight: 500;
}

.feature-section-divider {
    margin: 40px 0;
    height: 1px;
    background: #e6e6e6;
}

/* 表格样式 */
.feature-request-table th,
.feature-request-table td {
    text-align: center;
}

.feature-table-center {
    text-align: center;
}

/* 进度条 */
.feature-progress-bar {
    height: 12px;
    background-color: #e6e6e6;
    border-radius: 10px;
    overflow: hidden;
}

.feature-progress-bar-inner {
    height: 100%;
    background-color: #1E9FFF;
}

.feature-progress-text {
    text-align: center;
    margin-top: 5px;
    font-size: 12px;
}

/* 审核状态颜色 */
.feature-status-reviewing {
    color: #FFB800;
    font-weight: bold;
}

.feature-status-approved {
    color: #5FB878;
    font-weight: bold;
}

.feature-status-rejected {
    color: #FF5722;
    font-weight: bold;
}

.feature-status-paused {
    color: #1E9FFF;
    font-weight: bold;
}

/* 已提供功能列表 */
.feature-provided-list-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.feature-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.feature-provided-list-table {
    transform: scale(0.9);
    transform-origin: center top;
    margin: 0 auto;
    margin-bottom: -10%;
    white-space: nowrap;
}

.feature-provided-list-table th,
.feature-provided-list-table td {
    padding: 5px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-text-sm {
    font-size: 11px;
}

.feature-text-xs {
    font-size: 10px;
}

.feature-col-id {
    width: 30px;
}

.feature-col-name {
    width: 110px;
}

.feature-col-category {
    min-width: 80px;
}

.feature-col-category-cell {
    min-width: 100px;
}

.feature-col-desc {
    width: 180px;
}

.feature-col-users {
    width: 120px;
}

.feature-col-status {
    width: 60px;
}

.feature-col-requester {
    width: 50px;
}

.feature-col-department {
    width: 60px;
}

/* 微信联系区域 */
.feature-contact-box {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.feature-contact-title {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
}

.feature-contact-content {
    padding: 20px;
}

.feature-contact-content img {
    width: 138px;
    height: 137px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.feature-contact-text {
    color: #666;
    margin-top: 10px;
}

/* 需求详情弹窗 */
.feature-details-modal {
    display: none;
    padding: 20px;
}

.feature-details-title {
    margin-bottom: 20px;
}

.feature-details-content {
    line-height: 24px;
}

/* ==================== 代理IP广告和API获取页面样式 ==================== */

/* jQuery UI 对话框 z-index */
.ui-dialog,
.ui-widget-overlay {
    z-index: 99999 !important;
}

/* 表单项布局 */
.layui-form-item .layui-input-inline {
    width: 400px;
    position: relative;
}

.layui-form-item {
    display: flex;
    align-items: flex-start;
}

.layui-input-block {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.layui-input-block2 {
    position: relative;
    margin-left: 20px;
    width: 100%;
}

/* 编辑器容器 - 已在文档教程页面样式部分统一定义，此处删除重复 */

#content-editor {
    width: 100%;
    min-height: 400px;
}

/* 警告按钮样式 */
.warning-button {
    background-color: #FFB800 !important;
    color: #fff !important;
    border: 1px solid #FFB800 !important;
    transition: all 0.3s !important;
}

.warning-button:hover {
    background-color: #FF9800 !important;
    border-color: #FF9800 !important;
    color: #fff !important;
    box-shadow: 0 2px 5px rgba(255, 184, 0, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* 图片上传框、图片裁剪器 - 已在国内代理IP模块统一定义，此处删除重复 */

/* URL验证状态 */
.url-invalid {
    border-color: #FF5722 !important;
}

.url-valid {
    border-color: #5FB878 !important;
}

/* 语言选项卡、翻译按钮 - 已在文档教程页面样式部分统一定义，此处删除重复 */

/* 审核框 */
.review-box {
    display: inline-block;
    margin-right: 50px;
    height: 38px;
    line-height: 38px;
    vertical-align: middle;
}

.review-tit {
    font-weight: bold;
    margin-right: 5px;
    font-family: Microsoft YaHei;
    font-size: 14px;
    color: green;
}

/* 国家/地区选择器 */
.country-letters {
    margin-left: 10px;
    display: inline-block;
}

.country-letters a {
    padding: 0 5px;
    color: #1E9FFF;
    cursor: pointer;
}

.country-letters a:hover {
    color: #0d8bff;
}

.country-item {
    display: inline-block;
    margin: 5px 10px;
    position: relative;
    width: 180px;
}

.country-item img {
    width: 42px;
    height: 26px;
    margin: 0 5px;
    vertical-align: middle;
    transition: opacity 0.3s ease;
}

.country-item span {
    display: inline-block;
    vertical-align: middle;
    width: 80px;
    margin-left: 5px;
}

/* 当有任何checkbox被选中时，未选中项的样式 */
.has-selected .country-item:not(.selected) img {
    opacity: 0.4;
    filter: grayscale(50%);
}

/* 鼠标悬停时的效果 */
.country-item:hover img {
    opacity: 1 !important;
    filter: grayscale(0%) !important;
}

/* 选中项的样式 */
.country-item.selected img {
    opacity: 1;
    filter: grayscale(0%);
}

/* region-checkboxes 已在地区选择器部分统一定义，此处删除重复 */

/* 联系方式输入框样式 - 已在后面统一定义，此处删除旧版本 */

/* 数据显示区域 */
.data-display {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.data-table {
    margin-top: 20px;
}

.data-table th {
    background-color: #f2f2f2;
}

/* 禁用状态的表单样式 */
.layui-disabled,
.layui-disabled:hover {
    color: #d2d2d2 !important;
    cursor: not-allowed !important;
    background-color: #f8f8f8 !important;
}

textarea.layui-disabled {
    resize: none;
}

.layui-checkbox-disbaled span {
    color: #d2d2d2 !important;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .layui-form-item .layui-input-inline {
        width: 100%;
    }

    .editor-container {
        width: 100%;
    }

    .upload-box {
        width: 180px;
        height: 180px;
    }

    .upload-box .upload-text {
        line-height: 180px;
    }

    .cropper-preview {
        width: 180px;
        height: 180px;
    }

    #cropperModal .modal-content {
        width: 90vw;
        height: 90vw;
        max-width: 400px;
        max-height: 400px;
    }

    .country-item {
        width: 140px;
    }

    .contact-input-box .layui-input {
        width: 200px;
    }

    .lang-tabs {
        flex-wrap: wrap;
    }

    .lang-tab {
        margin-bottom: 5px;
    }
}

/* ==================== 按钮组样式 ==================== */
.action-buttons-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.action-buttons-group button {
    margin: 0;
}

.action-buttons-group img {
    display: inline-block;
}

/* ==================== Ant Design 禁用按钮样式 ==================== */
.ant-btn-disabled,
.ant-btn[disabled],
.ant-btn-disabled:hover,
.ant-btn[disabled]:hover {
    color: rgba(0, 0, 0, 0.25) !important;
    background-color: #f5f5f5 !important;
    border-color: #d9d9d9 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

/* ==================== 表单控制器最大宽度 ==================== */
.ant-form-item-control[style*="max-width"] .ant-input,
.ant-form-item-control[style*="max-width"] .ant-textarea {
    width: 100%;
}

/* ==================== 响应式按钮组 ==================== */
@media (max-width: 768px) {
    .action-buttons-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .action-buttons-group button {
        width: 100%;
        max-width: 300px;
    }
}

/* ==================== VPS管理模块样式 ==================== */
/* VPS列表页面样式 */
.vps-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.vps-icon {
    display: inline-block;
}

.status-switch {
    display: inline-block;
}

.status-checkbox {
    pointer-events: auto !important;
}

.ellipsis-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
}

/* VPS添加/编辑表单样式 */
.vps-add-form .layui-form-label {
    width: 125px;
}

.vps-add-form .layui-input-block {
    margin-left: 140px;
}

.vps-add-form .layui-input-inline {
    width: 350px !important;
}

.vps-edit-form .layui-form-label {
    width: 125px;
}

.vps-edit-form .layui-input-block {
    margin-left: 140px;
}

.vps-edit-form .readonly-field {
    background-color: #f5f5f5 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    border-color: #e8e8e8 !important;
}

/* 表单分组样式 */

.form-section {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.form-section-title {
    font-weight: bold;
    margin: 15px 0;
    border-left: 3px solid #1890ff;
    color: rgba(0, 0, 0, 0.85);
    font-size: 16px;
    padding: 8px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.form-group-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e8e8e8;
}

.form-group-section:last-child {
    border-bottom: none;
}

/* 操作系统选择器样式 */
.os-select-container {
    position: relative;
}

.os-select-input {
    cursor: pointer;
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.os-tag-container {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.os-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 4px;
    font-size: 12px;
    position: relative;
    padding-right: 24px;
    color: #1890ff;
}

.os-tag-remove {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    color: #1890ff;
    border-radius: 50%;
}

.os-tag-remove:hover {
    background-color: rgba(24, 144, 255, 0.1);
    color: #40a9ff;
}

.os-select-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 10000;
    max-height: 300px;
    overflow-y: auto;
}

.os-select-dropdown.os-select-show {
    display: block;
}

.os-checkbox-list {
    padding: 5px 0;
    max-height: 200px;
    overflow-y: auto;
}

.os-checkbox-item {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.os-checkbox-item:hover {
    background-color: #f8f8f8;
}

.os-checkbox-item input[type="checkbox"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-right: 6px;
}

.os-select-all .layui-form-checkbox,
.os-checkbox-item .layui-form-checkbox {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    z-index: -1 !important;
}

.native-checkbox {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    margin-right: 6px;
    width: auto !important;
    height: auto !important;
}

.os-select-all {
    border-bottom: 1px solid #f0f0f0;
    font-weight: bold;
    background-color: #f5f5f5;
}

.os-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #f0f0f0;
}

.os-custom-input {
    flex: 1;
    height: 30px;
    padding: 0 10px;
    margin-right: 5px;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
}

.os-add-btn, .os-save-btn {
    background-color: #1890ff;
    color: #fff;
    border: none;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.os-add-btn {
    margin-right: 5px;
}

.os-add-btn:hover, .os-save-btn:hover {
    background-color: #40a9ff;
}

/* 历史记录下拉框样式 */
.history-dropdown {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-top: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    z-index: 9999;
}

.history-dropdown .history-item {
    padding: 8px 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.history-dropdown .history-item:hover {
    background-color: #f2f2f2;
}

/* VPS表单提交按钮样式 */
.tab-submit-btn {
    margin-top: 30px;
}

/* VPS详情页面样式 */
.vps-detail-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.detail-card-header {
    display: flex;
    align-items: center;
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #f6f6f6;
    color: #333;
    border-radius: 8px 8px 0 0;
    font-size: 18px;
    padding: 0 20px;
    font-weight: 500;
}

.detail-card-body {
    padding: 24px;
}

.info-group {
    margin-bottom: 20px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
}

.info-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-group-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.info-item {
    display: flex;
    margin-bottom: 10px;
}

.info-label {
    width: 120px;
    color: #666;
    font-weight: 500;
    flex-shrink: 0;
}

.info-value {
    flex: 1;
    color: #333;
}

.bottom-actions {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.check-item {
    margin-right: 15px;
    display: inline-block;
}

.check-item i {
    color: #5FB878;
    margin-right: 5px;
}

.check-item.disabled i {
    color: #ddd;
}

.check-item.disabled {
    color: #999;
}

/* VPS广告页面样式 */
.vps-ad-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.vps-ad-form-container {
    padding: 0 20px;
}

.vps-ad-form .ant-form-item {
    margin-bottom: 20px;
}

.vps-ad-form .ant-form-label {
    width: 160px;
}

.vps-ad-form .ant-form-content {
    flex: 1;
}

/* editor-container 已在文档教程页面样式部分统一定义 */

.upload-box {
    width: 248px;
    height: 248px;
    border: 2px dashed #e2e2e2;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 0;
    background-color: #fff;
}

.upload-box img {
    max-width: 100%;
    max-height: 100%;
    display: none;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.upload-box .upload-text {
    line-height: 248px;
    color: #999;
}

#cropperModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

#cropperModal .modal-content {
    width: 500px;
    height: 500px;
}

.cropper-preview {
    width: 248px;
    height: 248px;
    margin: 10px auto;
    overflow: hidden;
}

.cropper-buttons {
    text-align: center;
    margin-top: 10px;
}

.review-status-area {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    height: 38px;
    line-height: 38px;
}

.review-label {
    font-weight: bold;
    font-family: Microsoft YaHei;
    font-size: 14px;
    color: green;
}

.review-status-0 {
    color: orange;
    font-size: 14px;
    font-family: Microsoft YaHei;
}

.review-status-1 {
    color: green;
    font-size: 14px;
    font-family: Microsoft YaHei;
}

.review-status-2 {
    color: red;
    font-size: 14px;
    font-family: Microsoft YaHei;
}

.review-status-3 {
    color: gray;
    font-size: 14px;
    font-family: Microsoft YaHei;
}

/* VPS邀请码配置页面样式 */
.vps-code-card {
    max-width: 900px;
}

.vps-code-form-container {
    padding: 0 20px;
}

.vps-code-form .ant-form-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.vps-code-form .ant-form-label {
    width: 140px;
    font-family: Microsoft YaHei;
    font-size: 14px;
    padding-top: 8px;
}

.vps-code-form .ant-form-content {
    flex: 1;
}

.input-with-copy {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.input-with-copy .ant-input {
    flex: 1;
}

.copy-btn {
    background: #009688;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 0 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    height: 42px;
    line-height: 42px;
}

.copy-btn:hover {
    background: #34776d;
    transform: scale(1.05);
}

/* disabled-field 已在国内代理IP模块统一定义，此处删除重复 */

.input-with-percent {
    position: relative;
    width: 120px;
}

.input-with-percent .ant-input {
    padding-right: 30px;
}

/* percent-symbol 已在国内代理IP模块统一定义，此处删除重复 */

.review-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.review-status-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-status {
    font-family: Microsoft YaHei;
    font-size: 14px;
    font-weight: 500;
}

.review-not-submitted {
    color: #999;
}

.review-pending {
    color: #FFB800;
}

.review-approved {
    color: #5FB878;
}

.review-rejected {
    color: #FF5722;
}

/* url-invalid 和 url-valid 已在前面统一定义，删除重复 */

.form-actions {
    margin-top: 30px;
}

.divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 24px 0;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .vps-header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .vps-add-form .layui-input-inline,
    .vps-edit-form .layui-input-inline {
        width: 100% !important;
    }
    
    .vps-detail-card,
    .vps-code-card {
        max-width: 100%;
    }
    
    .vps-ad-form .ant-form-label,
    .vps-code-form .ant-form-label {
        width: 100%;
        padding-top: 0;
    }
    
    .vps-ad-form .ant-form-item,
    .vps-code-form .ant-form-item {
        flex-direction: column;
    }
    
    .input-with-copy {
        flex-direction: column;
    }
    
    .review-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==================== 免费代理IP投放页面 - 可关闭的提示框 ==================== */
.notice-closeable {
    position: relative;
    padding-right: 40px;
}

.ant-alert-close-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    color: #999;
    border-radius: 4px;
    font-size: 18px;
    transition: all 0.3s ease;
    background-color: transparent;
    border: none;
    padding: 0;
}

.ant-alert-close-icon:hover {
    color: #1890ff;
    background-color: rgba(24, 144, 255, 0.1);
    transform: translateY(-50%) scale(1.1);
}

.ant-alert-close-text {
    font-size: 20px;
    font-weight: normal;
}

/* ==================== 地区选择器 ==================== */
.region-checkboxes {
    max-height: 300px; 
    overflow-y: auto; 
    padding: 10px; 
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.region-checkboxes::-webkit-scrollbar {
    width: 6px;
    transition: all 0.3s ease;
}

.region-checkboxes:hover::-webkit-scrollbar {
    width: 10px;
}

.region-checkboxes::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.region-checkboxes::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.region-checkboxes::-webkit-scrollbar-thumb:hover {
    background: #bfbfbf;
}

.region-group {
    margin-bottom: 16px;
}

.region-group h3 {
    margin: 10px 0;
    font-weight: 700;
    font-size: 14px;
    color: #262626;
}

.country-item {
    display: inline-block;
    margin: 5px 10px;
    position: relative;
    width: 180px;
    transition: all 0.3s ease;
}

.country-item img {
    width: 42px;
    height: 26px;
    margin: 0 5px;
    vertical-align: middle;
    transition: opacity 0.3s ease;
    border-radius: 2px;
}

.country-item span {
    display: inline-block;
    vertical-align: middle;
    width: 80px;
    margin-left: 5px;
}

/* 当有任何checkbox被选中时，未选中项的样式 */
.has-selected .country-item:not(.selected) img {
    opacity: 0.4;
    filter: grayscale(50%);
}

/* 鼠标悬停时的效果 */
.country-item:hover img {
    opacity: 1 !important;
    filter: grayscale(0%) !important;
}

/* 选中项的样式 */
.country-item.selected img {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==================== 卡片头部增强 ==================== */
.card-header {
    padding: 16px 24px;
    background-color: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header-actions{
    margin-bottom: 16px;
}

.card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #262626;
}

.card-subtitle {
    font-size: 13px;
    color: #8c8c8c;
    margin-left: 12px;
}

/* ==================== 国内代理IP模块样式 ==================== */
/* URL验证样式 */
.url-invalid {
    border-color: #ff4d4f !important;
}

.url-valid {
    border-color: #52c41a !important;
}

.url-validation-message {
    margin-top: 8px;
    font-size: 12px;
}

.url-valid-message {
    color: #52c41a !important;
}

.url-error-message {
    color: #ff4d4f !important;
}

/* 百分比输入框样式 */
.percent-symbol {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #595959;
    pointer-events: none;
}

.input-with-percent {
    padding-right: 35px;
}

/* 禁用字段样式 */
.disabled-field {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: rgba(0, 0, 0, 0.25);
}

/* editor-container 已在文档教程页面样式部分统一定义 */

/* 图片上传框样式 */
.upload-box {
    width: 248px;
    height: 248px;
    border: 2px dashed #d9d9d9;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 0;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.upload-box:hover {
    border-color: #1890ff;
    background-color: #f0f5ff;
}

.upload-box img {
    max-width: 100%;
    max-height: 100%;
    display: none;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.upload-box .upload-text {
    line-height: 248px;
    color: #8c8c8c;
    font-size: 14px;
}

/* 图片裁剪弹窗样式 */
.cropper-container {
    margin: 20px auto;
}

#cropperModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
}

#cropperModal .modal-content {
    width: 500px;
    height: 500px;
}

.cropper-preview {
    width: 248px;
    height: 248px;
    margin: 10px auto;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.cropper-buttons {
    text-align: center;
    margin-top: 10px;
}

/* 联系方式输入框样式 */
.contact-method-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-input-box {
    display: inline-block;
    flex: 1;
}

.contact-input-box .layui-input,
.contact-input-box .ant-input {
    width: 300px;
}

.contact-checkbox {
    width: 100px;
    display: inline-block;
}

/* ==================== VPS广告页面样式 ==================== */
.ad-form-container {
    max-width: 1000px;
    margin: 0 auto;
}

.editor-container {
    margin-left: 0;
    width: 800px;
    display: block;
}

.upload-box {
    width: 248px;
    height: 248px;
    border: 2px dashed #d9d9d9;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 0;
    background-color: #fafafa;
    transition: border-color 0.3s;
}

.upload-box:hover {
    border-color: #1890ff;
}

.upload-box img {
    max-width: 100%;
    max-height: 100%;
    display: none;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.upload-box .upload-text {
    line-height: 248px;
    color: rgba(0,0,0,0.45);
}

.status-display {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
    height: 38px;
}

.status-label {
    font-weight: 500;
    color: rgba(0,0,0,0.85);
}

.status-value {
    font-size: 14px;
}

.status-value.pending {
    color: #faad14;
}

.status-value.approved {
    color: #52c41a;
}

.status-value.rejected {
    color: #ff4d4f;
}

.status-value.not-submitted {
    color: rgba(0,0,0,0.45);
}

/* ==================== 新功能需求页面样式 ==================== */
.feature-notice-box {
    position: relative;
    margin-bottom: 16px;
    padding-right: 40px;
    transition: all 0.3s ease;
}

.feature-notice-quote {
    margin: 0;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
}

.feature-notice-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.45);
    font-size: 12px;
    border-radius: 50%;
    transition: all 0.3s;
    background-color: transparent;
    border: none;
    padding: 0;
}

.feature-notice-close:hover {
    color: rgba(0, 0, 0, 0.85);
    background-color: rgba(0, 0, 0, 0.04);
}

.feature-section-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 32px 0;
    border: none;
}

.feature-table-container {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.feature-table-title {
    margin: 0;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.feature-provided-list-container {
    padding: 0;
}

.feature-table-wrapper {
    overflow-x: auto;
}

.feature-provided-list-table {
    margin-bottom: 0;
}

.feature-provided-list-table th,
.feature-provided-list-table td {
    padding: 8px 12px;
    font-size: 12px;
}

.feature-col-id {
    width: 50px;
    min-width: 50px;
}

.feature-col-name {
    min-width: 150px;
}

.feature-col-category {
    width: 100px;
    min-width: 100px;
}

.feature-col-desc {
    width: 200px;
    min-width: 200px;
}

.feature-col-users {
    width: 120px;
    min-width: 120px;
}

.feature-col-status {
    width: 80px;
    min-width: 80px;
}

.feature-col-requester {
    width: 80px;
    min-width: 80px;
}

.feature-col-department {
    width: 100px;
    min-width: 100px;
}

.feature-text-sm {
    font-size: 11px;
}

.feature-text-xs {
    font-size: 10px;
}

.feature-col-category-cell {
    min-width: 100px;
}

.feature-contact-box {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.feature-contact-title {
    margin: 0;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.feature-contact-content {
    padding: 24px;
    text-align: center;
}

.qrcode-container {
    margin: 16px 0;
}

.qrcode-container img {
    max-width: 200px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-contact-text {
    color: rgba(0, 0, 0, 0.65);
    margin: 8px 0;
    font-size: 14px;
}

/* 空状态样式 */
.ant-table-placeholder {
    padding: 40px 16px;
    text-align: center;
    background: #fafafa;
}

.ant-empty {
    display: inline-block;
}

.ant-empty-image {
    margin-bottom: 8px;
}

.ant-empty-description {
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
}

/* 表格文本溢出处理 */
.ellipsis-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
}

/* 进度条样式 */
.feature-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-progress-bar-inner {
    height: 8px;
    background: linear-gradient(90deg, #1890ff, #40a9ff);
    border-radius: 4px;
    transition: width 0.3s ease;
    min-width: 40px;
}

.feature-progress-text {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.65);
    min-width: 35px;
}

/* 标签样式覆盖 */
.review-status-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    text-align: center;
    min-width: 60px;
}

.review-pending {
    background-color: #fff7e6;
    color: #d46b08;
    border: 1px solid #ffd591;
}

.review-approved {
    background-color: #f6ffed;
    color: #389e0d;
    border: 1px solid #b7eb8f;
}

.review-rejected {
    background-color: #fff2f0;
    color: #cf1322;
    border: 1px solid #ffccc7;
}

.review-unsub {
    background-color: #f5f5f5;
    color: #8c8c8c;
    border: 1px solid #d9d9d9;
}

/* ==================== 审核页面样式 ==================== */
/* 审核状态标签样式 */
.review-status-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    text-align: center;
    min-width: 60px;
}

.review-pending {
    background-color: #fff7e6;
    color: #d46b08;
    border: 1px solid #ffd591;
}

.review-approved {
    background-color: #f6ffed;
    color: #389e0d;
    border: 1px solid #b7eb8f;
}

.review-rejected {
    background-color: #fff2f0;
    color: #cf1322;
    border: 1px solid #ffccc7;
}

.review-unsub {
    background-color: #f5f5f5;
    color: #8c8c8c;
    border: 1px solid #d9d9d9;
}

/* 审核页面特定样式 */
.admin-review-page .ant-table-cell {
    padding: 12px 16px;
    font-size: 13px;
}

.admin-review-page .ant-table-thead > tr > th {
    font-size: 14px;
    font-weight: 600;
    background-color: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.admin-review-page .ant-space {
    gap: 8px;
}

.admin-review-page .ant-btn {
    font-size: 12px;
    padding: 4px 8px;
    height: 28px;
    line-height: 20px;
}

.admin-review-page .ant-btn i {
    font-size: 14px;
}

/* 空状态样式 */
.admin-review-page .ant-empty {
    padding: 40px 0;
}

.admin-review-page .ant-empty-image {
    margin-bottom: 8px;
}

.admin-review-page .ant-empty-description {
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
}

/* 审核详情弹窗样式 */
#detail-container {
    max-width: 800px;
    margin: 0 auto;
}

#detail-content {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

#detail-content .ant-card {
    box-shadow: none;
    border: none;
}

#detail-content .ant-card-head {
    background-color: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

#detail-content .ant-card-body {
    padding: 24px;
}

#detail-content .ant-descriptions-item {
    padding-bottom: 16px;
}

#detail-content .ant-descriptions-item-label {
    color: rgba(0, 0, 0, 0.65);
    font-weight: normal;
    text-align: right;
    padding-right: 16px;
    width: 150px;
}

#detail-content .ant-descriptions-item-content {
    color: rgba(0, 0, 0, 0.85);
}

/* 拒绝原因弹窗样式 */
#reject-reason-container {
    max-width: 500px;
    margin: 0 auto;
}

#reject-form .layui-form-item {
    margin-bottom: 20px;
}

#reject-form .layui-form-label {
    width: 100px;
    text-align: right;
    padding-right: 12px;
}

#reject-form .layui-input-block {
    margin-left: 112px;
}

#reject-form .layui-textarea {
    min-height: 100px;
    resize: vertical;
}

#reject-form .layui-btn {
    height: 42px;
    padding: 0 20px;
    border-radius: 4px;
}

/* 批量操作按钮样式 */
#batchApprove {
    background: #52c41a !important;
    border-color: #52c41a !important;
    color: #fff !important;
}

#batchApprove:hover {
    background: #389e0d !important;
    border-color: #389e0d !important;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .admin-review-page .ant-table-cell {
        padding: 8px 12px;
        font-size: 12px;
    }

    .admin-review-page .ant-table-thead > tr > th {
        padding: 8px 12px;
        font-size: 13px;
    }

    .admin-review-page .ant-btn {
        font-size: 11px;
        padding: 3px 6px;
        height: 24px;
        line-height: 18px;
    }

    .admin-review-page .ant-btn i {
        font-size: 12px;
    }

    .admin-review-page .ant-space {
        gap: 4px;
    }

    .admin-review-page .review-status-tag {
        font-size: 11px;
        padding: 1px 6px;
        min-width: 50px;
    }

    #detail-content .ant-card-body {
        padding: 16px;
    }

    #detail-content .ant-descriptions-item-label {
        width: 100px;
        padding-right: 8px;
        font-size: 13px;
    }

    #detail-content .ant-descriptions-item-content {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .admin-review-page .ant-table-wrapper {
        overflow-x: auto;
    }

    .admin-review-page .ant-table {
        min-width: 800px;
    }

    .admin-review-page .ant-form-item {
        margin-bottom: 12px;
    }

    .admin-review-page .ant-col {
        margin-bottom: 8px;
    }

    .admin-review-page .ant-btn {
        width: 100%;
        margin-bottom: 4px;
    }

    .admin-review-page .ant-space {
        flex-direction: column;
        width: 100%;
    }

    .admin-review-page .ant-space .ant-btn {
        width: 100%;
        margin-bottom: 4px;
    }

    #detail-container {
        margin: 0 10px;
        padding: 10px;
    }

    #reject-reason-container {
        margin: 0 10px;
        padding: 10px;
    }
}

/* ==================== 按钮增强样式 ==================== */
/* Block按钮 - 铺满整行 */
.ant-btn-block {
    display: block;
    width: 100%;
}

/* ==================== 用户认证模块样式 ==================== */
/* 注册页面表单样式 - 垂直布局 */
.register-container .ant-form-item {
    margin-bottom: 20px;
    display: block;
}

.register-container .ant-form-item label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #262626;
    font-weight: 500;
    line-height: 1.5715;
}

.register-container .ant-form-item-required::before {
    content: '*';
    color: #ff4d4f;
    margin-right: 4px;
    font-family: SimSun, sans-serif;
}

.register-container .ant-input {
    width: 100%;
    height: 42px;
    padding: 4px 11px;
    font-size: 14px;
    line-height: 1.5715;
    color: rgba(0, 0, 0, 0.85);
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.register-container .ant-input:hover {
    border-color: #40a9ff;
}

.register-container .ant-input:focus {
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    outline: 0;
}

.register-container .ant-form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    line-height: 1.5715;
}

/* ==================== 文档教程页面样式 ==================== */
/* 表单项布局样式 */
.layui-form-item .layui-input-inline {
    width: 400px;
    position: relative;
}

/* 编辑器容器样式 */
.editor-container {
    margin-left: 0;
    width: 800px;
    display: inline-block;
}

/* TinyMCE编辑器容器尺寸 */
#content-editor,
#content-en-editor {
    width: 100%;
    min-height: 400px;
}

/* 标签页容器样式 */
.tab-container {
    margin-bottom: 20px;
}

.tab-content {
    display: none;
    padding: 15px 0;
}

.tab-content.active {
    display: block;
}

/* 语言标签页样式 */
.lang-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.lang-tab {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
}

.lang-tab.active {
    background-color: #fff;
    border-color: #ddd;
    color: #1E9FFF;
    border-bottom: 2px solid #1E9FFF;
}

.lang-tab:hover {
    color: #1E9FFF;
}


/* 翻译提示文字样式 */
.translate-tip {
    margin-left: 12px;
    color: #FF5722;
    font-size: 12px;
}

/* 表单输入块样式 */
.layui-form-item .layui-input-block {
    margin-left: 0;
    min-height: 36px;
}

/* 文本域样式 */
.layui-textarea {
    min-height: 80px;
    width: 400px;
}

/* 提示框关闭按钮样式 */
.notice-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    color: #999;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.notice-close:hover {
    color: #34776d !important;
    background-color: rgba(52, 119, 109, 0.1);
    transform: scale(1.1);
}

/* 提示框样式 */
.notice-box {
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 5px solid #1E9FFF;
    background-color: #f8f8f8;
    color: #666;
    line-height: 1.6;
}

/* 通用表单组动画 */
.form-group {
    opacity: 0;
    animation: formGroupAppear 0.6s ease-out forwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }

@keyframes formGroupAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 文档教程页面响应式样式 ==================== */
@media (max-width: 768px) {
    .lang-tabs {
        flex-direction: column;
        border-bottom: none;
        border-right: 1px solid #ddd;
    }

    .lang-tab {
        border: 1px solid #ddd;
        border-bottom: none;
        border-radius: 4px 0 0 4px;
        margin-bottom: 5px;
        margin-right: 0;
    }

    .lang-tab.active {
        background-color: #1890ff;
        color: #fff;
        border-color: #1890ff;
        border-bottom: 1px solid #1890ff;
        border-right: none;
    }

    .ant-form-label {
        width: 100% !important;
        text-align: left !important;
        padding: 0 !important;
        margin-bottom: 8px !important;
        line-height: 1.5 !important;
    }

    .ant-form-item-control {
        width: 100% !important;
    }

    .ant-input {
        width: 100% !important;
        min-width: auto !important;
    }

    .layui-form-item .layui-input-inline {
        width: 100% !important;
    }

    .layui-textarea {
        width: 100% !important;
    }

    .editor-container {
        width: 100% !important;
        display: block !important;
    }

    #content-editor,
    #content-en-editor {
        min-height: 300px !important;
    }

    .translate-btn {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 8px !important;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 12px 16px !important;
    }

    .page-header-actions {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .page-header-actions .ant-btn {
        width: 100% !important;
    }

    .content-card .card-body {
        padding: 16px !important;
    }

    .ant-form-item {
        margin-bottom: 16px !important;
    }

    .ant-btn {
        width: 100% !important;
        margin-bottom: 8px !important;
    }

    #content-editor,
    #content-en-editor {
        min-height: 250px !important;
    }
}

/* Layui兼容样式 */
.layui-input {
    width: 100%;
    height: 42px;
    padding: 4px 11px;
    font-size: 14px;
    border-radius: 4px;
}

.layui-btn {
    height: 42px;
    line-height: 40px;
    padding: 0 15px;
}

.layui-btn-fluid {
    width: 100%;
}