/* Cursor账号池页面样式 - 简约设计 */

/* ==================== 全局样式 ==================== */
body {
    background: #f8fafc;
}

/* ==================== 容器布局 ==================== */
.cursor-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* ==================== 页面头部 - 简约风格 ==================== */
.page-header {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px 40px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #1f2937;
}

.header-content p {
    font-size: 14px;
    margin: 0;
    color: #6b7280;
}

.header-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 15px 25px;
    border-left: 2px solid #e5e7eb;
}

.stat-item:first-child {
    border-left: none;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    color: #667eea;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
}

/* ==================== Tab标签页 - 简约设计 ==================== */
.layui-tab-brief {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    padding: 20px;
    position: relative;
    overflow: visible;
}

.layui-tab-brief > .layui-tab-title {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0;
}

.layui-tab-brief > .layui-tab-title li {
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
}

.layui-tab-brief > .layui-tab-title .layui-this {
    color: #1f2937;
}

.layui-tab-brief > .layui-tab-title .layui-this:after {
    border-bottom: 2px solid #667eea;
}

.layui-tab-title li i {
    margin-right: 6px;
    font-size: 16px;
}

/* ==================== 卡片网格布局 ==================== */
.account-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 0;
    padding: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .account-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==================== 账号卡片 - 极简优雅设计 ==================== */
.account-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;  /* 从32px减少到24px，提高信息密度 */
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    overflow: visible;
}

.account-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);  /* 从-4px减少到-2px，更微妙 */
}

/* 公共账号卡片额外样式 */
.public-account-card:hover:not(.selected) {
    border-color: #a5b4fc;
}

/* 公共账号卡片复选框样式 - 现代设计 */
.public-account-card {
    padding-top: 10px;
}

