/* ============================================
   笔记本页面 - 全新设计
   ============================================ */

/* 返回按钮 */
.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background: linear-gradient(145deg, var(--primary-pink, #ff6b9d), var(--lavender, #c8b6ff));
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

/* 主容器 */
.notes-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px 40px;
}

/* 页面头部 */
.notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.notes-header h1 {
    font-size: 2rem;
    color: var(--text-primary, #333);
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    padding: 10px 15px;
    border: 2px solid var(--light-pink, #ffb3d1);
    border-radius: 20px;
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-pink, #ff6b9d);
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.2);
    width: 250px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--light-pink, #ffb3d1);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.icon-btn:hover {
    background: var(--primary-pink, #ff6b9d);
    border-color: var(--primary-pink, #ff6b9d);
}

.header-divider {
    width: 1px;
    height: 30px;
    background: var(--light-pink, #ffb3d1);
    margin: 0 5px;
}

.notes-stats-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 15px;
    background: linear-gradient(135deg, #ffe6ea 0%, #fff5f8 100%);
    border-radius: 20px;
    border: 2px solid var(--light-pink, #ffb3d1);
}

.notes-stats-mini .stat-item {
    font-size: 0.85rem;
    color: var(--text-primary, #333);
    display: flex;
    align-items: center;
    gap: 5px;
}

.notes-stats-mini strong {
    color: var(--primary-pink, #ff6b9d);
    font-size: 1rem;
}

.header-btn {
    padding: 8px 16px;
    border: 2px solid var(--light-pink, #ffb3d1);
    border-radius: 20px;
    background: white;
    color: var(--text-primary, #333);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-btn:hover {
    background: var(--primary-pink, #ff6b9d);
    border-color: var(--primary-pink, #ff6b9d);
    color: white;
    transform: translateY(-2px);
}

/* 内容区域 */
.notes-content {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 20px;
    align-items: start;
}

/* 编辑器区域 */
.editor-section {
    position: sticky;
    top: 80px;
}

/* 右侧区域 */
.right-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 笔记列表 */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-height: 380px;
    overflow-y: auto;
    padding: 4px;
}

/* 笔记卡片 - 紧凑型 */
.note-item {
    background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
    border-radius: 12px;
    padding: 12px;
    border: 2px solid var(--light-pink, #ffb3d1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.note-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
}

.note-item.active {
    border-color: var(--primary-pink, #ff6b9d);
    background: linear-gradient(135deg, #ffe6ea 0%, #fff5f8 100%);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.note-category {
    background: linear-gradient(145deg, var(--primary-pink, #ff6b9d), var(--lavender, #c8b6ff));
    color: white;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
}

.note-date {
    font-size: 0.7rem;
    color: var(--text-secondary, #999);
}

.note-title-preview {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary, #333);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.note-excerpt {
    font-size: 0.75rem;
    color: var(--text-secondary, #666);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.note-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.tag {
    background: rgba(255, 179, 209, 0.3);
    color: var(--text-primary, #333);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.65rem;
}

.note-footer {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 179, 209, 0.3);
}

.note-footer-btn {
    padding: 4px 8px;
    border: none;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    flex: 1;
}

.note-footer-btn:hover {
    background: var(--primary-pink, #ff6b9d);
    color: white;
}

.note-footer-btn.delete {
    color: #ff6b6b;
}

.note-footer-btn.delete:hover {
    background: #ff6b6b;
    color: white;
}

/* 隐藏展开的内容区域 */
.note-content {
    display: none;
}

/* 笔记详情展开面板 */
.note-detail-panel {
    flex: 1;
    background: white;
    border-radius: 15px;
    border: 2px solid var(--light-pink, #ffb3d1);
    overflow: hidden;
    display: none;
    flex-direction: column;
    min-height: 400px;
}

.note-detail-panel.active {
    display: flex;
}

.note-detail-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary, #999);
    min-height: 400px;
    background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
    border-radius: 15px;
    border: 2px dashed var(--light-pink, #ffb3d1);
}

.note-detail-empty-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.note-detail-empty-text {
    font-size: 0.9rem;
}

.note-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #ffe6ea 0%, #fff5f8 100%);
    border-bottom: 2px solid var(--light-pink, #ffb3d1);
    flex-wrap: wrap;
    gap: 10px;
}

.note-detail-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.note-detail-category {
    background: linear-gradient(145deg, var(--primary-pink, #ff6b9d), var(--lavender, #c8b6ff));
    color: white;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.note-detail-date {
    font-size: 0.8rem;
    color: var(--text-secondary, #666);
}

.note-detail-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.note-detail-actions {
    display: flex;
    gap: 8px;
}

.note-detail-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.note-detail-btn:hover {
    background: var(--primary-pink, #ff6b9d);
    color: white;
}

.note-detail-btn.delete {
    color: #ff6b6b;
}

.note-detail-btn.delete:hover {
    background: #ff6b6b;
    color: white;
}

.note-detail-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: white;
}

.note-detail-content .markdown-body {
    font-size: 1rem;
    line-height: 1.8;
}

.note-detail-content .markdown-body h1 {
    font-size: 1.8rem;
    margin-bottom: 0.8em;
    color: var(--text-primary, #333);
}

.note-detail-content .markdown-body h2 {
    font-size: 1.5rem;
    margin-bottom: 0.6em;
    color: var(--text-primary, #333);
}

.note-detail-content .markdown-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5em;
    color: var(--text-primary, #333);
}

.note-detail-content .markdown-body p {
    margin-bottom: 1em;
}

.note-detail-content .markdown-body pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1em;
}

.note-detail-content .markdown-body code {
    background: rgba(255, 179, 209, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.note-detail-content .markdown-body pre code {
    background: none;
    padding: 0;
}

.note-detail-content .markdown-body blockquote {
    border-left: 4px solid var(--primary-pink, #ff6b9d);
    padding-left: 15px;
    margin: 1em 0;
    color: var(--text-secondary, #666);
}

.note-detail-content .markdown-body ul,
.note-detail-content .markdown-body ol {
    padding-left: 2em;
    margin-bottom: 1em;
}

.note-detail-content .markdown-body li {
    margin-bottom: 0.5em;
}

.note-detail-content .markdown-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1em 0;
}

.editor-card {
    background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.15);
    border: 2px solid var(--light-pink, #ffb3d1);
}

/* 元信息区 */
.editor-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.meta-select,
.meta-input {
    padding: 8px 12px;
    border: 2px solid var(--light-pink, #ffb3d1);
    border-radius: 12px;
    font-size: 0.85rem;
    background: white;
    transition: all 0.3s ease;
}

.meta-select {
    flex: 0 0 100px;
    cursor: pointer;
}

.meta-input {
    flex: 1;
}

.meta-select:focus,
.meta-input:focus {
    outline: none;
    border-color: var(--primary-pink, #ff6b9d);
}

/* 编辑输入框 */
.note-input {
    width: 100%;
    min-height: 250px;
    padding: 15px;
    border: 2px solid var(--light-pink, #ffb3d1);
    border-radius: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
    background: white;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.note-input:focus {
    outline: none;
    border-color: var(--primary-pink, #ff6b9d);
    box-shadow: 0 0 15px rgba(255, 107, 157, 0.15);
}

/* 工具栏 */
.editor-toolbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.markdown-tools {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.tool-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--light-pink, #ffb3d1);
    border-radius: 8px;
    background: white;
    color: var(--text-primary, #333);
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.tool-btn:hover {
    background: var(--primary-pink, #ff6b9d);
    color: white;
    border-color: var(--primary-pink, #ff6b9d);
}

.action-tools {
    display: flex;
    gap: 8px;
}

.action-btn {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 12px;
    background: white;
    color: var(--text-primary, #333);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.action-btn.primary {
    background: linear-gradient(145deg, var(--primary-pink, #ff6b9d), var(--lavender, #c8b6ff));
    color: white;
}

/* 预览区 */
.preview-area {
    margin-top: 15px;
    border: 2px solid var(--light-pink, #ffb3d1);
    border-radius: 15px;
    overflow: hidden;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: linear-gradient(135deg, #ffe6ea 0%, #fff5f8 100%);
    font-weight: 500;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary, #666);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: var(--primary-pink, #ff6b9d);
}

.preview-content {
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
    background: white;
}


/* 笔记详情模态框 */
.note-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.note-detail-modal.active {
    display: flex;
}

.note-detail-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.note-detail-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #ffe6ea 0%, #fff5f8 100%);
    border-radius: 20px 20px 0 0;
    border-bottom: 2px solid var(--light-pink, #ffb3d1);
}

.note-detail-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-primary, #333);
}

.note-detail-modal-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: white;
    border-bottom: 1px solid var(--light-pink, #ffb3d1);
    flex-wrap: wrap;
    gap: 10px;
}

.detail-modal-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.detail-modal-actions {
    display: flex;
    gap: 8px;
}

.note-detail-modal-content .markdown-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.8;
}

.note-detail-modal-content .markdown-body h1 {
    font-size: 1.8rem;
    margin-bottom: 0.8em;
}

.note-detail-content .markdown-body {
    font-size: 1rem;
    line-height: 1.8;
}

.note-detail-content .markdown-body h1 {
    font-size: 1.8rem;
    margin-bottom: 0.8em;
    color: var(--text-primary, #333);
}

.note-detail-content .markdown-body h2 {
    font-size: 1.5rem;
    margin-bottom: 0.6em;
    color: var(--text-primary, #333);
}

.note-detail-content .markdown-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5em;
    color: var(--text-primary, #333);
}

.note-detail-content .markdown-body p {
    margin-bottom: 1em;
}

.note-detail-content .markdown-body pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1em;
}

.note-detail-content .markdown-body code {
    background: rgba(255, 179, 209, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.note-detail-content .markdown-body pre code {
    background: none;
    padding: 0;
}

.note-detail-content .markdown-body blockquote {
    border-left: 4px solid var(--primary-pink, #ff6b9d);
    padding-left: 15px;
    margin: 1em 0;
    color: var(--text-secondary, #666);
}

.note-detail-content .markdown-body ul,
.note-detail-content .markdown-body ol {
    padding-left: 2em;
    margin-bottom: 1em;
}

.note-detail-content .markdown-body li {
    margin-bottom: 0.5em;
}

.note-detail-content .markdown-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1em 0;
}

/* Markdown 样式 */
.markdown-body {
    color: #333;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
    color: var(--text-primary, #333);
    margin: 1em 0 0.5em;
}

.markdown-body p {
    margin: 0.5em 0;
}

.markdown-body code {
    background: rgba(255, 179, 209, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.markdown-body pre {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
}

.markdown-body pre code {
    background: none;
    padding: 0;
}

.markdown-body blockquote {
    border-left: 4px solid var(--primary-pink, #ff6b9d);
    padding-left: 15px;
    margin: 10px 0;
    color: var(--text-secondary, #666);
}

/* 评论区 */
.comments-section {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0 20px;
}

/* 通知 */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 星空主题适配 */
body.star-theme .editor-card,
body.star-theme .note-item,
body.star-theme .notes-list-wrapper,
body.star-theme .preview-section {
    background: linear-gradient(135deg, #2a1f3a 0%, #1a1a2e 100%);
    border-color: #6a6aaa;
}

body.star-theme .notes-list-header,
body.star-theme .preview-section-header {
    background: linear-gradient(135deg, #3a2a4a 0%, #2a1f3a 100%);
    border-color: #6a6aaa;
}

body.star-theme .notes-list-header h3,
body.star-theme .preview-section-header h3 {
    color: #e0e0ff;
}

body.star-theme .note-detail-modal-content {
    background: linear-gradient(135deg, #2a1f3a 0%, #1a1a2e 100%);
    border: 2px solid #6a6aaa;
}

body.star-theme .note-detail-modal-header,
body.star-theme .note-detail-modal-body {
    background: rgba(106, 106, 170, 0.2);
    border-color: #6a6aaa;
}

body.star-theme .preview-content {
    background: rgba(26, 26, 46, 0.5);
}

body.star-theme .note-input,
body.star-theme .meta-select,
body.star-theme .meta-input {
    background: rgba(255, 255, 255, 0.05);
    border-color: #6a6aaa;
    color: #fff;
}

body.star-theme .tool-btn,
body.star-theme .action-btn,
body.star-theme .note-footer-btn,
body.star-theme .note-detail-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0ff;
    border-color: #6a6aaa;
}

body.star-theme .tool-btn:hover,
body.star-theme .action-btn:hover,
body.star-theme .note-footer-btn:hover,
body.star-theme .note-detail-btn:hover {
    background: #6a6aaa;
    color: #fff;
}

body.star-theme .notes-header h1,
body.star-theme .note-title-preview {
    color: #e0e0ff;
}

body.star-theme .note-excerpt,
body.star-theme .note-date {
    color: #a0a0c0;
}

body.star-theme .tag {
    background: rgba(106, 106, 170, 0.3);
    color: #e0e0ff;
}

body.star-theme .preview-placeholder {
    color: #6a6aaa;
}

body.star-theme .search-input {
    background: rgba(255, 255, 255, 0.05);
    border-color: #6a6aaa;
    color: #fff;
}

body.star-theme .icon-btn {
    border-color: #6a6aaa;
}

body.star-theme .header-divider {
    background: #6a6aaa;
}

body.star-theme .notes-stats-mini {
    background: rgba(106, 106, 170, 0.2);
    border-color: #6a6aaa;
}

body.star-theme .notes-stats-mini .stat-item {
    color: #e0e0ff;
}

body.star-theme .header-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: #6a6aaa;
    color: #e0e0ff;
}

body.star-theme .header-btn:hover {
    background: #6a6aaa;
}

/* 响应式 */
@media (max-width: 1200px) {
    .notes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .notes-content {
        grid-template-columns: 1fr;
    }

    .editor-section {
        position: static;
    }

    .notes-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        max-height: 300px;
    }

    .notes-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .search-input {
        width: 100%;
    }
}

/* 导入模态框 */
.import-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.2s ease;
}

.import-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.import-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid var(--light-pink, #ffb3d1);
}

.import-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-primary, #333);
}

.import-modal-body {
    padding: 20px 25px;
    overflow-y: auto;
    flex: 1;
}

.import-info {
    padding: 12px 15px;
    background: linear-gradient(135deg, #ffe6ea 0%, #fff5f8 100%);
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.import-info label {
    font-weight: 600;
    color: var(--primary-pink, #ff6b9d);
    margin-right: 8px;
}

.import-preview {
    background: #f8f9fa;
    border: 2px solid var(--light-pink, #ffb3d1);
    border-radius: 12px;
    padding: 20px;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    line-height: 1.6;
}

.import-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 25px;
    border-top: 2px solid var(--light-pink, #ffb3d1);
}

.import-modal-footer .action-btn {
    min-width: 100px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 星空主题下的模态框 */
body.star-theme .import-modal-content {
    background: linear-gradient(135deg, #2a1f3a 0%, #1a1a2e 100%);
    border: 2px solid #6a6aaa;
}

body.star-theme .import-modal-header,
body.star-theme .import-modal-footer {
    border-color: #6a6aaa;
}

body.star-theme .import-modal-header h3 {
    color: #e0e0ff;
}

body.star-theme .import-preview {
    background: rgba(255, 255, 255, 0.05);
    border-color: #6a6aaa;
}
