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

/* Markdown样式 */
.markdown-content {
}

.markdown-intro {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.markdown-tips {
    margin-bottom: 20px;
    border-radius: 4px;
}

.tip-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.tip-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.tip-item h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
    font-weight: bold;
}

.tip-item pre {
    margin: 0;
    padding: 10px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}



html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
}

/* 主色调定义 */
:root {
    --primary-color: #2AAE67;
    --primary-hover: #259659;
    --primary-light: rgba(42, 174, 103, 0.1);
    --secondary-color: #f8f9fa;
    --secondary-light: #f0f2f5;
    --text-color: #303133;
    --text-regular: #606266;
    --text-light: #909399;
    --text-placeholder: #c0c4cc;
    --border-color: #e4e7ed;
    --border-light: #f0f2f5;
    --white: #ffffff;
    --success-color: #67C23A;
    --warning-color: #E6A23C;
    --danger-color: #F56C6C;
    --info-color: #909399;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-base: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
    
    --border-radius: 6px;
    --border-radius-sm: 4px;
    --border-radius-lg: 8px;
    
    --transition-base: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    
    --font-size-xs: 12px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-xxl: 20px;
    
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-base: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-xxl: 24px;
}

/* 统一文本字体大小层次 */
body {
    font-size: var(--font-size-base);
    color: var(--text-color);
}


.small-text {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.xsmall-text {
    font-size: var(--font-size-xs);
    color: var(--text-placeholder);
}

/* 按钮基础样式 */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

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

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

.btn-login {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-login:hover {
    background-color: var(--secondary-color);
}

.btn-register {
    background-color: var(--primary-color);
    color: var(--white);
    margin-left: 10px;
}

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

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    width: 100%;
    padding: 10px;
    margin-top: 20px;
}

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

.btn-vip {
    background:linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: var(--white);
    width: 100%;
    padding: 12px 16px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(245, 108, 108, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-vip::before {
    content: '';
    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 ease;
    z-index: -1;
}

.btn-vip:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #ff5252 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 108, 108, 0.4);
}

.btn-vip:hover::before {
    left: 100%;
}

.btn-vip:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(245, 108, 108, 0.3);
}

/* 顶部导航栏样式 */
.header {
    width: 100%;
    height: 48px;
    background-color: var(--white);
    box-shadow: var(--shadow-base);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-content {
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
}

.logo i {
    font-size: 20px;
    margin-right: 8px;
}

.logo > div:first-of-type {
    display: flex;
    align-items: center;
    line-height: 48px;
}

.logo-text {
    font-size: x-large;
}

.logo .subtitle {
    font-size: 14px;
    color: var(--text-light);
    font-weight: normal;
    margin-top: 6px;
    padding-left: 10px;
}

.nav-menu {
    margin-left: auto;
    margin-right: 20px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.user-actions {
    display: flex;
    align-items: center;
}

/* 用户头像样式 */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 用户信息包装器 */
.user-info-wrapper {
    position: relative;
    display: inline-block;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.user-info:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* 用户下拉菜单 */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    width: 220px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

/* 下拉菜单显示状态 */
.user-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* 下拉菜单项 */
.dropdown-item {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* 下拉菜单标签和值 */
.dropdown-label {
    color: #666;
    font-weight: 500;
}

.dropdown-value {
    color: #333;
    font-weight: 600;
}

/* 下拉菜单分隔线 */
.dropdown-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 4px 0;
}

/* 退出按钮样式 */
.dropdown-logout {
    color: #dc3545;
    font-weight: 600;
    justify-content: center;
}

.dropdown-logout:hover {
    background-color: #f8d7da;
}

/* 主要内容区域样式 */
.main-content {
    flex: 1;
    display: flex;
    margin-top: 48px;
    height: calc(100vh - 48px);
    position: relative;
    overflow: hidden;
}

/* 左侧面板样式 */
.left-panel {
    width: 25%;
    background-color: var(--white);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 垂直Tab样式 */
.vertical-tabs {
    display: flex;
    height: 100%;
}

.tab-buttons {
    width: 80px;
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
}

.tab-buttons span{
    font-size: 14px;
    color:#333;
}

.tab-buttons .fa{
    font-size: 20px;
}

.tab-btn {
    padding: 24px 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: rgba(42, 174, 103, 0.1);
    color: var(--primary-color);
}

.tab-btn.active {
    background-color: var(--white);
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
    font-weight: bold;
}

.tab-contents {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 16px;
}
.column-options{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-base);
}
/* 图片排版选项样式 */
.layout-options,
.border-options {
    margin-bottom: var(--spacing-xxl);
}

.grid-col {
    border: 1px solid var(--border-color);
    background-color: var(--white);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    padding: var(--spacing-base);
    text-align: center;
    position: relative;
}

.grid-col:hover {
    border-color: var(--primary-color);
}

.grid-col.active {
    border-color: var(--primary-color);
    background-color: rgba(42, 174, 103, 0.05);
}

.grid-preview {
    display: flex;
    gap: 3px;
    padding: 8px;
    border-radius: 4px;
    background-color: #f8f9fa;
    margin-bottom: 5px;
}

.grid-item {
    flex: 1;
    height: 20px;
    background-color: var(--border-color);
    border-radius: var(--border-radius-sm);
}

.grid-item.small {
    height: 16px;
}

.grid-item.tiny {
    height: 12px;
}

.grid-col span {
    display: block;
}

.option-group {
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-base);
}

.option-group button{
    padding: 10px;
    border: 1px solid #999;
    border-radius: var(--border-radius-sm);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-group button:hover{
    background-color: var(--primary-color);
    color: var(--white);
}

.option-group label {
    cursor: pointer;
    font-size: 14px;
}
.import-group{
    display: flex;
    flex-direction: row;
    gap:10px;
    align-items: center;
}
#custom-confirm{
    width: 100px;
    flex-shrink: 0;
}
.import-group input{
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #999;
    border-radius: var(--border-radius-sm);
    flex: 1;
    min-width: 0;
}
.input-box::placeholder {
  color: #999;
  transition: color 0.3s ease; /* 添加入场/退场过渡 */
}
.input-box:hover::placeholder {
  color: transparent;
}

#border-color {
    width: 50px;
    height: 30px;
    border: none;
    cursor: pointer;
}

/* 统一标题样式 */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

h1 {
    font-size: var(--font-size-xxl);
    margin-bottom: var(--spacing-xl);
}

h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-base);
}