.card-checkbox-wrapper {
    position: absolute;
    top: 7px;
    right: 12px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card-checkbox-wrapper:hover {
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

.card-checkbox-wrapper input[type="checkbox"],
.public-account-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    background: #ffffff;
    transition: all 0.2s ease;
    position: relative;
}

.card-checkbox-wrapper input[type="checkbox"]:hover,
.public-account-checkbox:hover {
    border-color: #667eea;
}

.card-checkbox-wrapper input[type="checkbox"]:checked,
.public-account-checkbox:checked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.card-checkbox-wrapper input[type="checkbox"]:checked::after,
.public-account-checkbox:checked::after {
    content: '✓';
    position: absolute;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 选中状态样式 - 简约效果 */
.public-account-card.selected {
    border-color: #667eea;
    border-width: 2px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    background: #fafbff;
    transform: translateY(-2px);
}

.public-account-card.selected .card-checkbox-wrapper {
    background: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 确保卡片内的徽章在任何状态下都可见 */
.account-card .layui-badge,
.account-card:hover .layui-badge {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;  /* 从24px减少到16px */
    padding-bottom: 0;
    border-bottom: none;
    position: relative;
}

/* ==================== 标签组 - 横向布局 ==================== */
.account-tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    align-items: center;
}

/* 统一的标签基础样式 */
.account-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.account-tag i {
    font-size: 13px;
}

/* 账号来源标签 */
.tag-source-official {
    background: #e3f2fd;
    color: #1976d2;
}

.tag-source-third {
    background: #fff3e0;
    color: #f57c00;
}

/* 账号类型标签 - 保持原有颜色 */
.tag-type {
    /* 继承原有的badge样式 */
}

/* 剩余天数标签 */
.tag-days-green {
    background: #d1fae5;
    color: #059669;
    font-weight: 600;
}

.tag-days-yellow {
    background: #fef3c7;
    color: #d97706;
    font-weight: 600;
}

.tag-days-red {
    background: #fee2e2;
    color: #dc2626;
    font-weight: 600;
}

.account-email {
    font-size: 15px;  /* 从16px减少到15px，更协调 */
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;  /* 从10px减少到8px */
    letter-spacing: -0.2px;
    line-height: 1.5;  /* 统一行高 */
}

.account-email i {
    color: #667eea;
    font-size: 16px;  /* 从18px减少到16px */
}

.account-card-body {
    margin: 0;
    padding: 0;
}

.account-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 12px 0;  /* 从16px减少到12px */
    min-height: auto;
    background: transparent;
    border-radius: 0;
    transition: all 0.2s ease;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    overflow: visible;
}

.account-info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.account-info-label {
    font-size: 13px;  /* 从14px减少到13px */
    color: #9ca3af;
    line-height: 1.5;  /* 统一行高 */
    display: flex;
    align-items: center;
    font-weight: 400;
    white-space: nowrap;
}

.account-info-value {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
    line-height: 1.5;  /* 统一行高 */
    display: flex;
    align-items: center;
}

.account-card-footer {
    margin-top: 16px;  /* 从24px减少到16px */
    padding-top: 16px;  /* 从24px减少到16px */
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.account-id {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
    line-height: 1.5;
}

/* ==================== 分页盒子 ==================== */
.pagination-box {
    margin-top: 30px;
    text-align: center;
}

/* ==================== 表格容器 ==================== */
.table-container {
    margin-top: 20px;
}

/* ==================== 自定义表格样式 ==================== */
.layui-table th {
    background: #f9fafb;
    color: #374151;
    font-weight: 600;
}

.layui-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

/* ==================== 徽章样式 - 简约设计 ==================== */
/* 确保徽章始终显示 */
.layui-badge,
.badge-free,
.badge-free-trial,
.badge-pro,
.badge-pro-trial,
.badge-team,
.badge-enterprise {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.badge-free {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.badge-free-trial {
    background: #ede9fe !important;
    color: #7c3aed !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.badge-pro {
    background: #fce7f3 !important;
    color: #db2777 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.badge-pro-trial {
    background: #dbeafe !important;
    color: #2563eb !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.badge-team {
    background: #d1fae5 !important;
    color: #059669 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.badge-enterprise {
    background: #fef3c7 !important;
    color: #d97706 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

/* 剩余天数徽章 - 简约设计 */
.days-badge-green {
    background: #d1fae5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
}

.days-badge-yellow {
    background: #fef3c7;
    color: #d97706;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
}

.days-badge-red {
    background: #fee2e2;
    color: #dc2626;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
}

/* ==================== 按钮样式 - 简约设计 ==================== */
.btn-buy {
    background: #667eea;
    border: none;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.2s ease;
    text-align: center;
    display: inline-block;
    line-height: 1.5;
}

.btn-buy:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.btn-transfer {
    background: #f59e0b;
    border: none;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.2s ease;
    text-align: center;
    display: inline-block;
    line-height: 1.5;
}

.btn-transfer:hover {
    background: #d97706;
}

.btn-disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    display: inline-block;
    line-height: 1.5;
}

.btn-disabled:hover {
    background: #f3f4f6;
}

/* 确保所有layui按钮文字居中 */
.layui-btn,
button.layui-btn {
    text-align: center !important;
    display: inline-block;
    vertical-align: middle;
}

/* ==================== 状态标签 ==================== */
.status-active {
    color: #10b981;
    font-weight: 600;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
}

.status-in-use {
    color: #3b82f6;
    font-weight: 600;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
}

.status-marked {
    color: #ef4444;
    font-weight: 600;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
}

/* ==================== 价格卡片 - 极简优雅设计 ==================== */
/* 价格卡片容器 */
.price-card {
    background: #ffffff;
    border: 2px solid #e0e7ff;  /* 淡蓝色边框 */
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0;
    transition: all 0.2s ease;
}

.price-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

/* 价格主体区域 */
.price-main {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

/* 会员价格 - 醒目但不过分 */
.vip-price {
    font-size: 24px;  /* 适中的字号 */
    color: #4f46e5;   /* 蓝紫色，更专业 */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* VIP标签 - 简约设计 */
.vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: #4f46e5;  /* 纯色，不用渐变 */
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.vip-badge i {
    font-size: 11px;
}

/* 原价区域 */
.price-original {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/* 普通价格 - 不使用删除线 */
.original-price {
    color: #6b7280;
    font-weight: 500;
}

/* 单一价格（无会员价时）*/
.single-price {
    font-size: 22px;  /* 从18px增加到22px */
    color: #1f2937;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .vip-price {
        font-size: 20px;
    }

    .single-price {
        font-size: 18px;
    }

    .price-card {
        padding: 10px 14px;
    }
}

/* ==================== 登录提示框 - 简约设计 ==================== */
.login-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 60px 20px;
}

.prompt-content {
    text-align: center;
    background: #fafbfc;
    padding: 50px 40px;
    border-radius: 8px;
    border: 2px dashed #e5e7eb;
    max-width: 400px;
}

.prompt-content i.layui-icon {
    font-size: 64px;
    color: #9ca3af;
    margin-bottom: 20px;
    display: block;
}

.prompt-content h3 {
    font-size: 20px;
    color: #1f2937;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.prompt-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.prompt-content .layui-btn-lg {
    padding: 12px 32px;
    font-size: 14px;
    border-radius: 6px;
    background: #667eea;
    border: none;
    transition: all 0.2s ease;
}

.prompt-content .layui-btn-lg:hover {
    background: #5a67d8;
}

.prompt-content .layui-btn-lg i {
    font-size: 16px;
    margin-right: 6px;
}

/* ==================== 移动端样式 ==================== */
.mobile-view .cursor-mobile-container {
    padding: 15px;
    background: #f8f9fa;
    min-height: 100vh;
}

.stats-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 36px;
    opacity: 0.9;
}

.stat-info {
    flex: 1;
}

.stat-num {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 13px;
    opacity: 0.9;
}

/* 账号卡片列表 */
.account-cards {
    display: grid;
    gap: 15px;
}

.account-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.account-card:active {
    transform: scale(0.98);
}

.account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.account-email {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.account-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.account-info-item {
    font-size: 12px;
    color: #6b7280;
}

.account-info-item strong {
    display: block;
    color: #374151;
    margin-bottom: 4px;
}

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

/* 分页容器 */
.pagination-container {
    margin-top: 20px;
    text-align: center;
}

/* ==================== 隐藏右上角装饰性标签 - 仅限cursor-container内 ==================== */
/* 所有隐藏规则都限定在cursor-container内，避免影响其他页面元素 */

/* 隐藏伪元素 */
.cursor-container .layui-tab-brief::after,
.cursor-container .layui-tab-brief::before,
.cursor-container::after,
.cursor-container::before,
.cursor-container .page-header::after,
.cursor-container .page-header::before,
.cursor-container .layui-tab::after,
.cursor-container .layui-tab::before {
    display: none !important;
    content: none !important;
}

/* 隐藏layui-tab-brief容器的直接子链接(排除tab标准元素) */
.cursor-container .layui-tab-brief > a:not([class*="layui-tab"]),
.cursor-container .layui-tab-brief > span:not([class*="layui-tab"]),
.cursor-container .layui-tab-brief > div:not([class*="layui-tab"]) {
    display: none !important;
}

/* 隐藏tab的非标准子元素 */
.cursor-container .layui-tab > a:first-child,
.cursor-container .layui-tab > span:first-child,
.cursor-container .layui-tab > *:not(.layui-tab-title):not(.layui-tab-content):not(.layui-tab-bar) {
    display: none !important;
}

/* 隐藏tab标题同级的非内容元素 */
.cursor-container .layui-tab-title ~ a,
.cursor-container .layui-tab-title ~ span:not(.layui-badge),
.cursor-container .layui-tab-title ~ div:not(.layui-tab-content),
.cursor-container ul.layui-tab-title + *:not(.layui-tab-content) {
    display: none !important;
}

/* ==================== 响应式断点 ==================== */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        padding: 25px 20px;
        gap: 20px;
    }
    
    .header-content {
        text-align: center;
    }
    
    .header-content h1 {
        font-size: 24px;
    }
    
    .header-stats {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }
    
    .stat-item {
        flex: 1;
        padding: 15px;
        min-width: auto;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

/* ==================== 搜索栏 - 重新设计 ==================== */
.search-bar {
    padding: 16px 20px;
    background: transparent;
    border-radius: 0;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    box-shadow: none;
    transition: border-bottom-color 0.3s ease;
}

.search-bar:hover {
    border-bottom-color: #cbd5e1;
}

.search-input-group {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.search-input-wrapper {
    width: 260px;
    max-width: 260px;
    position: relative;
    flex-shrink: 1;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 17px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-input-wrapper input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 40px;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    font-size: 14px;
    transition: all 0.25s ease;
    background: transparent;
    color: #1e293b;
    box-shadow: none;
}

.search-input-wrapper input:hover {
    border-bottom-color: #cbd5e1;
}

.search-input-wrapper input:focus {
    outline: none;
    border-bottom-color: #667eea;
    box-shadow: none;
    background: transparent;
}

.search-input-wrapper input:focus ~ i {
    color: #667eea;
}

.search-input-wrapper input::placeholder {
    color: #94a3b8;
    font-size: 13px;
}

.search-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    background: #667eea;
    color: #ffffff !important;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.search-btn::before {
    display: none;
}

.search-btn:hover::before {
    display: none;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
    background: #5a67d8;
}

.search-btn:active {
    transform: scale(0.95);
    box-shadow: none;
}

.search-btn i {
    font-size: 16px;
    font-weight: normal;
}

.clear-search-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    background: transparent;
    color: #94a3b8;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: none !important;
    box-shadow: none;
}

.clear-search-btn.show {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.clear-search-btn:hover {
    background: #f1f5f9;
    color: #64748b;
    transform: scale(1.1);
}

.clear-search-btn:active {
    transform: scale(0.9);
}

.clear-search-btn i {
    font-size: 14px;
}

.search-stats {
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    white-space: nowrap;
    box-shadow: none;
}

.search-stats i {
    font-size: 14px;
    color: #94a3b8;
    opacity: 1;
}

.search-stats strong {
    color: #667eea;
    font-weight: 600;
    font-size: 16px;
    margin: 0 2px;
    text-shadow: none;
}

/* 响应式：小屏幕时搜索栏堆叠 */
@media (max-width: 768px) {
    .search-bar {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 20px;
    }
    
    .search-input-wrapper {
        width: 100%;
    }
    
    .search-input-group {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .search-btn,
    .clear-search-btn {
        flex: 1;
        min-width: auto;
    }
    
    .search-stats {
        justify-content: center;
        padding: 8px 16px;
    }
    
    /* 空状态响应式优化 */
    .empty-state {
        padding: 60px 20px;
        min-height: 300px;
    }
    
    .empty-state i {
        font-size: 64px;
    }
    
    .empty-state p {
        font-size: 15px;
    }
    
    .empty-state p:first-of-type {
        font-size: 17px;
    }
}

/* ==================== 批量操作栏 - 固定底部浮动工具栏 ==================== */
.public-batch-operation-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(102, 126, 234, 0.15);
    box-shadow: 0 -4px 20px rgba(102, 126, 234, 0.12), 0 -2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(100%);
}

.public-batch-operation-bar.show {
    display: flex;
    transform: translateY(0);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 私有账号的批量操作栏保持原样 */
.batch-operation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
}

/* 公共账号工具栏左侧区域 */
.public-batch-operation-bar .batch-select-all {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
}

.public-batch-operation-bar .batch-select-all input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    transition: all 0.2s ease;
    position: relative;
}

.public-batch-operation-bar .batch-select-all input[type="checkbox"]:hover {
    border-color: #667eea;
}

.public-batch-operation-bar .batch-select-all input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.public-batch-operation-bar .batch-select-all input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.public-batch-operation-bar .batch-select-all label {
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    color: #374151;
    font-weight: 500;
}

/* 私有账号批量操作栏保持原样 */
.batch-operation-bar .batch-select-all {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
}

.batch-operation-bar .batch-select-all input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.batch-actions {
    display: flex;
    gap: 10px;
}

/* 批量购买按钮 - 底部工具栏大按钮 */
.public-batch-operation-bar #batch-buy-btn {
    height: 50px;
    min-width: 180px;
    padding: 0 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4), 0 3px 8px rgba(0, 0, 0, 0.1);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.public-batch-operation-bar #batch-buy-btn i {
    font-size: 20px;
}

.public-batch-operation-bar #batch-buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.public-batch-operation-bar #batch-buy-btn:hover::before {
    left: 100%;
}

.public-batch-operation-bar #batch-buy-btn:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.public-batch-operation-bar #batch-buy-btn:active:not(:disabled) {
    transform: translateY(-1px) scale(0.98);
}

