/**
 * Gaussian MVP 前端样式
 */

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

:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --bg-color: #f3f4f6;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-hover);
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-warning {
    background-color: var(--warning-color);
    color: white;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-info {
    background-color: var(--info-color);
    color: white;
}

.btn-secondary {
    background-color: var(--text-muted);
    color: white;
}

.btn-text {
    background: none;
    color: var(--primary-color);
}

.btn-sm {
    padding: 4px 12px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 12px 24px;
    font-size: 16px;
}

/* 行布局 */
.row {
    display: flex;
    gap: 16px;
    margin: 0 -8px;
}

.col-7 {
    width: 58.33%;
    padding: 0 8px;
}

.col-5 {
    width: 41.67%;
    padding: 0 8px;
}

/* 上传容器 */
.upload-container {
    max-width: 1200px;
}

.upload-area {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
}

/* 相机列表面板 */
.camera-list-panel {
    background: var(--bg-color);
    border-radius: 8px;
    padding: 16px;
    min-height: 300px;
}

.camera-list-panel h4 {
    margin-bottom: 12px;
    color: var(--text-color);
}

.camera-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.camera-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 4px;
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
}

.camera-name {
    font-weight: 500;
    color: var(--text-color);
}

.camera-count {
    color: var(--text-muted);
    font-size: 13px;
}

.empty-text {
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
}

.btn-group {
    display: flex;
    gap: 8px;
}

/* 手风琴组件 */
.accordion {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
}

.accordion-header h3 {
    margin: 0;
    font-size: 16px;
}

.accordion-header button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 14px;
}

.accordion-body {
    padding: 20px;
}

/* 参数网格 */
.params-grid {
    display: grid;
    gap: 20px;
}

.param-notes {
    background: #eff6ff;
    padding: 16px;
    border-radius: 8px;
}

.param-notes p {
    margin: 8px 0;
    color: var(--text-color);
}

.param-group {
    padding: 12px;
    background: var(--bg-color);
    border-radius: 6px;
}

.param-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
}

.radio-group input[type="radio"] {
    margin: 0;
}

/* 状态框 */
.status-box {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 16px;
    box-shadow: var(--shadow);
}

#statusText {
    margin: 0;
    color: var(--text-color);
}

/* 信息区域 */
.info-section {
    background: #d1fae5;
    border-radius: 8px;
    padding: 16px 20px;
}

.info-section h3 {
    margin-top: 0;
    color: #065f46;
}

.info-section ul {
    margin: 8px 0 0 20px;
    color: #047857;
}

.info-section li {
    margin: 4px 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 徽章样式 */
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.badge-primary {
    background-color: #dbeafe;
    color: #1e40af;
}

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

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

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

.badge-secondary {
    background-color: #f3f4f6;
    color: #4b5563;
}

/* 警告框样式 */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

/* 布局 */
.app-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-main {
    display: flex;
    flex: 1;
}

.app-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* 导航栏 */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 60px;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
}

.brand-icon {
    font-size: 24px;
}

.brand-text {
    font-size: 18px;
    font-weight: 600;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 侧边栏 */
.sidebar {
    width: 240px;
    background-color: var(--card-bg);
    border-right: 1px solid var(--border-color);
    padding: 16px 0;
}

.sidebar-menu {
    list-style: none;
}

.menu-item {
    margin-bottom: 4px;
}

.menu-item.active .menu-link {
    background-color: #eff6ff;
    color: var(--primary-color);
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s;
}

.menu-link:hover {
    background-color: var(--bg-color);
}

/* 页面头部 */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 600;
}