h4 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-sm);
}

/* 样式列表样式 */
.style-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-base);
}

.style-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

/* 样式列表收藏按钮样式 */
.style-favorite {
    position: absolute;
    bottom: 0;
    right: 0;
    border: none;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    background: white;
    color: #ffa8a8;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    /* 默认隐藏 */
    opacity: 0;
    visibility: hidden;
}

/* 鼠标移入样式项时显示收藏按钮 */
.style-item:hover .style-favorite {
    opacity: 1;
    visibility: visible;
}

.style-favorite::before {
    content: '\f005';
    font-family: 'FontAwesome';
}

.style-favorite:hover {
    background: var(--danger-color);
    color: white;
    transform: scale(1.1);
}

.style-favorite.favorited {
    background: var(--danger-color);
    color: white;
}

/* 模板列表样式 - 两列布局 */
.template-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

/* 模板项样式 - 固定高度260px */
.template-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    height: 260px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 模板项VIP样式 */
.template-item.vip {
    border-color: var(--warning-color);
    position: relative;
}

.template-item.vip::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    border-color: transparent var(--warning-color) transparent transparent;
}

.vip-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #FAC643;
    color: #fff;
    font-size: 10px;
    padding: 0 4px;
    border-radius: var(--border-radius-sm);
    z-index: 1;
    transform-origin: top right;
    text-align: center;
}

/* 模板遮罩层 */
.template-item .template-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

/* 鼠标移入时显示遮罩层 */
.template-item:hover .template-overlay {
    opacity: 1;
    visibility: visible;
}

/* 按钮组样式 - 竖向排列 */
.overlay-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

/* 遮罩层按钮样式 */
.overlay-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 70px;
    text-align: center;
    position: relative;
    z-index: 20;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.overlay-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 预览按钮 */
.preview-btn {
    background-color: #17a2b8;
    color: white;
}

.preview-btn:hover {
    background-color: #138496;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.3);
}

/* 使用按钮 */
.use-btn {
    background-color: var(--primary-color);
    color: white;
}