.public-batch-operation-bar #batch-buy-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af !important;
    box-shadow: none;
    cursor: not-allowed;
}

.public-batch-operation-bar #batch-buy-btn:disabled::before {
    display: none;
}

/* 公共账号工具栏已选择数量 */
.public-batch-operation-bar .selected-count {
    font-size: 15px;
    color: #64748b;
    margin-left: 0;
    font-weight: 500;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
    border-radius: 8px;
    border: 1px solid #e0e7ff;
}

.public-batch-operation-bar .selected-count span {
    color: #667eea;
    font-weight: 700;
    font-size: 24px;
    margin: 0 4px;
}

/* 私有账号的选择数量保持原样 */
.batch-operation-bar .selected-count {
    font-size: 13px;
    color: #6b7280;
    margin-left: 10px;
}

/* 底部工具栏响应式设计 */
@media (max-width: 768px) {
    .public-batch-operation-bar {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
    }
    
    .public-batch-operation-bar .batch-select-all {
        width: 100%;
        justify-content: center;
    }
    
    .public-batch-operation-bar #batch-buy-btn {
        width: 100%;
        min-width: auto;
    }
}

/* ==================== 按钮文字居中 ==================== */
.layui-btn,
button.layui-btn,
.btn-buy,
.btn-transfer,
.btn-disabled {
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle;
    line-height: 1.5;
}

