/* 复用社区页面的样式 */
:root {
    --primary: #2c7be5;
    --primary-dark: #1a68d1;
    --secondary: #6c757d;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #00d97e;
    --danger: #e63757;
    --warning: #f6c343;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-success:hover {
    background-color: #00c571;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

/* 返回按钮样式 - 与问题详情页保持一致 */
.back-btn {
    margin-bottom: 25px;
    display: inline-block;
}

/* 导航栏样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.user-menu {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
}

.login-actions {
    display: flex;
    gap: 10px;
}

.user-info-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

#navUsername {
    font-weight: 500;
    color: var(--dark);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: transparent;
    color: var(--secondary);
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.logout-btn:hover {
    background-color: #f8f9fa;
    border-color: var(--secondary);
    color: var(--dark);
}

/* 页面标题区域样式 */
.page-header {
    background: linear-gradient(135deg, #2c7be5 0%, #1a68d1 100%);
    color: white;
    padding: 40px 0;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
}

.breadcrumb span {
    margin: 0 8px;
}

.section {
    padding: 40px 0;
}

.post-detail-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.post-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.community-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.card-header h2 {
    font-size: 1.3rem;
    color: var(--dark);
}

/* 帖子内容样式 */
.post-content {
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
}

.post-content pre {
    background-color: #f6f8fa;
    border-radius: 6px;
    padding: 16px;
    overflow-x: auto;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
}

.post-content code {
    background-color: #f6f8fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 16px;
    margin: 15px 0;
    color: var(--secondary);
    font-style: italic;
}

.post-content ul, .post-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.post-content li {
    margin-bottom: 5px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.post-author-info h4 {
    margin-bottom: 3px;
}

.post-author-info span {
    font-size: 0.85rem;
    color: var(--secondary);
}

.post-stats {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary);
}

.post-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.post-action {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.post-action:hover {
    background-color: #e9ecef;
}

.post-action.liked {
    background-color: #ffe6e6;
    color: var(--danger);
}

.post-action.liked i {
    color: var(--danger);
}

/* 评论区域样式 */
.comments-section {
    margin-top: 30px;
}

.comment-form {
    margin-bottom: 30px;
}

/* 富文本编辑器样式 */
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 4px;
}

.toolbar-group {
    display: flex;
    gap: 4px;
    position: relative;
}

.editor-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark);
    transition: all 0.2s;
}

.editor-btn:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

/* 修改：富文本编辑框固定宽度和高度，内容长时显示纵向滚动条 */
.editor-content {
    min-height: 150px;
    max-height: 300px;
    height: 200px;
    width: 100%;
    max-width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    line-height: 1.6;
    background-color: white;
    overflow-y: auto; /* 纵向滚动条 */
    overflow-x: hidden; /* 隐藏横向滚动条 */
    resize: none; /* 禁止调整大小 */
    box-sizing: border-box; /* 重要：确保padding和border包含在宽度内 */
    word-wrap: break-word; /* 英文单词换行 */
    word-break: break-word; /* 中文换行 */
}

/* 确保编辑器内部所有元素都遵守容器宽度限制 */
.editor-content * {
    max-width: 100%;
}

/* 特别处理图片，确保不超出编辑器边界 */
.editor-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    margin: 8px 0;
    display: block;
}

