/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #f9fafb;
    color: #111827;
    line-height: 1.5;
    min-height: 100vh;
}

/* 容器类 */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* 布局工具类 */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.w-full {
    width: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

/* 间距工具类 */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }

.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

/* 文本样式 */
.text-center { text-align: center; }
.text-left { text-align: left; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-white { color: #ffffff; }
.text-green-500 { color: #10b981; }
.text-red-500 { color: #ef4444; }

.leading-6 { line-height: 1.5rem; }
.leading-9 { line-height: 2.25rem; }

/* 背景色 */
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-green-500 { background-color: #10b981; }
.bg-green-600 { background-color: #059669; }
.bg-gray-500 { background-color: #6b7280; }
.bg-gray-600 { background-color: #4b5563; }

/* 边框 */
.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }

.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-green-500 { border-color: #10b981; }
.border-red-500 { border-color: #ef4444; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }

/* 阴影 */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* 输入框样式 */
.input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #111827;
    background-color: #ffffff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.input::placeholder {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    text-decoration: none;
    gap: 0.5rem;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #10b981;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #059669;
}

.btn-secondary {
    background-color: #6b7280;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
}

.btn-outline:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* 图标样式 - 使用Unicode字符作为简单图标 */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
}

.icon-user::before { content: "👤"; }
.icon-user-circle::before { content: "👤"; }
.icon-user-plus::before { content: "➕"; }
.icon-lock::before { content: "🔒"; }
.icon-envelope::before { content: "✉️"; }
.icon-weixin::before { content: "💬"; }
.icon-github::before { content: "🐙"; }
.icon-google::before { content: "🔍"; }

/* 自定义图标大小 */
.icon-sm {
    font-size: 0.875rem;
}

.icon-md {
    font-size: 1rem;
}

.icon-lg {
    font-size: 1.25rem;
}

/* 导航标签样式 */
.tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    gap: 0.5rem;
}

.tab {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab:hover {
    color: #374151;
}

.tab.active {
    color: #111827;
    border-bottom-color: #10b981;
}

/* 表单样式 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    gap: 0.5rem;
}

/* 错误消息样式 */
.error-message {
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: 0.25rem;
}

/* 分割线 */
.divider {
    position: relative;
    margin: 2rem 0;
    text-align: center;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e5e7eb;
    transform: translateY(-50%);
}

.divider-text {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background-color: #ffffff;
    color: #6b7280;
    font-size: 0.875rem;
}

/* 隐藏元素 */
.hidden {
    display: none !important;
}

/* 显示元素 */
.block {
    display: block;
}

/* 透明度 */
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* 定位 */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

/* 链接样式 */
.link {
    color: #10b981;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.link:hover {
    color: #059669;
    text-decoration: underline;
}

/* Toast通知样式 */
.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    color: white;
    z-index: 50;
    transition: all 0.3s ease-in-out;
    max-width: 24rem;
}

.toast-success {
    background-color: #10b981;
}

.toast-error {
    background-color: #ef4444;
}

.toast-info {
    background-color: #3b82f6;
}

/* 响应式显示 */
@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .px-8 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .tabs {
        gap: 0.25rem;
    }
    
    .tab {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* 加载动画样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-logo {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.loading-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ball {
    width: 0.75rem;
    height: 0.75rem;
    background-color: #10b981;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.ball:nth-child(1) {
    animation-delay: -0.32s;
}

.ball:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.loading-text {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: #111827;
}

.logo-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.logo-text {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 导航链接 */
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    gap: 0.5rem;
}

.nav-link:hover {
    color: #10b981;
}

.nav-link.active {
    color: #111827;
    border-bottom-color: #10b981;
}

/* 通知按钮 */
.notification-btn {
    position: relative;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
}

.notification-btn:hover {
    color: #374151;
}

.notification-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
}

.tool-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s;
}

.tool-btn:hover {
    color: #374151;
}

/* 用户菜单 */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 0.25rem;
    cursor: pointer;
    transition: all 0.2s;
    gap: 0.5rem;
}

.user-btn:hover {
    border-color: #d1d5db;
}

.user-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    min-width: 12rem;
    z-index: 10;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.2s;
    gap: 0.75rem;
}

.dropdown-item:hover {
    background-color: #f9fafb;
}

.dropdown-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.5rem 0;
}

/* 移动端导航 */
.mobile-nav {
    background-color: white;
    border-top: 1px solid #e5e7eb;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #6b7280;
    text-decoration: none;
    transition: background-color 0.2s;
    gap: 0.75rem;
}

.mobile-nav-link:hover {
    background-color: #f9fafb;
    color: #374151;
}

.mobile-nav-link.active {
    color: #10b981;
    background-color: #f0fdf4;
}

/* 英雄区域 */
.hero-section {
    max-width: 48rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-blue {
    background-color: #3b82f6;
    color: white;
}

.btn-blue:hover {
    background-color: #2563eb;
}

/* 模型卡片 */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    position: relative;
    display: inline-block;
    padding: 0 1rem;
}

.section-header h2:before,
.section-header h2:after {
    content: '~';
    color: #9ca3af;
    margin: 0 0.5rem;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.model-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
    cursor: pointer;
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #10b981;
}

.model-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.model-icon {
    font-size: 1.5rem;
}

.model-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.model-tag {
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.model-description {
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.model-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

.model-provider {
    color: #3b82f6;
    font-weight: 500;
}

.model-stats {
    color: #10b981;
    font-weight: 600;
}

/* 特色区域 */
.features-section {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.feature-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-card-highlight {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
}

.feature-card-highlight .feature-icon,
.feature-card-highlight .feature-title,
.feature-card-highlight .feature-description {
    color: white;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* 统计数据 */
.stats-section {
    background-color: #f9fafb;
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin: 4rem 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA区域 */
.cta-section {
    margin-top: 4rem;
}

.cta-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-actions .btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.cta-actions .btn-outline:hover {
    background-color: white;
    color: #059669;
}

/* 页脚 */
.footer {
    background-color: #111827;
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: #9ca3af;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

.footer-info {
    color: #6b7280;
    font-size: 0.875rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .ml-4 {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    .features-section .grid {
        grid-template-columns: 1fr;
    }
    
    .stats-section .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* 添加更多图标 */
.icon-home::before { content: "🏠"; }
.icon-grid::before { content: "📊"; }
.icon-bell::before { content: "🔔"; }
.icon-calculator::before { content: "🧮"; }
.icon-chevron-down::before { content: "⌄"; }
.icon-dashboard::before { content: "📈"; }
.icon-settings::before { content: "⚙️"; }
.icon-key::before { content: "🔑"; }
.icon-logout::before { content: "🚪"; }
.icon-chat::before { content: "💬"; }

/* 工具类 */
.min-h-\[calc\(100vh-200px\)\] {
    min-height: calc(100vh - 200px);
}


/* 模型广场页面样式 */

/* 统计徽章 */
.stat-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    min-width: 6rem;
}

.stat-badge-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.stat-badge-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

/* 搜索输入框 */
.search-input {
    width: 100%;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #111827;
    background-color: #ffffff;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.search-input::placeholder {
    color: #9ca3af;
}

.icon-search::before {
    content: "🔍";
    font-size: 0.875rem;
    color: #9ca3af;
}

/* 筛选选择框 */
.filter-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #374151;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.filter-select:hover {
    border-color: #9ca3af;
}

/* 模型表格样式 */
.models-table {
    min-width: 800px;
}

.table-header {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #f9fafb;
}

/* 模型行样式 */
.model-row {
    transition: background-color 0.2s;
}

.model-row:hover {
    background-color: #f9fafb;
}

.model-cell {
    padding: 1rem 1.5rem;
    vertical-align: top;
}

/* 模型信息单元格 */
.model-info-cell {
    padding: 1rem 1.5rem;
}

.model-info-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.model-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.model-details {
    flex: 1;
    min-width: 0;
}

.model-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.model-id-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.model-id {
    color: #6b7280;
    font-size: 0.75rem;
    font-family: monospace;
    background-color: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.125rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
    margin-left: 0.25rem;
}

.copy-btn:hover {
    color: #374151;
}

.copy-success {
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.25rem;
}

/* 价格单元格 */
.price-cell {
    padding: 1rem 1.5rem;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.price-amount {
    color: #111827;
    font-weight: 500;
}

.price-tag {
    display: inline-flex;
    align-items: center;
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 上下文单元格 */
.context-cell {
    padding: 1rem 1.5rem;
}

.context-length {
    color: #111827;
    font-weight: 500;
}

/* 操作单元格 */
.action-cell {
    padding: 1rem 1.5rem;
    text-align: right;
}

.detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    background-color: #10b981;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.detail-btn:hover {
    background-color: #059669;
}

/* 分页样式 */
.pagination-container {
    background-color: #ffffff;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #ffffff;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-nav-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-nav-btn:hover:not(:disabled) {
    background-color: #f9fafb;
    border-color: #9ca3af;
    z-index: 10;
}

.pagination-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 加载指示器 */
#loadingIndicator {
    background-color: #ffffff;
}

/* 无数据消息 */
#noDataMessage {
    background-color: #ffffff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .filter-select {
        width: 100%;
    }
    
    .stat-badge {
        min-width: 5rem;
        padding: 0.5rem 1rem;
    }
    
    .stat-badge-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 640px) {
    .table-header {
        padding: 0.5rem 1rem;
        font-size: 0.625rem;
    }
    
    .model-cell {
        padding: 0.75rem 1rem;
    }
    
    .detail-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}


/* 个人中心页面样式 - PC专用 */

/* 用户信息区域 */
.user-info-section {
    margin-bottom: 3rem;
}

/* 大号用户头像 */
.dashboard-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: bold;
    border: 4px solid white;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3);
}

.avatar-text {
    font-size: 48px;
}

/* 用户信息字段 */
.user-info-field {
    margin-bottom: 1.5rem;
}

.user-info-label {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.user-info-value {
    font-size: 1.125rem;
    color: #111827;
    font-weight: 500;
}

/* 图标定义 */
.icon-phone::before { content: "📱"; }
.icon-calendar::before { content: "📅"; }
.icon-id::before { content: "🆔"; }
.icon-crown::before { content: "👑"; }

/* 用户等级 */
.user-level {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* 金币显示 */
.coins-display {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.coins-amount-lg {
    font-size: 3.5rem;
    font-weight: 700;
    color: #10b981;
    line-height: 1;
}

.coins-unit {
    font-size: 1.5rem;
    color: #6b7280;
    margin-left: 0.5rem;
}

/* 今日统计项目 */
.today-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.today-stat-item:last-child {
    border-bottom: none;
}

.today-stat-item .stat-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.today-stat-item .stat-value {
    color: #111827;
    font-weight: 600;
    font-size: 1.125rem;
}

/* 大号按钮 */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* 图表区域 */
.chart-period-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.chart-period-btn:hover {
    background-color: #f9fafb;
}

.chart-period-btn.active {
    background-color: #10b981;
    color: white;
    border-color: #10b981;
}

/* 大号图表容器 */
.chart-container-lg {
    width: 100%;
    height: 400px;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* 金币表格 */
.coins-table {
    min-width: 800px;
}

.coins-table .table-header {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.coins-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s;
}

.coins-table tbody tr:hover {
    background-color: #f9fafb;
}

.coins-table td {
    padding: 1.25rem 1.5rem;
    color: #374151;
    font-size: 0.875rem;
}

/* 状态标签 */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.normal {
    background-color: #d1fae5;
    color: #065f46;
}

.status-badge.low {
    background-color: #fef3c7;
    color: #92400e;
}

.status-badge.high {
    background-color: #fee2e2;
    color: #991b1b;
}

/* 导航栏调整（PC专用） */
.nav-bar {
    padding: 0 2rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

/* 页脚调整 */
.footer {
    padding: 2rem 0;
}

/* 容器宽度 */
.container {
    max-width: 1280px;
}

/* 网格布局调整 */
.grid {
    display: grid;
}




/* 个人中心页面美化样式 */

/* 个人信息卡片 */
.user-info-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.user-info-header {
    margin-bottom: 32px;
}

.user-avatar-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
}

.avatar-initial {
    font-size: 48px;
    font-weight: 700;
    color: white;
}

.user-name-main {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.user-level-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.user-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.info-item {
    text-align: left;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.3s ease;
}

.info-item:hover {
    background: #f3f4f6;
}

.info-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

/* 金币账户卡片 */
.coins-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coins-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.coins-header {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.coins-icon {
    font-size: 32px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.coins-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

/* 金币余额区域 */
.coins-balance-section {
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px;
    border: 1px solid #bbf7d0;
}

.balance-label {
    font-size: 14px;
    color: #059669;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.balance-amount {
    font-size: 56px;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
    margin-bottom: 4px;
}

.balance-unit {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 16px;
}

.balance-cny {
    font-size: 16px;
    color: #059669;
    font-weight: 600;
}

/* 今日统计区域 */
.today-stats-section {
    background: #f9fafb;
    border-radius: 16px;
    padding: 24px;
}

.today-stats-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 20px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.stat-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    background: #f0fdf4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-details {
    text-align: left;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 2px;
    white-space: nowrap;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

/* 金币表格美化 */
.coins-table {
    min-width: 800px;
    border-collapse: separate;
    border-spacing: 0;
}

.coins-table .table-header {
    padding: 16px 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: none;
    border-bottom: 2px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coins-table tbody tr {
    transition: background 0.2s ease;
}

.coins-table tbody tr:hover {
    background: #f0fdf4;
}

.coins-table td {
    padding: 16px 24px;
    color: #374151;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
}

/* 状态标签美化 */
.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.status-normal {
    background: #d1fae5;
    color: #065f46;
}

.status-low {
    background: #fef3c7;
    color: #92400e;
}

.status-high {
    background: #fee2e2;
    color: #991b1b;
}

/* 网格布局调整 */
.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gap-8 {
    gap: 32px;
}

/* 响应式调整（仅针对PC） */
@media (max-width: 1200px) {
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .user-info-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

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

.user-info-card,
.coins-card {
    animation: fadeInUp 0.6s ease-out;
}

.user-info-card {
    animation-delay: 0.1s;
}

.coins-card {
    animation-delay: 0.2s;
}



/* API Key页面样式 */

/* API Key容器 */
.apikey-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 页面头部 */
.apikey-header {
    margin-bottom: 32px;
    text-align: center;
}

.apikey-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.apikey-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 16px 24px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

/* 操作区域 */
.apikey-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.create-apikey-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.create-apikey-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.create-apikey-btn:active {
    transform: translateY(0);
}

.icon-plus::before {
    content: "➕";
    font-size: 14px;
}

.apikey-count {
    font-size: 14px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
}

.apikey-count span {
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
}

/* API Key表格 */
.apikey-table-container {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.apikey-table {
    width: 100%;
    border-collapse: collapse;
}

.apikey-table thead {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.apikey-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apikey-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.apikey-table tbody tr:hover {
    background: #f9fafb;
}

.apikey-table td {
    padding: 20px;
    font-size: 14px;
    color: #374151;
    vertical-align: middle;
}

/* Key值显示 */
.key-cell {
    position: relative;
}

.key-value {
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    background: #f3f4f6;
    padding: 8px 12px;
    border-radius: 6px;
    color: #374151;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.key-value:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.copy-hint {
    font-size: 12px;
    color: #6b7280;
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.key-value:hover + .copy-hint {
    opacity: 1;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.action-btn {
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    color: #374151;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
}

.action-btn.copy {
    background: #f0fdf4;
    color: #059669;
    border-color: #bbf7d0;
}

.action-btn.copy:hover {
    background: #dcfce7;
}

.action-btn.delete {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.action-btn.delete:hover {
    background: #fee2e2;
}

.icon-copy::before {
    content: "📋";
    margin-right: 4px;
    font-size: 12px;
}

.icon-delete::before {
    content: "🗑️";
    margin-right: 4px;
    font-size: 12px;
}

/* 空状态 */
.apikey-empty-state {
    text-align: center;
    padding: 64px 32px;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state-title {
    font-size: 20px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
}

.empty-state-description {
    font-size: 14px;
    color: #9ca3af;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    gap: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* 权限网格 */
.permissions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.permission-checkbox {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.permission-checkbox:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.permission-checkbox input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.permission-label {
    font-size: 14px;
    color: #374151;
}

/* 警告样式 */
.form-warning {
    display: flex;
    padding: 16px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 8px;
    margin: 16px 0;
    gap: 12px;
}

.warning-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.warning-content {
    font-size: 14px;
    color: #92400e;
}

/* 新API Key卡片 */
.new-apikey-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 24px;
}

.new-apikey-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.new-apikey-icon {
    font-size: 40px;
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.new-apikey-info {
    flex: 1;
}

.new-apikey-name {
    font-size: 20px;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 4px;
}

.new-apikey-date {
    font-size: 14px;
    color: #6b7280;
}

.new-apikey-value-container {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.new-apikey-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.new-apikey-value {
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    color: #374151;
    background: #f9fafb;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    word-break: break-all;
    line-height: 1.5;
    border: 1px solid #e5e7eb;
}

.copy-full-apikey-btn {
    width: 100%;
    padding: 12px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-full-apikey-btn:hover {
    background: #059669;
}

.new-apikey-warning {
    display: flex;
    padding: 16px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 8px;
    gap: 12px;
}

.new-apikey-warning .warning-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.new-apikey-warning .warning-text {
    font-size: 14px;
    color: #92400e;
    line-height: 1.5;
}

/* 删除确认警告 */
.delete-warning {
    display: flex;
    padding: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    gap: 12px;
}

.delete-warning .warning-icon {
    font-size: 24px;
    color: #dc2626;
    flex-shrink: 0;
}

.delete-warning .warning-content {
    flex: 1;
}

.delete-warning .warning-content p {
    margin: 0 0 8px 0;
    color: #374151;
    font-size: 14px;
}

.delete-warning .warning-content p:first-child {
    font-weight: 600;
    color: #111827;
}

.delete-warning .warning-detail {
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
}

/* 按钮样式 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.btn-primary {
    background: #10b981;
    color: white;
}

.btn-primary:hover {
    background: #059669;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .apikey-table {
        display: block;
        overflow-x: auto;
    }
    
    .apikey-table th,
    .apikey-table td {
        white-space: nowrap;
    }
    
    .permissions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .apikey-actions {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .create-apikey-btn {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 16px;
    }
}

/* 使用日志页面样式 */

/* 图标定义 */
.icon-logs::before { content: "📊"; }
.icon-refresh::before { content: "🔄"; }
.icon-export::before { content: "📥"; }
.icon-filter::before { content: "🔍"; }
.icon-model::before { content: "🤖"; }
.icon-search::before { content: "🔎"; }
.icon-clear::before { content: "🗑️"; }
.icon-first::before { content: "⏮️"; }
.icon-prev::before { content: "◀️"; }
.icon-next::before { content: "▶️"; }
.icon-last::before { content: "⏭️"; }

/* 统计摘要 */
.stats-summary {
    margin-bottom: 2rem;
}

.stats-summary .stat-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stats-summary .stat-card:hover {
    border-color: #10b981;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stats-summary .stat-icon {
    font-size: 2rem;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
}

.stats-summary .stat-content {
    flex: 1;
}

.stats-summary .stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.stats-summary .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.stats-summary .stat-unit {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

/* 筛选工具栏 */
.filter-toolbar {
    background: white;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-label {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.filter-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #374151;
    background: white;
    transition: all 0.2s ease;
}

.filter-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.filter-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #374151;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.clear-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0.5rem;
}

.clear-btn:hover {
    background: #e5e7eb;
}

.export-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0.5rem;
}

.export-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* 日志表格 */
.logs-table-container {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
}

.logs-table thead {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.logs-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logs-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.logs-table tbody tr:hover {
    background: #f9fafb;
}

.logs-table td {
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: #374151;
    vertical-align: middle;
}

/* 类型标签 */
.type-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.type-消费 {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.type-充值 {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #bbf7d0;
}

.type-奖励 {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* 金币显示 */
.coins-amount {
    font-weight: 600;
    font-size: 0.875rem;
}

.coins-amount.positive {
    color: #10b981;
}

.coins-amount.negative {
    color: #dc2626;
}

/* 模型标签 */
.model-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    color: #374151;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

/* KEY显示 */
.key-display {
    background: #f3f4f6;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 0.75rem;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

/* Token显示 */
.tokens-display {
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

/* 查看详情按钮 */
.view-detail-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #f0fdf4;
    color: #059669;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0.375rem;
}

.view-detail-btn:hover {
    background: #dcfce7;
    border-color: #86efac;
}

.icon-view::before {
    content: "👁️";
    font-size: 0.875rem;
}

/* 空状态 */
.logs-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.2;
}

.empty-state-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.empty-state-description {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* 加载状态 */
.logs-loading {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
}

.loading-spinner {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    border: 3px solid #f3f4f6;
    border-radius: 50%;
    border-top-color: #10b981;
    animation: spinner 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.logs-loading p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* 分页 */
.logs-pagination {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pagination-info {
    font-size: 0.875rem;
    color: #6b7280;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    padding: 0 1rem;
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.pagination-size {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-size-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.page-size-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #374151;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-size-select:focus {
    outline: none;
    border-color: #10b981;
}

/* 大号模态框 */
.modal-content-lg {
    max-width: 800px;
}

/* 日志详情网格 */
.log-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.detail-item {
    margin-bottom: 1rem;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1rem;
    color: #111827;
    font-weight: 500;
    background: #f9fafb;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    word-break: break-all;
}

/* 网格布局 */
.grid {
    display: grid;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

/* 容器 */
.container {
    max-width: 1400px;
}

/* 充值相关样式 */

/* 充值按钮区域 */
.recharge-button-section {
    margin: 1.5rem 0;
    text-align: center;
}

.recharge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.recharge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.recharge-btn:active {
    transform: translateY(0);
}

.icon-recharge::before {
    content: "💰";
    font-size: 1rem;
}

/* 金额选择模态框 */
.recharge-amount-modal .modal-content {
    max-width: 500px;
}

.recharge-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.recharge-amount-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.recharge-amount-option:hover {
    border-color: #fbbf24;
    background: #fffbeb;
}

.recharge-amount-option.selected {
    border-color: #f59e0b;
    background: #fef3c7;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.amount-option-header {
    margin-bottom: 0.75rem;
}

.amount-option-coins {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.amount-coin-unit {
    font-size: 0.875rem;
    color: #6b7280;
}

.amount-option-price {
    font-size: 1rem;
    color: #374151;
    font-weight: 500;
}

.amount-option-tag {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #10b981;
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 自定义金额输入 */
.custom-amount-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.custom-amount-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.75rem;
    display: block;
}

.custom-amount-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    color: #374151;
    text-align: center;
    transition: all 0.2s ease;
}

.custom-amount-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.custom-amount-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    text-align: center;
}

/* 支付摘要 */
.payment-summary {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.payment-summary-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.payment-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #d1fae5;
}

.payment-summary-label {
    font-size: 0.875rem;
    color: #374151;
}

.payment-summary-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.payment-summary-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #059669;
}

.payment-summary-total .payment-summary-label {
    font-size: 1rem;
    font-weight: 700;
    color: #065f46;
}

.payment-summary-total .payment-summary-value {
    font-size: 1.125rem;
    color: #059669;
}

/* 微信支付模态框 */
.wechat-pay-modal .modal-content {
    max-width: 400px;
}

.wechat-qr-container {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin: 1.5rem 0;
}

.wechat-qr-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #10b981;
}

.wechat-qr-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.wechat-qr-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 1.5rem;
}

.wechat-qr-code {
    width: 200px;
    height: 200px;
    background: #f3f4f6;
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
/* 找到这个样式并修改 */
.qr-code-placeholder {
    width: 160px;
    height: 160px;
    background: #f3f4f6; /* 修改为纯色背景 */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qr-code-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-code-overlay.active {
    opacity: 1;
}

.overlay-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.overlay-text {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.wechat-qr-instruction {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: center;
}

/* 支付状态信息 */
.payment-status-info {
    margin: 1rem 0;
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-status-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.payment-status-text {
    font-size: 0.875rem;
    color: #065f46;
    line-height: 1.5;
}

/* 支付按钮组 */
.payment-button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.payment-cancel-btn {
    flex: 1;
    padding: 0.75rem;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-cancel-btn:hover {
    background: #e5e7eb;
}

.payment-success-btn {
    flex: 1;
    padding: 0.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-success-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.payment-success-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 支付成功状态 */
.payment-success-state {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.success-message {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.success-details {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.success-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.success-detail-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.success-detail-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.success-close-btn {
    padding: 0.75rem 2rem;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.success-close-btn:hover {
    background: #059669;
}

/* 模态框动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    animation: fadeIn 0.3s ease;
}

/* ================ 充值相关样式 ================ */

/* 充值按钮样式 */
.recharge-button-section {
    margin: 1.5rem 0;
    text-align: center;
}

.recharge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.recharge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.recharge-btn:active {
    transform: translateY(0);
}

/* 金额选项选中样式 */
.recharge-amount-option.selected {
    border-color: #f59e0b;
    background: #fffbeb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

/* 自定义金额输入错误状态 */
.custom-amount-input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.custom-amount-input.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* 支付摘要样式 */
#paymentSummary {
    margin-top: 1.5rem;
}

/* ================ 充值模态框样式 ================ */

/* 金额选择模态框 */
.recharge-amount-modal .modal-content {
    max-width: 500px;
}

.recharge-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.recharge-amount-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.recharge-amount-option:hover {
    border-color: #fbbf24;
    background: #fffbeb;
}

.amount-option-header {
    margin-bottom: 0.75rem;
}

.amount-option-coins {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.amount-coin-unit {
    font-size: 0.875rem;
    color: #6b7280;
}

.amount-option-price {
    font-size: 1rem;
    color: #374151;
    font-weight: 500;
}

.amount-option-tag {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #10b981;
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 自定义金额输入 */
.custom-amount-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.custom-amount-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.75rem;
}

.custom-amount-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    color: #374151;
    text-align: center;
    transition: all 0.2s ease;
}

.custom-amount-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.custom-amount-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    text-align: center;
}

/* 支付摘要 */
.payment-summary {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.payment-summary-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.payment-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #d1fae5;
}

.payment-summary-label {
    font-size: 0.875rem;
    color: #374151;
}

.payment-summary-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.payment-summary-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #059669;
}

.payment-summary-total .payment-summary-label {
    font-size: 1rem;
    font-weight: 700;
    color: #065f46;
}

.payment-summary-total .payment-summary-value {
    font-size: 1.125rem;
    color: #059669;
}

/* 微信支付模态框 */
.wechat-pay-modal .modal-content {
    max-width: 400px;
}

.wechat-qr-container {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin: 1.5rem 0;
}

.wechat-qr-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #10b981;
}

.wechat-qr-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.wechat-qr-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 1.5rem;
}

.wechat-qr-code {
    width: 200px;
    height: 200px;
    background: #f3f4f6;
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}


.qr-code-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-code-overlay.active {
    opacity: 1;
}

.overlay-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.overlay-text {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.wechat-qr-instruction {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: center;
}

/* 支付状态信息 */
.payment-status-info {
    margin: 1rem 0;
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-status-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.payment-status-text {
    font-size: 0.875rem;
    color: #065f46;
    line-height: 1.5;
}

/* 支付按钮组 */
.payment-button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.payment-cancel-btn {
    flex: 1;
    padding: 0.75rem;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-cancel-btn:hover {
    background: #e5e7eb;
}

.payment-success-btn {
    flex: 1;
    padding: 0.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-success-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.payment-success-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 支付成功状态 */
.payment-success-state {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.success-message {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.success-details {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.success-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.success-detail-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.success-detail-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.success-close-btn {
    padding: 0.75rem 2rem;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.success-close-btn:hover {
    background: #059669;
}

/* 在现有的图标样式部分添加 */
.icon-recharge::before { content: "💰"; }
.icon-edit::before { content: "✏️"; }



/* 登录页面特定样式 */
.min-h-screen {
    min-height: 100vh;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-1 {
    flex: 1 1 0%;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

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

.bg-white {
    background-color: #ffffff;
}

.border {
    border-width: 1px;
    border-style: solid;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-b {
    border-bottom-width: 1px;
}

.border-transparent {
    border-color: transparent;
}

.border-b-2 {
    border-bottom-width: 2px;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.text-gray-900 {
    color: #111827;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

.text-blue-600 {
    color: #2563eb;
}

.hover\:text-gray-900:hover {
    color: #111827;
}

.w-full {
    width: 100%;
}

.max-w-md {
    max-width: 28rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.sm\:w-full {
    width: 100%;
}

.hidden {
    display: none;
}

.opacity-75 {
    opacity: 0.75;
}

.z-50 {
    z-index: 50;
}

.fixed {
    position: fixed;
}

.top-4 {
    top: 1rem;
}

.right-4 {
    right: 1rem;
}

.transition-all {
    transition-property: all;
}

.duration-300 {
    transition-duration: 300ms;
}

/* 表单组件 */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.form-label .icon {
    margin-right: 0.5rem;
}

.input {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #111827;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: border-color 0.2s ease-in-out;
}

.input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input::placeholder {
    color: #9ca3af;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

.btn-primary {
    background-color: #3b82f6;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-primary:active {
    background-color: #1d4ed8;
}

.btn-primary:disabled {
    background-color: #93c5fd;
    cursor: not-allowed;
}

.btn-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 链接样式 */
.link {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* 标签页样式 */
.tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
}

.tab {
    flex: 1;
    padding: 0.75rem 0;
    text-align: center;
    font-weight: 500;
    color: #6b7280;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.tab:hover {
    color: #111827;
}

.tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}

/* 消息样式 */
.bg-green-50 {
    background-color: #f0fdf4;
}

.text-green-800 {
    color: #166534;
}

.border-green-200 {
    border-color: #bbf7d0;
}

.bg-red-50 {
    background-color: #fef2f2;
}

.text-red-800 {
    color: #991b1b;
}

.border-red-200 {
    border-color: #fecaca;
}

.bg-yellow-50 {
    background-color: #fffbeb;
}

.text-yellow-800 {
    color: #92400e;
}

.border-yellow-200 {
    border-color: #fde68a;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.text-blue-800 {
    color: #1e40af;
}

.border-blue-200 {
    border-color: #bfdbfe;
}

/* 图标样式 */
.icon {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.icon-user {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
}

.icon-lock {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E");
}

.icon-envelope {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}


/* 导航栏固定样式 */
.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.z-50 {
    z-index: 50;
}

/* 模型卡片价格样式 */
.model-stats {
    color: #10b981;
    font-weight: 600;
    font-size: 0.875rem;
}

/* 按钮蓝色样式 */
.btn-blue {
    background-color: #3b82f6;
    color: white;
}

.btn-blue:hover {
    background-color: #2563eb;
}

/* 激活状态指示器 */
.nav-link.active,
.dropdown-item.active {
    color: #10b981;
    font-weight: 600;
}

.nav-link.active {
    border-bottom-color: #10b981;
}

.dropdown-item.active {
    background-color: #f0fdf4;
}

.qr-code-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-code-overlay.active {
    opacity: 1;
}

.overlay-icon {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 10px;
}

.overlay-text {
    font-size: 16px;
    font-weight: 600;
    color: #10b981;
}

/* 支付状态信息 */
.payment-status-info {
    text-align: center;
    padding: 20px 0;
}

.payment-status-icon {
    font-size: 48px;
    color: #f59e0b;
    margin-bottom: 10px;
}

.payment-status-text {
    color: #6b7280;
    line-height: 1.5;
}

/* 支付摘要样式 */
.payment-summary {
    margin-top: 24px;
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.payment-summary-header {
    font-weight: 600;
    font-size: 16px;
    color: #374151;
    margin-bottom: 16px;
}

.payment-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.payment-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-summary-label {
    color: #6b7280;
    font-size: 14px;
}

.payment-summary-value {
    font-weight: 500;
    color: #374151;
}

.payment-summary-total {
    padding-top: 12px;
    border-top: 2px solid #e5e7eb;
    font-size: 16px;
}

.payment-summary-total .payment-summary-label {
    font-weight: 600;
    color: #374151;
}

.payment-summary-total .payment-summary-value {
    font-weight: 700;
    color: #10b981;
    font-size: 18px;
}

/* 支付按钮组样式 */
.payment-button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.payment-cancel-btn {
    flex: 1;
    padding: 12px 24px;
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-cancel-btn:hover {
    background-color: #e5e7eb;
}

.payment-success-btn {
    flex: 1;
    padding: 12px 24px;
    background-color: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-success-btn:hover:not(:disabled) {
    background-color: #059669;
}

.payment-success-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

/* 自定义金额输入 */
.custom-amount-section {
    margin-top: 24px;
}

.custom-amount-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-weight: 500;
    margin-bottom: 8px;
}

.custom-amount-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.custom-amount-input:focus {
    outline: none;
    border-color: #10b981;
}

.custom-amount-hint {
    margin-top: 4px;
    color: #6b7280;
    font-size: 14px;
}

/* 金额选项选中状态 */
.recharge-amount-option.selected {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* 在 style.css 中添加这些样式 */

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-radius: 50%;
    border-top-color: #10b981;
    animation: spinner 1s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* API Key消息样式 */
.apikey-message {
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.apikey-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #bbf7d0;
}

.apikey-message-error {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.apikey-message-info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

#userMenuBtn {
    flex-wrap: nowrap !important;
}
#userMenuBtn .text-sm {
    white-space: nowrap !important;
}

/* 修复图标显示 */
.stat-icon {
    font-size: 2rem;
    line-height: 1;
}

.filter-label .icon {
    font-size: 1rem;
    margin-right: 0.25rem;
}

.pagination-btn .icon {
    font-size: 1rem;
}

/* 分页按钮使用文字替代符号 */
.pagination-btn .icon-first::before { content: "首页"; }
.pagination-btn .icon-prev::before { content: "上一页"; }
.pagination-btn .icon-next::before { content: "下一页"; }
.pagination-btn .icon-last::before { content: "末页"; }


/* 修复分页按钮文字换行 */
.pagination-btn {
    white-space: nowrap !important;
    padding: 0.5rem 0.75rem;
    min-width: auto;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
}

.pagination-controls .pagination-btn {
    flex-shrink: 0;
}