.layui-btn i {
    margin-right: 4px;
}

/* ==================== 私有账号列表卡片样式 - 现代化美观设计 ==================== */
.private-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.private-account-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.02);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

/* 卡片顶部装饰条 */
.private-account-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.private-account-card:hover::before {
    transform: scaleX(1);
}

.private-account-card.selected {
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2), 0 2px 8px rgba(102, 126, 234, 0.1);
    background: linear-gradient(135deg, #f8f9fe 0%, #ffffff 100%);
}

.private-account-card.selected::before {
    transform: scaleX(1);
}

.private-account-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    transform: translateY(-2px);
}

/* 勾选框 - 现代化设计 */
.card-checkbox {
    flex-shrink: 0;
}

.card-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    transition: all 0.2s ease;
    position: relative;
}

.card-checkbox input[type="checkbox"]:hover {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.card-checkbox input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.card-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 账号邮箱区域 - 优化设计 */
.card-email-section {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 20px;
    border-right: 1px solid #f3f4f6;
}

.private-account-email {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.private-account-email i {
    font-size: 18px;
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 6px;
    border-radius: 8px;
}

/* 账号信息区域 - 横向排列优化 */
.private-card-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 20px;
}

.private-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

.private-info-label {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.private-info-value {
    color: #1f2937;
    font-weight: 600;
    font-size: 14px;
}

/* 操作按钮区域 - 现代化设计 */
.private-card-actions {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
}

.card-action-buttons {
    display: flex;
    gap: 8px;
}

/* 按钮悬停效果增强 */
.private-card-actions .layui-btn {
    transition: all 0.2s ease;
}

.private-card-actions .layui-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ==================== 分页样式 ==================== */
.pagination-box {
    margin-top: 20px;
    padding: 15px 0;
    text-align: center;
}

#private-pagination {
    text-align: center;
}

/* ==================== 空状态 - 美观设计 ==================== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    min-height: 400px;
    background: linear-gradient(135deg, #f8f9fe 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px dashed #e5e7eb;
}

.empty-state i {
    font-size: 64px;
    color: #cbd5e1;
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-state p {
    color: #6b7280;
    font-size: 16px;
    margin: 8px 0;
}

.empty-state p:first-of-type {
    font-weight: 600;
    color: #374151;
    font-size: 18px;
    color: #9ca3af;
}

.empty-state i {
    font-size: 80px;
    margin-bottom: 24px;
    opacity: 0.4;
    color: #cbd5e1;
}

.empty-state p {
    font-size: 16px;
    margin: 8px 0;
    line-height: 1.6;
}

.empty-state p:first-of-type {
    font-size: 18px;
    font-weight: 500;
    color: #64748b;
}

/* 为公共账号池空状态添加专用样式 */
#public-cards {
    min-height: 500px;
}