.page-description {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.search-bar {
    margin-bottom: 16px;
    display: flex;
    justify-content: flex-start;
}

.search-input {
    width: 100%;
    max-width: 420px;
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.stat-icon {
    font-size: 32px;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

/* Section */
.section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 18px;
    font-weight: 600;
}

/* 快速开始面板 */
.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.quick-start-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    text-align: left;
    width: 100%;
}

.quick-start-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.quick-start-icon {
    font-size: 32px;
    margin-right: 16px;
}

.quick-start-content {
    flex: 1;
}

.quick-start-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.quick-start-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* 任务卡片网格 */
.task-grid,
.dataset-grid,
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.task-card,
.dataset-card,
.model-card {
    position: relative;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.task-card-header,
.dataset-card {
    padding: 16px;
}

.task-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.task-title {
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.task-card-delete {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 0 8px 0 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95) 0%, rgba(220, 53, 69, 0.72) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: right;
    cursor: pointer;
    z-index: 2;
    padding: 4px 5px 0 0;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    box-shadow: -1px 1px 0 rgba(255, 255, 255, 0.18) inset;
    opacity: 0.45;
    transition: opacity 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.task-card-delete:hover {
    opacity: 1;
    background: linear-gradient(135deg, rgba(220, 53, 69, 1) 0%, rgba(220, 53, 69, 0.82) 100%);
}

.task-card-delete:focus {
    outline: none;
    filter: brightness(1.05);
}

.task-card-delete::after {
    content: '×';
    display: block;
    transform: translate(2px, -1px);
}

.task-card-body {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
}

.task-card-thumbnail {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.10), rgba(16, 185, 129, 0.10));
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.task-card-thumbnail-placeholder {
    font-size: 28px;
    color: var(--text-muted);
    opacity: 0.6;
}

.task-card-meta-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.task-description {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.task-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.task-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
}

/* 数据集和模型卡片 */
.dataset-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 0;
}

.model-card {
    display: flex;
    flex-direction: column;
}

/* 格式转换中的模型卡片：灰色遮罩 + 转圈 */
.model-card-converting {
    filter: grayscale(1);
    opacity: 0.75;
    pointer-events: auto;
}

.model-card-converting .model-thumbnail {
    filter: grayscale(1) brightness(0.9);
}

.model-converting-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    color: var(--text-secondary, #8a8f99);
    font-size: 14px;
}

.model-converting-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(138, 143, 153, 0.35);
    border-top-color: #8a8f99;
    border-radius: 50%;
    animation: model-converting-spin 0.9s linear infinite;
}

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

.model-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
}

.model-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(16, 185, 129, 0.12));
}

.model-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.model-icon-fallback {
    font-size: 36px;
    line-height: 1;
}

.model-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
}

.model-actions .btn {
    white-space: nowrap;
    flex: 0 0 auto;
}

.dataset-cover-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(16, 185, 129, 0.12));
}

.dataset-cover,
.dataset-cover-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dataset-cover-placeholder {
    font-size: 48px;
    color: var(--text-muted);
}

.dataset-info,
.model-info {
    padding: 0 16px;
    flex: 1;
    min-width: 0;
}

.dataset-name,
.model-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.model-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dataset-path,
.model-description {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 4px;
}

.dataset-meta,
.model-meta {
    color: var(--text-muted);
    font-size: 12px;
}

.dataset-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 16px 16px;
}

.dataset-actions .btn {
    white-space: nowrap;
    flex: 0 0 auto;
}

/* 筛选栏 */
.filter-bar {
    margin-bottom: 24px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;  /* 允许换行 */
    gap: 8px;
    max-height: 120px;  /* 最大高度限制 */
    overflow-y: auto;  /* 超出时显示滚动条 */
    padding: 4px;
}

.filter-tab {
    padding: 8px 16px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;  /* 防止文字换行 */
}

.filter-tab:hover {
    background-color: var(--bg-color);
}

.filter-tab.active {
    background-color: var(--primary-color);
    color: white;
}

/* 详情页面 */
.detail-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.detail-meta {
    color: var(--text-muted);
    font-size: 13px;
}

.detail-section {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.detail-item label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.task-message {
    padding: 12px;
    background-color: #eff6ff;
    border-radius: 6px;
}

.task-detail-dataset {
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.task-detail-dataset-cover {
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(16, 185, 129, 0.12));
    min-height: 180px;
}

.task-detail-dataset-image,
.task-detail-dataset-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-detail-dataset-placeholder {
    font-size: 48px;
    color: var(--text-muted);
}

.task-detail-dataset-info {
    min-width: 0;
    padding: 4px 0;
}

.task-detail-dataset-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .task-detail-dataset {
        grid-template-columns: 1fr;
    }
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--card-bg);
}

.timeline-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.timeline-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* 正在进行的阶段样式 */
.timeline-item-active .timeline-content {
    background-color: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.timeline-dot-active {
    background-color: #3b82f6 !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* 进度条 */
.progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.progress-percent {
    font-weight: 500;
    min-width: 40px;
}

/* 分页 */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    border-radius: 6px;
    cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
    background-color: var(--bg-color);
}

.pagination-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

/* 模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    border-radius: 4px;
}

.modal-close:hover {
    background-color: var(--bg-color);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

/* 上传区域 */
.dropzone {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.dropzone.dragover,
.dropzone:hover {
    border-color: var(--primary-color);
    background-color: #eff6ff;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    pointer-events: none;
}

.dropzone-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.dropzone-hint {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 8px;
}

.file-list {
    margin-top: 16px;
}

.file-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: var(--bg-color);
    border-radius: 4px;
}

.file-icon {
    font-size: 16px;
}

/* 通知中心 */
.notification-center {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 300px;
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-warning {
    border-left: 4px solid var(--warning-color);
}

.notification-danger {
    border-left: 4px solid var(--danger-color);
}

.notification-close {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-muted);
}

/* 加载状态 */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

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

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

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-state-description {
    color: var(--text-muted);
}

/* 登录页面 */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    font-size: 48px;
    margin-bottom: 16px;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-muted);
}