/* 处理代码块，确保代码可以换行 */
.editor-content pre {
    max-width: 100%;
    white-space: pre-wrap;
    word-break: break-all;
    background-color: #f6f8fa;
    border-radius: 6px;
    padding: 12px;
    overflow-x: auto;
    margin: 8px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* 处理表格 */
.editor-content table {
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.editor-content td,
.editor-content th {
    word-break: break-word;
    padding: 8px;
    border: 1px solid #ddd;
}

/* 处理长链接 */
.editor-content a {
    word-break: break-all;
}

.editor-content:focus {
    outline: none;
    border-color: var(--primary);
}

.editor-content[contenteditable=true]:empty:before {
    content: attr(placeholder);
    color: #999;
    cursor: text;
}

/* 颜色选择器 - 修改为绝对定位，固定在工具栏组内 */
.color-picker {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2001;
    max-width: 250px;
    margin-top: 5px;
}

.color-picker.active {
    display: block;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.color-item {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #eee;
}

.color-item:hover {
    transform: scale(1.1);
}

.custom-color-input {
    display: flex;
    gap: 8px;
}

.custom-color-input input {
    flex: 1;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
}

.custom-color-input button {
    padding: 6px 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

/* 修改：表情选择器只有纵向滚动条，没有横向滚动条 */
.emoji-picker {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2001;
    max-width: 350px;
    max-height: 220px;
    overflow-y: auto; /* 纵向滚动条 */
    overflow-x: hidden; /* 隐藏横向滚动条 */
    width: 320px; /* 固定宽度，避免内容变化导致宽度不一致 */
    margin-top: 5px;
}

.emoji-picker.active {
    display: grid;
    grid-template-columns: repeat(10, 1fr); /* 10列 */
    gap: 6px;
}

.emoji-item {
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.2s;
    width: 24px; /* 固定宽度 */
    height: 24px; /* 固定高度 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-item:hover {
    background-color: #f0f0f0;
}

/* 弹窗样式 - 防止页面滚动 */
.link-modal, .image-modal, .code-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.link-modal-content, .image-modal-content, .code-modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.link-modal-header, .image-modal-header, .code-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.link-modal-title, .image-modal-title, .code-modal-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.link-modal-close, .image-modal-close, .code-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

.link-modal-footer, .image-modal-footer, .code-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.comment-list {
    list-style: none;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 600;
}

.comment-time {
    color: var(--secondary);
    font-size: 0.85rem;
}

.comment-floor {
    background-color: #f0f2f5;
    color: #8a8f99;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.comment-text {
    line-height: 1.6;
}

.comment-text img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 8px 0;
}

.comment-text pre {
    background-color: #f6f8fa;
    border-radius: 6px;
    padding: 12px;
    overflow-x: auto;
    margin: 8px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.comment-text code {
    background-color: #f6f8fa;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.comment-text blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 12px;
    margin: 8px 0;
    color: var(--secondary);
    font-style: italic;
}

.comment-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.comment-action {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.2s;
}

.comment-action:hover {
    color: var(--primary);
}

/* 相关帖子 */
.related-posts-list {
    list-style: none;
}

.related-post-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.related-post-item:last-child {
    border-bottom: none;
}

.related-post-content {
    flex: 1;
}

.related-post-title {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    color: var(--dark);
}

.related-post-title:hover {
    color: var(--primary);
}

.related-post-meta {
    display: flex;
    font-size: 0.8rem;
    color: var(--secondary);
}

.related-post-meta span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.related-post-meta i {
    margin-right: 3px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination a:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.pagination .current {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* 文件上传输入框 */
.file-input {
    display: none;
}

/* 消息提示 */
.alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--secondary);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ddd;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-but {
    text-align: center;
}

.form-but .btn {
    margin: 0 10px;
}

.form-switch {
    text-align: center;
    margin-top: 15px;
}

.form-switch a {
    color: var(--primary);
    cursor: pointer;
}

.form-switch a:hover {
    text-decoration: underline;
}

/* 图片预览样式 */
.image-preview {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    background-color: #f8f9fa;
}

.image-info {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    text-align: center;
}

.text-muted {
    color: #6c757d !important;
    font-size: 0.8rem;
}

/* 页脚样式 */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 0.9rem;
}

/* 回复编辑器的表情选择器样式 */
.reply-emoji-picker {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2001;
    margin-top: 5px;
    max-width: 350px;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 320px;
}

.reply-emoji-picker.active {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
}

.reply-emoji-item {
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.2s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reply-emoji-item:hover {
    background-color: #f0f0f0;
}

/* 回复表单样式 */
.reply-form {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.reply-form.active {
    display: block;
}

/* 回复项分隔线样式 */
.comment-replies .reply-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
}

.comment-replies .reply-item:last-child {
    border-bottom: none;
}

/* 防止页面滚动 - 当弹窗打开时 */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* 响应式设计 */
/* 大屏幕设备 */
@media (min-width: 1200px) {
    .editor-content {
        width: 100%;
        max-width: 100%;
    }
}

/* 中等屏幕设备 */
@media (max-width: 1199px) and (min-width: 992px) {
    .post-detail-content {
        grid-template-columns: 1fr 280px;
    }

    .editor-content {
        width: 100%;
        max-width: 100%;
    }
}

/* 平板设备 */
@media (max-width: 991px) {
    .post-detail-content {
        grid-template-columns: 1fr;
    }

    .post-sidebar {
        order: -1;
    }

    .editor-content {
        width: 100%;
        max-width: 100%;
    }
}

/* 手机设备 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 0;
    }

    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 0 10px;
    }

    .user-info-display {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .logout-btn {
        margin-top: 5px;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .post-stats {
        margin-left: 0;
    }

    .post-actions {
        flex-wrap: wrap;
    }

    .comment-item {
        flex-direction: column;
    }

    .comment-avatar {
        align-self: flex-start;
    }

    .editor-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toolbar-group {
        flex-wrap: wrap;
    }

    .emoji-picker.active {
        grid-template-columns: repeat(6, 1fr);
    }

    .editor-content {
        width: 100%;
        max-width: 100%;
    }
}

/* 小手机设备 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .community-card {
        padding: 20px 15px;
    }

    .editor-content {
        width: 100%;
        max-width: 100%;
        padding: 12px;
    }

    .editor-toolbar {
        padding: 8px;
    }

    .editor-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}