@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Exo+2:wght@300;400;500&display=swap');

:root {
    /* 霓虹色系 */
    --neon-blue: #00f3ff;
    --neon-cyan: #00fff0;
    --neon-green: #00ff9d;
    --neon-pink: #ff00ff;
    --neon-purple: #9d00ff;
    --neon-red: #ff0055;
    --neon-yellow: #ffff00;
    
    /* 深色背景 */
    --bg-dark: #0a0a14;
    --bg-darker: #05050a;
    --bg-card: rgba(10, 10, 20, 0.8);
    
    /* 字体 */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Exo 2', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--bg-darker);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.cyberpunk-bg {
    position: relative;
    min-height: 100vh;
    background: var(--bg-dark);
}

/* 网格背景 */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* 扫描线效果 */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--neon-cyan), 
        var(--neon-blue), 
        var(--neon-cyan), 
        transparent);
    animation: scan 3s linear infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.cyberpunk-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
.cyberpunk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
}

.logo {
    position: relative;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
}

.neon-text {
    color: var(--neon-cyan);
    text-shadow: 
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 30px var(--neon-blue);
    animation: neon-pulse 2s infinite alternate;
}

@keyframes neon-pulse {
    from {
        text-shadow: 
            0 0 10px var(--neon-blue),
            0 0 20px var(--neon-blue),
            0 0 30px var(--neon-blue);
    }
    to {
        text-shadow: 
            0 0 15px var(--neon-cyan),
            0 0 25px var(--neon-cyan),
            0 0 35px var(--neon-cyan);
    }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
}

.header-search {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 400px;
    margin: 0 40px;
}

.search-box {
    position: relative;
    flex: 1;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neon-blue);
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.search-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 5px;
    animation: border-glow 2s infinite linear;
    pointer-events: none;
}

@keyframes border-glow {
    0%, 100% { border-color: var(--neon-blue); }
    50% { border-color: var(--neon-cyan); }
}

.user-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.user-info:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-cyan);
}

.user-nickname {
    color: var(--neon-cyan);
    font-weight: 500;
}

.dropdown-icon {
    color: var(--neon-blue);
    transition: transform 0.3s;
}

.user-info:hover .dropdown-icon {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
}

.user-info:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: rgba(0, 243, 255, 0.2);
    color: var(--neon-cyan);
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

/* 按钮样式 */
.cyberpunk-btn {
    position: relative;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
}

.cyberpunk-btn:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.3);
}

.cyberpunk-btn:active {
    transform: translateY(0);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s;
}

.cyberpunk-btn:hover .btn-glow {
    left: 100%;
}

.cyberpunk-btn.small {
    padding: 8px 16px;
    font-size: 12px;
}

.cyberpunk-btn.outline {
    background: transparent;
    border-color: var(--neon-pink);
    color: var(--neon-pink);
}

.cyberpunk-btn.outline:hover {
    background: rgba(255, 0, 255, 0.1);
    border-color: var(--neon-pink);
}

/* 底部导航 */
.cyberpunk-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--neon-blue);
    border-radius: 10px;
    padding: 5px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 15px 30px;
    color: #aaa;
    text-decoration: none;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s;
    min-width: 100px;
}

.nav-item:hover {
    color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.1);
}

.nav-item.active {
    color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.2);
}

.nav-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(0, 243, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-item.active .nav-glow {
    opacity: 1;
    animation: nav-glow-pulse 2s infinite;
}

@keyframes nav-glow-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.nav-item i {
    font-size: 20px;
}

.nav-item span {
    font-size: 12px;
    font-weight: 500;
}

/* 主要内容区域 */
.main-content {
    margin-bottom: 100px;
}

.welcome-section {
    margin-bottom: 40px;
}

.welcome-card {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, 
        rgba(0, 243, 255, 0.1), 
        rgba(157, 0, 255, 0.1));
    border: 1px solid var(--neon-blue);
    border-radius: 15px;
    overflow: hidden;
}

.welcome-title {
    font-family: var(--font-heading);
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.neon-title {
    color: var(--neon-cyan);
    text-shadow: 
        0 0 10px var(--neon-blue),
        0 0 20px rgba(0, 243, 255, 0.5);
}

.welcome-text {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.hologram {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(0, 243, 255, 0.2) 50%, 
        transparent 70%);
    filter: blur(20px);
    animation: hologram-rotate 10s infinite linear;
}

@keyframes hologram-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 笔记网格 */
.notes-section {
    margin-top: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 24px;
}

.section-controls {
    display: flex;
    gap: 10px;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.note-card {
    background: var(--bg-card);
    border: 1px solid var(--neon-blue);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.note-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 
        0 10px 20px rgba(0, 243, 255, 0.2),
        inset 0 0 20px rgba(0, 243, 255, 0.1);
}

.note-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.5s;
}

.note-card:hover:before {
    left: 100%;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.note-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--neon-cyan);
    margin: 0;
    flex: 1;
}

.note-date {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

.note-content {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.note-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.note-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 243, 255, 0.2);
    border: 1px solid var(--neon-blue);
    border-radius: 20px;
    font-size: 12px;
    color: var(--neon-cyan);
}

.note-actions {
    display: flex;
    gap: 10px;
}

.action-icon {
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 14px;
}

.action-icon:hover {
    color: var(--neon-cyan);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 64px;
    color: rgba(0, 243, 255, 0.3);
    margin-bottom: 20px;
}

.empty-state p {
    color: #888;
    font-size: 16px;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.cyberpunk-modal {
    background: var(--bg-card);
    border: 2px solid var(--neon-purple);
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 
        0 0 50px rgba(157, 0, 255, 0.3),
        inset 0 0 20px rgba(157, 0, 255, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(157, 0, 255, 0.3);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--neon-cyan);
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--neon-pink);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    margin-bottom: 25px;
}

