/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo i {
    font-size: 2rem;
    color: #ffd700;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* 主要内容区域 */
.main-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.section.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 表单容器 */
.form-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-header .subtitle {
    color: #64748b;
    font-size: 1rem;
    background: #e8f4fd;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    display: inline-block;
    margin-top: 1rem;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

/* 步骤化表单样式 */
.step-section {
    margin-bottom: 2.5rem;
    border: 2px solid #f0f2f5;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.step-section:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.step-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.step-title h3 {
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
    font-size: 1.3rem;
}

.step-title p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

/* 表单样式 */
.bug-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 文件上传 */
.file-upload {
    position: relative;
    border: 2px dashed #667eea;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload:hover {
    border-color: #764ba2;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
}

.file-upload-text i {
    font-size: 2rem;
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.file-item button {
    background: #ff4757;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
}

/* 图片上传区域样式 */
.image-upload-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.upload-area {
    border: 2px dashed #667eea;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    transition: all 0.3s ease;
    position: relative;
}

.upload-area:hover {
    border-color: #764ba2;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transform: translateY(-2px);
}

.upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.upload-box i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.upload-box h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.upload-box p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.upload-box input[type="file"] {
    display: none;
}

.upload-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.image-preview {
    margin-top: 1rem;
    max-width: 100%;
}

.image-preview img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.remove-image {
    background: #ff4757;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.remove-image:hover {
    background: #ff3742;
    transform: translateY(-1px);
}

/* 按钮样式 */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e1e5e9;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

/* 仪表板样式 */
.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-icon.critical {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.stat-icon.resolved {
    background: linear-gradient(135deg, #26de81 0%, #20bf6b 100%);
}

.stat-icon.pending {
    background: linear-gradient(135deg, #fed330 0%, #f7b731 100%);
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.stat-content p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Bug列表 */
.bugs-list {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e5e9;
}

.list-header h3 {
    color: #333;
    font-size: 1.25rem;
}

.filters {
    display: flex;
    gap: 1rem;
}

.filters select {
    padding: 0.5rem 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
}

.bugs-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bug-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.bug-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.bug-item.priority-critical {
    border-left-color: #ff4757;
}

.bug-item.priority-high {
    border-left-color: #ff6348;
}

.bug-item.priority-medium {
    border-left-color: #ffa502;
}

.bug-item.priority-low {
    border-left-color: #7bed9f;
}

.bug-info {
    flex: 1;
}

.bug-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.bug-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #666;
}

.bug-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-open {
    background: #ff6b6b;
    color: white;
}

.status-in-progress {
    background: #feca57;
    color: #333;
}

.status-resolved {
    background: #48dbfb;
    color: white;
}

.status-closed {
    background: #7bed9f;
    color: #333;
}

/* 图表样式 */
.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.analytics-header h2 {
    color: #333;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analytics-filters select {
    padding: 0.5rem 1rem;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.analytics-filters select:hover {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.analytics-filters select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.charts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.chart-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.chart-card.full-width {
    grid-column: 1 / -1;
}

.chart-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.chart-card canvas {
    max-height: 300px;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* 成功模态框样式 */
.modal-header {
    text-align: center;
    margin-bottom: 1rem;
}

.modal-header h3 {
    color: #26de81;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-body {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-body p {
    margin-bottom: 0.5rem;
    color: #666;
}

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

/* Bug详情模态框样式 */
.bug-detail-modal {
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 1001;
}

.bug-detail-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.bug-detail-modal .modal-header h3 {
    color: #2c3e50;
    margin: 0;
}

.close-btn {
    background: #ff4757;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
}

.close-btn:hover {
    background: #ff3742;
    transform: scale(1.1);
}

.bug-detail-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bug-detail-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-row .label {
    font-weight: 600;
    color: #495057;
    min-width: 80px;
}

.info-row .value {
    color: #2c3e50;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.status-open {
    background: #e3f2fd;
    color: #1976d2;
}

.status-badge.status-in-progress {
    background: #fff3e0;
    color: #f57c00;
}

.status-badge.status-resolved {
    background: #e8f5e8;
    color: #388e3c;
}

.status-badge.status-closed {
    background: #fce4ec;
    color: #c2185b;
}

.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.priority-badge.priority-low {
    background: #e8f5e8;
    color: #388e3c;
}

.priority-badge.priority-medium {
    background: #fff3e0;
    color: #f57c00;
}

.priority-badge.priority-high {
    background: #ffebee;
    color: #d32f2f;
}

.priority-badge.priority-critical {
    background: #ffcdd2;
    color: #c62828;
}

.bug-detail-description,
.bug-detail-steps,
.bug-detail-attachments {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
}

.bug-detail-description h4,
.bug-detail-steps h4,
.bug-detail-attachments h4 {
    margin: 0 0 1rem 0;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.description-text,
.steps-text {
    color: #6c757d;
    line-height: 1.6;
    white-space: pre-wrap;
}

.attachments-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.attachment-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.attachment-item:hover {
    transform: scale(1.05);
}

.attachment-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.attachment-item .filename {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.status-select {
    padding: 0.5rem 1rem;
    border: 2px solid #667eea;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 0.9rem;
    margin-right: 1rem;
    cursor: pointer;
    position: relative;
    z-index: 1002;
}

.status-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Bug详情模态框特定样式 */
.bug-detail-modal .modal-body {
    text-align: left;
    position: relative;
    z-index: 1001;
}

.bug-detail-modal .modal-footer {
    text-align: center;
    position: relative;
    z-index: 1002;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.bug-detail-modal .btn {
    position: relative;
    z-index: 1002;
    pointer-events: auto;
}

/* 图片查看器 */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-viewer img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.image-viewer .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Toast提示样式 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.5rem;
    min-width: 300px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-success {
    border-left: 4px solid #28a745;
}

.toast-success .fas {
    color: #28a745;
}

.toast-error {
    border-left: 4px solid #dc3545;
}

.toast-error .fas {
    color: #dc3545;
}

.toast-info {
    border-left: 4px solid #17a2b8;
}

.toast-info .fas {
    color: #17a2b8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .charts-container {
        grid-template-columns: 1fr;
    }

    .list-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .bug-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .bug-meta {
        flex-wrap: wrap;
    }

    /* 移动端步骤样式优化 */
    .step-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    /* 移动端图片上传优化 */
    .image-upload-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .upload-area {
        padding: 1rem;
    }

    .upload-box i {
        font-size: 2rem;
    }

    .upload-box h4 {
        font-size: 1rem;
    }

    .upload-box p {
        font-size: 0.8rem;
    }

    /* 移动端Bug详情优化 */
    .bug-detail-modal {
        width: 100%;
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }

    .bug-detail-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .info-row .label {
        min-width: auto;
        font-size: 0.9rem;
    }

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

    .attachment-item img {
        height: 80px;
    }

    .toast {
        right: 10px;
        left: 10px;
        min-width: auto;
        transform: translateY(-100px);
    }

    .toast.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.4rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .form-actions {
        flex-direction: column;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
} 