/* 当公共账号池有内容时，取消最小高度限制 */
#public-cards:has(.account-card) {
    min-height: auto;
}

/* 确保空状态容器居中 */
#public-cards .empty-state {
    width: 100%;
    margin: 0 auto;
}

/* ==================== 滚动加载提示 ==================== */
.loading-more-tip {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
    grid-column: 1 / -1;
    width: 100%;
}

.loading-more-tip i {
    font-size: 28px;
    color: #667eea;
}

.loading-more-tip p {
    margin-top: 12px;
    font-size: 13px;
}

.no-more-tip {
    text-align: center;
    padding: 30px 20px;
    color: #cbd5e1;
    font-size: 13px;
    margin-top: 20px;
    width: 100%;
    clear: both;
    grid-column: 1 / -1;
}

.no-more-tip i {
    font-size: 16px;
    margin-right: 6px;
    color: #10b981;
}

/* ==================== CDK卡片特殊样式 ==================== */

/* CDK状态条颜色 - 根据状态显示不同颜色（覆盖基础border） */
.private-account-card.cdk-card.cdk-active,
.cdk-card.cdk-active.private-account-card {
    border: 1px solid #e5e7eb !important;
    border-left: 4px solid #10b981 !important; /* 绿色 - 有效，加粗到4px更明显 */
}