.modal-body p {
    color: #ddd;
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* 返回按钮 */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.back-btn:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-cyan);
    transform: translateX(-5px);
}

/* 隐藏类 */
.hidden {
    display: none !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cyberpunk-header {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }
    
    .header-search {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin: 20px 0 0 0;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .welcome-title {
        font-size: 28px;
    }
    
    .welcome-card {
        padding: 20px;
    }
    
    .editor-container {
        flex-direction: column;
    }
    
    .editor-left,
    .editor-right {
        width: 100%;
    }
    
    .cyberpunk-nav {
        width: 90%;
    }
    
    .nav-item {
        padding: 10px 15px;
        min-width: auto;
    }
    
    .notes-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .auth-card {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .notes-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .cyberpunk-nav {
        width: 95%;
    }
    
    .nav-item span {
        font-size: 10px;
    }
    
    .logo-text {
        font-size: 24px;
    }
}

/* 工具类 */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-center {
    text-align: center;
}

.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.ml-10 { margin-left: 10px; }
.mr-10 { margin-right: 10px; }

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-blue);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* 复选框样式 */
.form-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-blue);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin-right: 8px;
}

.form-checkbox:checked {
    background: var(--neon-blue);
}

.form-checkbox:checked:after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
}

.form-check-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--neon-cyan);
    font-size: 14px;
}

/* 警告框 */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(0, 255, 150, 0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.alert-warning {
    background: rgba(255, 170, 0, 0.1);
    border-color: #ffaa00;
    color: #ffaa00;
}

.alert-error {
    background: rgba(255, 85, 85, 0.1);
    border-color: #ff5555;
    color: #ff5555;
}

.alert-info {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-cyan);
}

/* 卡片悬停效果 */
.hover-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradient-flow 3s ease-in-out infinite;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 状态指示器 */
.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-online {
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

.status-offline {
    background: #888;
}

.status-busy {
    background: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red);
}

/* 进度条 */
.progress-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--neon-cyan);
    font-size: 14px;
}

.progress-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s;
}

.auto-save-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-left: 12px;
}
.auto-save-toggle input[type="checkbox"] {
  transform: scale(1.1);
}
/* 收藏图标高亮样式 */
.note-actions .fa-star.action-icon {
  color: var(--neon-blue); /* 默认灰色/蓝色 */
  cursor: pointer;
  transition: color 0.2s ease;
}

.note-actions .fa-star.action-icon.active {
  color: var(--neon-pink); /* 收藏后变为粉色 */
}

.pagination-container {
  margin-top: 24px;
}
/* Quill 编辑器样式适配 */
#editor-container {
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.7);
}

.ql-toolbar.ql-snow {
    border: none;
    border-bottom: 1px solid var(--neon-blue);
    background: rgba(0, 0, 0, 0.5);
}

.ql-container.ql-snow {
    border: none;
    background: transparent;
}

.ql-editor {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--neon-cyan);
    min-height: 300px;
}

.ql-editor.ql-blank::before {
    color: rgba(0, 243, 255, 0.5);
    font-style: italic;
}

/* 工具栏按钮样式 */
.ql-snow .ql-stroke {
    stroke: var(--neon-cyan);
}

.ql-snow .ql-fill {
    fill: var(--neon-cyan);
}

.ql-snow .ql-picker-label {
    color: var(--neon-cyan);
}

.ql-snow .ql-picker-options {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--neon-blue);
}

.ql-snow .ql-picker-item {
    color: var(--neon-cyan);
}

.ql-snow .ql-picker-item:hover {
    color: var(--neon-pink);
}
/* 导出相关样式 */
.export-section {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
}

.cyberpunk-select {
    width: 100%;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    color: var(--neon-cyan);
    font-size: 16px;
    margin: 10px 0;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300ffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    cursor: pointer;
}

.cyberpunk-select:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 128, 0.3);
}

.cyberpunk-select option {
    background: #000;
    color: #fff;
    padding: 10px;
}

.export-preview {
    margin: 20px 0;
    animation: fadeIn 0.3s ease-in-out;
}

.preview-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-green);
    border-radius: 8px;
    padding: 20px;
}

.preview-card h4 {
    color: var(--neon-green);
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-card h4 i {
    font-size: 18px;
}

.preview-content p {
    margin: 10px 0;
    color: #ddd;
}

.preview-content ul {
    margin: 10px 0;
    padding-left: 20px;
    color: #ccc;
}

.preview-content li {
    margin: 5px 0;
}

.permission-info {
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    animation: fadeIn 0.3s ease-in-out;
}

.info-message {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 5px;
}

.info-message i {
    font-size: 24px;
    flex-shrink: 0;
}

.info-message.warning {
    background: rgba(255, 100, 0, 0.1);
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
}

.info-message.success {
    background: rgba(0, 255, 128, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 添加到现有的style标签中 */
.admin-pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.page-btn {
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    color: var(--neon-cyan);
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover:not(.disabled) {
    background: var(--neon-blue);
    color: #000;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    color: #aaa;
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cyberpunk-modal {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--neon-purple);
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--neon-purple);
}

.modal-header h3 {
    color: var(--neon-cyan);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 24px;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--neon-purple);
    text-align: right;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: var(--neon-cyan);
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.user-actions {
    margin-top: 10px;
}

.edit-user-btn {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--neon-green);
    border-radius: 5px;
    color: var(--neon-green);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
}

.edit-user-btn:hover {
    background: var(--neon-green);
    color: #000;
}
/* 升级套餐样式 */
.upgrade-options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.upgrade-option {
    padding: 15px;
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}
.upgrade-option h4 {
    margin: 0 0 10px 0;
    color: var(--neon-cyan);
}