.use-btn:hover {
    background-color: var(--primary-hover, #0b5ed7);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* 收藏按钮样式 */
.favorite-btn {
    background-color: #dedede;
    color: #999;
}

.favorite-btn:hover {
    background-color: #ff7381;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* 添加按钮图标 */
.preview-btn::before {
    content: "👁️";
    margin-right: 5px;
}

.use-btn::before {
    content: "✏️";
    margin-right: 5px;
}

.favorite-btn::before {
    content: '\f005';
    font-family: 'FontAwesome';
}

.style-item:hover, 
.template-item:hover {
    box-shadow: var(--shadow-base);
    border-color: var(--primary-color);
}

.style-item.vip {
    border-color: var(--warning-color);
}

/* 中间编辑器面板样式 */
.editor-panel {
    width: 60%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    height: 100%;
}

#editor-container {
    flex: 1;
    position: relative;
    min-height: 0;
    overflow: hidden;
}

/* 编辑器内容区域设置500px宽度并居中 */
#edui1_iframeholder {
    width: 500px !important;
    margin: 0 auto !important;
    max-width: 100%;
}

/* 确保编辑器iframe内容也保持500px宽度 */
#edui1_iframeholder iframe {
    width: 500px !important;
    margin: 0 auto !important;
}

/* 确保工具栏保持100%宽度 */
#edui1_toolbarbox {
    width: 100% !important;
    max-width: 100% !important;
}

/* UEditor编辑器样式调整 */
#editor {
    height: 100% !important;
    width: 100% !important;
}

/* 为UEditor内容区域添加滚动条 */
.edui-editor {
    height: 100% !important;
    overflow: hidden;
}

.edui-editor-iframeholder {
    overflow: auto !important;
}

/* 自定义滚动条样式 - 宽度6px */
/* Chrome, Safari, Edge */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

/* 确保编辑器内部滚动条也应用样式 */
.edui-editor-iframeholder::-webkit-scrollbar,
.edui-editor-iframeholder iframe::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* 右侧面板样式 */
.right-panel {
    width: 15%;
    background-color: var(--white);
    border-left: 1px solid var(--border-color);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
    overflow-y: auto;
}

.hot-articles h3,
.editor-tools h3 {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
}

.article-list {
    list-style: none;
}

.article-list li {
    margin-bottom: 10px;
}

.article-list a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: color 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-list a:hover {
    color: var(--primary-color);
}

.vip-benefits {
    background: linear-gradient(135deg, #fffcf0 0%, #fff3de 100%);
    
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 108, 108, 0.1);
}

.vip-benefits:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(245, 108, 108, 0.15);
}

.vip-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(245, 108, 108, 0.1) 0%, rgba(245, 108, 108, 0.05) 100%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    z-index: 0;
    animation: pulseBg 4s infinite ease-in-out;
}