.private-account-card.cdk-card.cdk-expired,
.cdk-card.cdk-expired.private-account-card {
    border: 1px solid #e5e7eb !important;
    border-left: 4px solid #ef4444 !important; /* 红色 - 已过期，加粗到4px更明显 */
}

.private-account-card.cdk-card.cdk-disabled,
.cdk-card.cdk-disabled.private-account-card {
    border: 1px solid #e5e7eb !important;
    border-left: 4px solid #9ca3af !important; /* 灰色 - 已禁用，加粗到4px更明显 */
}

/* CDK码显示 - 等宽字体 */
.cdk-token {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    letter-spacing: 1px;
}

.cdk-token span {
    font-weight: 500;
    font-size: 15px;
}

/* 备注信息 */
.cdk-remark {
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
    border-left: 3px solid #cbd5e1;
    grid-column: 1 / -1; /* 占满整行 */
}

.cdk-remark .private-info-label {
    color: #94a3b8;
    margin-right: 8px;
}

.cdk-remark .private-info-value {
    color: #475569;
}

/* CDK状态徽章样式 */
.badge-active {
    background: #d1fae5 !important;
    color: #059669 !important;
}

.badge-expired {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

.badge-disabled {
    background: #e5e7eb !important;
    color: #6b7280 !important;
}

/* 复制按钮样式优化 */
.cdk-token .layui-btn-xs {
    padding: 2px 8px;
    height: auto;
    line-height: 1.4;
}

/* ==================== 响应式设计优化 ==================== */
@media (max-width: 1024px) {
    .private-account-card {
        flex-wrap: wrap;
        gap: 16px;
    }

    .card-email-section {
        flex: 0 0 100%;
        border-right: none;
        border-bottom: 1px solid #f3f4f6;
        padding-right: 0;
        padding-bottom: 16px;
    }

    .private-card-info {
        flex: 1 1 100%;
        flex-wrap: wrap;
        gap: 16px;
        padding: 0;
    }

    .private-info-item {
        flex: 0 0 calc(50% - 8px);
    }
}

@media (max-width: 768px) {
    .private-cards-grid {
        gap: 12px;
        margin-top: 16px;
    }

    .private-account-card {
        padding: 16px;
        border-radius: 10px;
    }

    .private-card-info {
        gap: 12px;
    }

    .private-info-item {
        flex: 0 0 100%;
    }

    .private-card-actions {
        flex: 0 0 100%;
        justify-content: flex-end;
    }

    .empty-state {
        padding: 60px 20px;
        min-height: 300px;
    }

    .empty-state i {
        font-size: 48px;
    }
}

/* ==================== 动画效果 ==================== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.private-account-card {
    animation: slideIn 0.3s ease-out;
}

/* 为每个卡片添加延迟动画 */
.private-account-card:nth-child(1) { animation-delay: 0.05s; }
.private-account-card:nth-child(2) { animation-delay: 0.1s; }
.private-account-card:nth-child(3) { animation-delay: 0.15s; }
.private-account-card:nth-child(4) { animation-delay: 0.2s; }
.private-account-card:nth-child(5) { animation-delay: 0.25s; }

/* ==================== 无障碍优化 ==================== */
@media (prefers-reduced-motion: reduce) {
    .private-account-card,
    .private-account-card::before,
    .card-checkbox input[type="checkbox"],
    .private-card-actions .layui-btn {
        animation: none !important;
        transition: none !important;
    }
}

/* ==================== 打印样式 ==================== */
@media print {
    .private-account-card {
        box-shadow: none !important;
        border: 1px solid #e5e7eb !important;
        page-break-inside: avoid;
    }

    .private-account-card::before {
        display: none !important;
    }

    .card-checkbox,
    .private-card-actions {
        display: none !important;
    }
}

/* ==================== 排序按钮样式 ==================== */
.sort-buttons-container {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.sort-btn {
    transition: all 0.25s ease;
    border-radius: 4px;
    font-size: 13px;
    padding: 0 12px;
    height: 32px;
    line-height: 32px;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    color: #4b5563 !important;
}

.sort-btn i {
    font-size: 12px;
    margin-right: 4px;
}

/* 悬浮效果 - 明显的视觉反馈 */
.sort-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12) !important;
    border-color: #667eea !important;
    background: #f8f9ff !important;
    color: #667eea !important;
}

/* 激活状态 - 蓝色背景 */
.sort-btn.active {
    font-weight: 500;
    background: #667eea !important;
    border-color: #667eea !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3) !important;
}

/* 激活状态的悬浮效果 */
.sort-btn.active:hover {
    transform: translateY(-1px);
    background: #5568d3 !important;
    border-color: #5568d3 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4) !important;
}

/* 默认排序按钮 - 白色背景但激活时蓝色 */
.sort-btn-default {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    color: #4b5563 !important;
}

.sort-btn-default.active {
    background: #667eea !important;
    border-color: #667eea !important;
    color: #ffffff !important;
    font-weight: 500;
}

.sort-btn-default:hover {
    border-color: #667eea !important;
    background: #f8f9ff !important;
    color: #667eea !important;
}

.sort-btn-default.active:hover {
    background: #5568d3 !important;
    border-color: #5568d3 !important;
    color: #ffffff !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sort-buttons-container {
        justify-content: center;
    }
    
    .sort-btn {
        font-size: 12px;
        padding: 0 10px;
        height: 30px;
        line-height: 30px;
    }
}

