/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --secondary-color: #0ea5e9;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 0.375rem;
}

body {
    background-color: #f8fafc;
    color: var(--gray-800);
    line-height: 1.5;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* 侧边栏样式 */
.sidebar {
    width: 280px;
    background: #fff;
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    z-index: 10;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-header h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.sidebar-nav {
    padding: 1rem 0;
    flex: 1;
}

.sidebar-nav ul {
    list-style-type: none;
}

.sidebar-nav > ul > li {
    position: relative;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--gray-600);
}

.sidebar-nav > ul > li:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

.sidebar-nav > ul > li.active {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
}

.sidebar-nav > ul > li i:first-child {
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.sidebar-nav > ul > li span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    flex: 1;
}

.sidebar-nav > ul > li .submenu-toggle {
    margin-left: auto;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
    align-self: center;
}

.sidebar-nav > ul > li.open .submenu-toggle {
    transform: rotate(180deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 2.5rem;
    margin-top: 0.5rem;
    width: calc(100% - 2.5rem);
}

.sidebar-nav > ul > li.open .submenu {
    max-height: 500px;
}

.submenu li {
    padding: 0.5rem 0.75rem;
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0.25rem;
    line-height: 1.4;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.submenu li:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

.submenu li.active {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
}

/* 主内容区域样式 */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-header {
    height: 64px;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.toggle-sidebar {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-600);
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    margin-right: auto;
}

.search-box i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-box input {
    padding: 0.5rem 1rem 0.5rem 2.25rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    width: 300px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-profile span {
    font-size: 0.875rem;
    font-weight: 500;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* 内容主体 */
.content-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    position: relative;
}

.page {
    display: none;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.page.active {
    display: block;
}

.iframe-container {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff;
}

.iframe-container iframe {
    display: block;
    border: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page h2 {
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
}

/* 控制面板样式 */
.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.widget {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.widget-header h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
}

.widget-header i {
    font-size: 1.25rem;
    color: var(--gray-400);
}

.widget-body h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.trend {
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.trend.up {
    color: var(--success-color);
}

.trend.down {
    color: var(--danger-color);
}

.chart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.chart-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
}

.chart-header h3 {
    font-size: 1rem;
    font-weight: 500;
}

.chart-actions {
    display: flex;
    gap: 0.5rem;
}

.chart-actions select {
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    color: var(--gray-700);
    background-color: white;
}

.chart-btn {
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.chart-body {
    padding: 1.25rem;
    height: 300px;
}

/* 表格样式 */
.template-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.search-filter {
    position: relative;
}

.search-filter input {
    padding: 0.5rem 1rem 0.5rem 2.25rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    width: 250px;
}

.search-filter i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.table-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.data-table th {
    background-color: var(--gray-50);
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.data-table tbody tr:hover {
    background-color: var(--gray-50);
}

.status-active, .status-inactive {
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-active {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.status-inactive {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.btn-edit, .btn-delete {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--secondary-color);
}

.btn-delete {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.btn-edit:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-delete:hover {
    background-color: var(--danger-color);
    color: white;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    background-color: white;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.page-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 设置页面 */
.settings-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.settings-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.settings-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-700);
}

.settings-form {
    display: grid;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.file-upload {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.file-upload input {
    display: none;
}

.file-upload button {
    padding: 0.5rem 0.75rem;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload button:hover {
    background-color: var(--gray-200);
}

.file-upload span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* 弹窗样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    width: 500px;
    max-width: 90%;
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.125rem;
    font-weight: 500;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--danger-color);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-cancel {
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background-color: var(--gray-100);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .chart-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -280px;
        height: 100vh;
    }
    
    .sidebar.open {
        left: 0;
    }
    
    .content {
        margin-left: 0;
    }
    
    .dashboard-widgets {
        grid-template-columns: 1fr;
    }
    
    .search-box input {
        width: 200px;
    }
}

@media (max-width: 576px) {
    .content-header {
        padding: 0 1rem;
    }
    
    .content-body {
        padding: 1rem;
    }
    
    .search-box {
        display: none;
    }
    
    .user-profile span {
        display: none;
    }
}

/* 图片管理页面样式 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.image-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.image-preview {
    position: relative;
    height: 180px;
    overflow: hidden;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    padding: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.image-preview:hover .image-actions {
    opacity: 1;
}

.image-actions button {
    flex: 1;
    padding: 0.5rem;
    border: none;
    background: transparent;
    color: white;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease;
}

.image-actions button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-replace i {
    color: var(--secondary-color);
}

.btn-view i {
    color: var(--primary-light);
}

.image-info {
    padding: 1rem;
}

.image-info h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.image-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* 图片查看弹窗 */
.image-modal .modal-content {
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.image-modal .modal-body {
    flex: 1;
    overflow: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal img {
    max-width: 100%;
    max-height: 70vh;
}

.image-modal .modal-footer {
    justify-content: space-between;
}

.image-dimensions {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* 图片替换弹窗 */
.replace-modal .modal-content {
    width: 500px;
}

.file-drop-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-drop-area:hover {
    border-color: var(--primary-light);
    background-color: rgba(99, 102, 241, 0.05);
}

.file-drop-area i {
    font-size: 2.5rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.file-drop-area p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.file-drop-area p.drop-hint {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.selected-file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background-color: var(--gray-100);
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.selected-file-info .file-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.selected-file-info .file-details {
    flex: 1;
}

.selected-file-info .file-name {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.selected-file-info .file-meta {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.selected-file-info .remove-file {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 1.25rem;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 576px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}

/* 添加上传进度条样式 */
.upload-progress {
    margin-top: 10px;
    width: 100%;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #4f46e5;
    width: 0;
    transition: width 0.3s ease;
}

/* 链接管理样式 */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.link-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-info {
    flex: 1;
}

.link-info h4 {
    margin: 0 0 10px;
    color: #333;
    font-size: 1.1rem;
}

.link-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.link-location {
    font-size: 0.85rem;
    color: #777;
    margin-top: 10px;
    font-style: italic;
}

.link-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: monospace;
    margin-top: 5px;
}

.link-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 20px;
}

.btn-test-link {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.btn-test-link:hover {
    background-color: #e9ecef;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .link-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .link-actions {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }
    
    .btn-test-link {
        width: 100%;
        justify-content: center;
    }
}

/* 通知样式 */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px;
    min-width: 300px;
    max-width: 450px;
    display: flex;
    align-items: flex-start;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.notification-show {
    transform: translateX(0);
    opacity: 1;
}

.notification-hiding {
    transform: translateX(100%);
    opacity: 0;
}

.notification-icon {
    margin-right: 12px;
    font-size: 1.2rem;
}

.notification-success .notification-icon {
    color: #28a745;
}

.notification-error .notification-icon {
    color: #dc3545;
}

.notification-info .notification-icon {
    color: #17a2b8;
}

.notification-message {
    flex: 1;
    font-size: 0.95rem;
    padding-right: 10px;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #aaa;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: #666;
}

/* SEO页面生成器样式 */
.seo-generator-container {
    max-width: 1200px;
    margin: 0 auto;
}

.generator-panel {
    margin-bottom: 30px;
}

.settings-body {
    padding: 20px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 14px;
}

.progress-container {
    margin-bottom: 25px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.progress {
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #4caf50, #8bc34a);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.stat-row {
    display: flex;
    justify-content: space-around;
    margin: 25px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    width: 30%;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.success-text {
    color: #28a745;
}

.error-text {
    color: #dc3545;
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
}

.generation-log {
    margin-top: 20px;
}

.log-container {
    height: 200px;
    overflow-y: auto;
    background-color: #f8f9fa;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    padding: 10px;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.5;
}

.log-entry {
    margin-bottom: 5px;
    padding: 5px;
    border-bottom: 1px solid #eee;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-entry.success {
    color: #28a745;
}

.log-entry.error {
    color: #dc3545;
}

.log-entry.info {
    color: #17a2b8;
}

.log-timestamp {
    color: #6c757d;
    margin-right: 8px;
    font-size: 12px;
}

.result-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .stat-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-actions button {
        width: 100%;
    }
}

/* 通知系统样式 */ 