.vip-benefits h3 {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.vip-benefits h3 i {
    color: #f5a623;
    font-size: 20px;
}

.benefits-list {
    list-style: none;
    position: relative;
    z-index: 1;
}

.benefits-list li {
    margin-bottom: 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    transition: transform 0.2s ease;
    position: relative;
    padding-left: 5px;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.benefits-list li:nth-child(1) { animation-delay: 0.1s; }
.benefits-list li:nth-child(2) { animation-delay: 0.2s; }
.benefits-list li:nth-child(3) { animation-delay: 0.3s; }
.benefits-list li:nth-child(4) { animation-delay: 0.4s; }

.benefits-list li:hover {
    transform: translateX(3px);
}

.benefits-list li:hover i {
    animation: pulseIcon 1s ease-in-out;
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background-color: #27ae60;
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.benefits-list li:hover::before {
    width: 5px;
}

.benefits-list i {
    color: #27ae60;
    font-size: 16px;
    flex-shrink: 0;
    animation: floatIcon 3s infinite ease-in-out;
}

/* 动画定义 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseBg {
    0%, 100% {
        opacity: 0.7;
        transform: translate(50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(50%, -50%) scale(1.1);
    }
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.tools-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-base);
}

.tool-btn {
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    background-color: var(--white);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.tool-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 底部样式 */
.footer {
    height: 20px;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.footer-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 12px;
    color: var(--text-light);
}

.contact a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: var(--primary-color);
}

/* 装饰效果样式 */
.border-options h3 {
    font-size: var(--font-size-lg);
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.border-options .option-group {
    margin-bottom: var(--spacing-lg);
}

.border-options .option-group label {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: var(--text-color);
    font-weight: 500;
}

/* 边框样式选项 */
.border-style-options {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.border-style-btn {
    border: 2px solid var(--primary-color);
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
}

.border-style-btn:hover {
    transform: scale(1.05);
}

.border-style-btn.active {
    background-color: var(--primary-light);
}

.border-style-btn[data-style="solid"] {
    border-style: solid;
}

.border-style-btn[data-style="dashed"] {
    border-style: dashed;
}

.border-style-btn[data-style="dotted"] {
    border-style: dotted;
}

.border-style-btn[data-style="double"] {
    border-style: double;
}

.border-style-btn[data-style="none"] {
    border-color: transparent;
}

/* 边框颜色选择器 */
#border-color {
    width: 100%;
    margin-top: var(--spacing-sm);
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

/* 边框宽度设置 */
#border-width {
    width: 70%;
    margin-right: var(--spacing-base);
    margin-top: var(--spacing-sm);
    cursor: pointer;
}

#border-width-value {
    font-size: var(--font-size-sm);
    color: var(--text-regular);
    vertical-align: middle;
}

/* 圆角选项 */
.border-radius-options {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.border-radius-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
}

.border-radius-btn:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.border-radius-btn.active {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
}

.border-radius-btn[data-radius="0"] {
    border-radius: 0;
}

.border-radius-btn[data-radius="2"] {
    border-radius: 2px;
}

.border-radius-btn[data-radius="5"] {
    border-radius: 5px;
}

.border-radius-btn[data-radius="10"] {
    border-radius: 10px;
}

.border-radius-btn[data-radius="50"] {
    border-radius: 50%;
}

/* 自定义提示组件样式 */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 24px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 不同类型的提示样式 */
.notification-info {
    background-color: #1890ff;
}

.notification-success {
    background-color: #52c41a;
}

.notification-error {
    background-color: #f5222d;
}

.notification-warning {
    background-color: #faad14;
}

/* 显示动画 */
.notification-show {
    opacity: 1;
}

/* 隐藏动画 */
.notification-hide {
    opacity: 0;
}

/* 弹窗基础样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 900px;
    overflow: hidden;
}

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

/* Modal布局样式 */
.modal-layout {
    display: flex;
    min-height: 400px;
}

/* 左侧会员权益侧边栏 */
.modal-sidebar {
    width: 260px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: #fff;
    padding: 20px;
    border-right: 1px solid #e0e0e0;
}

/* 右侧主内容区域 */
.modal-main {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .modal-layout {
        flex-direction: column;
    }
    
    .modal-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .modal-content {
        max-width: 95%;
    }
}

.modal-header h2 {
    font-size: 20px;
    color: var(--text-color);
}

.close-modal {
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

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

.modal-body {
    padding: 20px;
}

/* 登录/注册表单样式 */
.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.auth-tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.auth-tab-btn:hover {
    color: var(--primary-color);
}

.auth-tab-btn.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    font-weight: bold;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease;
}

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

/* 会员套餐样式 */
.vip-packages {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xl);
}

.package-item {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
    position: relative;
}

.package-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.package-item.recommended {
    border-color: var(--primary-color);
    background-color: rgba(42, 174, 103, 0.05);
}

.package-item.recommended::before {
    content: '推荐';
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.package-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.package-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.package-price span {
    font-size: 14px;
    font-weight: normal;
    color: var(--text-light);
}

.package-features ul {
    list-style: none;
    margin-bottom: 20px;
}

.package-features li {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
}

.package-features i {
    color: var(--primary-color);
}

.btn-select-package {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-select-package:hover {
    background-color: var(--primary-hover);
}

/* 微信支付弹窗样式 */
.payment-info {
    margin-bottom: 20px;
}

.payment-info p {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-color);
}

.payment-info span {
    font-weight: bold;
    color: var(--primary-color);
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.qr-code {
    border: 1px solid var(--border-color);
    padding: 10px;
    margin-bottom: 10px;
}

.payment-status {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: var(--secondary-color);
    border-radius: 4px;
}

.payment-status-text {
    font-size: 14px;
    color: var(--text-color);
}

.payment-actions {
    display: flex;
    gap: 10px;
}

.btn-cancel-payment {
    flex: 1;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-cancel-payment:hover {
    background-color: var(--secondary-color);
}

.btn-confirm-payment {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-confirm-payment:hover {
    background-color: var(--primary-hover);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .left-panel {
        width: 30%;
    }
    
    .editor-panel {
        width: 55%;
    }
    
    .right-panel {
        width: 15%;
    }
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .left-panel,
    .editor-panel,
    .right-panel {
        width: 100%;
    }
    
    .left-panel {
        height: auto;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-content {
        padding: 0 10px;
    }
}