/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 礼品卡片现代化样式 */
.gift-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.gift-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gift-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gift-image-container {
    width: 100%;
    height: 200px;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gift-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-image-placeholder {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gift-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gift-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.gift-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gift-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.gift-points {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.1rem;
}

.gift-points-icon {
    font-size: 1.2rem;
}

.gift-stock {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.gift-stock-icon {
    font-size: 0.9rem;
}

.gift-exchange-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.gift-exchange-btn:hover:not(:disabled) {
    background: #1d4ed8;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.gift-exchange-btn:active:not(:disabled) {
    transform: translateY(0);
}

.gift-exchange-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
}

.gift-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    backdrop-filter: blur(4px);
}

.gift-badge.hot {
    background: rgba(255, 165, 0, 0.9);
}

.gift-badge.new {
    background: rgba(76, 175, 80, 0.9);
}

/* 礼品兑换记录样式 */
.gift-exchange-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.gift-exchange-item {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.gift-exchange-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.gift-exchange-info {
    flex: 1;
}

.gift-exchange-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.gift-exchange-status.completed {
    background: #e8f5e9;
    color: #2e7d32;
}

.gift-exchange-status.pending {
    background: #fff3e0;
    color: #e65100;
}

.gift-exchange-status.cancelled {
    background: #ffebee;
    color: #c62828;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .gift-list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
    
    .gift-image-container {
        height: 160px;
    }
    
    .gift-card-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .gift-list {
        grid-template-columns: 1fr;
    }
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f6f9ff;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-link:hover {
    color: #2563eb;
}

/* 主内容区 */
.main-content {
    padding: 2rem 0;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* 首页样式 */
.hero {
    text-align: center;
    padding: 3rem 0;
    color: #333;  /* 改为深色字体，提高可读性 */
    background: rgba(255, 255, 255, 0.95);  /* 添加白色半透明背景 */
    border-radius: 16px;  /* 圆角 */
    margin: 2rem 0;  /* 外边距 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* 阴影效果 */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;  /* 深色字体 */
    text-shadow: none;  /* 移除文字阴影 */
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;  /* 灰色字体 */
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 0 1rem;  /* 添加内边距 */
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    color: #333;  /* 确保文字颜色是深色 */
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.3rem;  /* 确保标题字体大小 */
}

.feature-card p {
    color: #666;  /* 确保描述文字是深色 */
    line-height: 1.6;
}

/* 表单样式 */
.form-container {
    max-width: 500px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2563eb;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;  /* 继承字体 */
}

/* 意见反馈文本域特殊样式 - 更大更友好 */
.form-group textarea {
    min-height: 200px;  /* 最小高度 */
    font-size: 1.1rem;  /* 更大的字体 */
    line-height: 1.6;  /* 行高 */
    padding: 1rem;  /* 更大的内边距 */
    resize: vertical;  /* 允许垂直调整大小 */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn-primary {
    width: 100%;
    padding: 0.75rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    color: #666;
}

.form-footer a {
    color: #2563eb;
    text-decoration: none;
}

/* 咨询记录列表 */
.consultation-list {
    display: grid;
    gap: 1.5rem;
}

.consultation-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.consultation-item h3 {
    color: #2563eb;
    margin-bottom: 1rem;
}

.consultation-item .info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
}

.consultation-item .result {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 5px;
    line-height: 1.6;
}

/* Markdown内容样式 */
.markdown-content {
    margin-top: 1rem;
}

.markdown-body {
    margin-top: 0.5rem;
    color: #333;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
    line-height: 1.4;
}

.markdown-body h1 {
    font-size: 1.8em;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.3em;
}

.markdown-body h2 {
    font-size: 1.5em;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.3em;
}

.markdown-body h3 {
    font-size: 1.3em;
    color: #2563eb;
}

.markdown-body h4 {
    font-size: 1.1em;
}

.markdown-body p {
    margin: 0.8em 0;
    line-height: 1.8;
}

.markdown-body ul,
.markdown-body ol {
    margin: 0.8em 0;
    padding-left: 2em;
}

.markdown-body li {
    margin: 0.4em 0;
    line-height: 1.6;
}

.markdown-body strong {
    font-weight: bold;
    color: #333;
}

.markdown-body em {
    font-style: italic;
}

.markdown-body code {
    background: #f4f4f4;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.markdown-body pre {
    background: #f4f4f4;
    padding: 1em;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1em 0;
}

.markdown-body pre code {
    background: none;
    padding: 0;
}

.markdown-body blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 1em;
    margin: 1em 0;
    color: #666;
    font-style: italic;
}

.markdown-body hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 1.5em 0;
}

.markdown-body table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
}

.markdown-body table th,
.markdown-body table td {
    border: 1px solid #ddd;
    padding: 0.5em;
    text-align: left;
}

.markdown-body table th {
    background: #f5f5f5;
    font-weight: bold;
}

.markdown-body a {
    color: #2563eb;
    text-decoration: none;
}

.markdown-body a:hover {
    text-decoration: underline;
}

/* 积分页面 */
.points-summary {
    margin: 2rem 0;
}

.points-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.points-value {
    font-size: 3rem;
    color: #2563eb;
    font-weight: bold;
    margin-top: 1rem;
}

.points-history {
    margin-top: 2rem;
}

.points-item {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.points-item .points {
    font-size: 1.5rem;
    font-weight: bold;
}

.points-item .points.positive {
    color: #4caf50;
}

.points-item .points.negative {
    color: #f44336;
}

/* 管理员页面 - 现代化设计 */
.admin-page {
    background: #f6f9ff;
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

/* 管理员页面头部 */
.admin-header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-title-section {
    flex: 1;
}

.admin-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1e40af;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.admin-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ef4444;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.95rem;
}

/* 管理员登录容器 */
.admin-login-container {
    max-width: 500px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.admin-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-login-header h3 {
    color: #1e40af;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.admin-login-hint {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* 管理员仪表板 */
.admin-dashboard {
    background: transparent;
}

/* 标签页容器 */
.admin-tabs-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.admin-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    display: none;
}

.tab-btn:hover::before {
    left: 0;
}

.tab-btn:hover {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
}

.tab-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.tab-btn.active::before {
    display: none;
}

.tab-icon {
    font-size: 1.1rem;
    z-index: 1;
    position: relative;
}

.tab-text {
    z-index: 1;
    position: relative;
}

/* 内容区域 */
.admin-content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    min-height: 500px;
}

.admin-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.admin-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 区域标题 */
.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-section-desc {
    color: #666;
    font-size: 0.9rem;
    margin: 0.25rem 0 0 0;
}

/* 管理员按钮 */
.btn-admin {
    background: #2563eb;
    border: none;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.btn-admin:hover {
    background: #1d4ed8;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
    transform: translateY(-2px);
}

.btn-admin-action {
    background: #ff6b6b;
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.btn-admin-action:hover {
    background: #ee5a6f;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    transform: translateY(-2px);
}

/* 数据容器 */
.admin-data-container {
    margin-top: 1.5rem;
}

/* 统计网格 */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.statistics-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #1e40af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.statistics-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.statistics-item h4 {
    color: #1e40af;
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.statistics-item .stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #1d4ed8;
    margin: 0;
}

/* 热门话题列表 */
.admin-topics-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.topic-item {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid #ff6b6b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.topic-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .admin-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 编辑模态框样式 */
.edit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.edit-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.edit-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.edit-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
}

.edit-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    line-height: 1;
    transition: color 0.3s;
}

.edit-modal-close:hover {
    color: #333;
}

.edit-modal-body {
    padding: 1.5rem;
}

.edit-modal-body .form-group {
    margin-bottom: 1.5rem;
}

.edit-modal-body .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.edit-modal-body .form-group input,
.edit-modal-body .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.edit-modal-body .form-group input:focus,
.edit-modal-body .form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.edit-modal-body .form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.edit-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.edit-modal-actions .btn-primary,
.edit-modal-actions .btn-secondary {
    width: auto;
    min-width: 100px;
    padding: 0.75rem 1.5rem;
}

.progress-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.progress-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 400px;
    max-width: 500px;
    /* 双重保证居中：即使父容器未生效flex，也能居中 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2100;
}

.progress-modal-content h3 {
    text-align: center;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.progress-container {
    margin: 1.5rem 0;
}

.progress-bar-wrapper {
    width: 100%;
    height: 30px;
    background: #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: #2563eb;
    border-radius: 15px;
    transition: width 0.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* 进度条动画效果 */
.progress-bar::before {
    content: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-info {
    text-align: center;
}

.status-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.progress-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/* 按钮样式 */
.btn-secondary {
    padding: 0.5rem 1rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    padding: 0.5rem 1rem;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-danger:hover {
    background: #ee5a5a;
}

/* 状态标签样式 */
.status-pending {
    padding: 0.25rem 0.5rem;
    background: #ffc107;
    color: #333;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-processing {
    padding: 0.25rem 0.5rem;
    background: #17a2b8;
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-completed {
    padding: 0.25rem 0.5rem;
    background: #28a745;
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-failed {
    padding: 0.25rem 0.5rem;
    background: #dc3545;
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .progress-modal-content {
        min-width: 90%;
        max-width: 90%;
        margin: 1rem;
    }
}

