/* 管理后台样式 */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --success-color: #4cc9f0;
    --danger-color: #f72585;
    --warning-color: #f8961e;
    --info-color: #4895ef;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --sidebar-bg: #1e1e2d;
    --sidebar-text: #a0a0c0;
    --sidebar-hover: #2d2d44;
    --header-bg: #ffffff;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --gradient-start: #0f0c29;
    --gradient-middle: #302b63;
    --gradient-end: #24243e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
}

body {
    background-color: #f0f0f0;
    height: 100vh;
    overflow: hidden;
}



.admin-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* 登录页面样式 */
.login-body {
    background-color: #f5f5f5;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 顶部LOGO */
.login-logo-top {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-logo-top a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.login-logo-top .logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.login-logo-top .logo-text {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.login-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 粒子效果 */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 10px;
    height: 10px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 15px;
    height: 15px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 8px;
    height: 8px;
    top: 30%;
    left: 70%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 12px;
    height: 12px;
    top: 80%;
    left: 20%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 6px;
    height: 6px;
    top: 40%;
    left: 40%;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    width: 14px;
    height: 14px;
    top: 70%;
    left: 60%;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    width: 9px;
    height: 9px;
    top: 10%;
    left: 30%;
    animation-delay: 6s;
}

.particle:nth-child(8) {
    width: 11px;
    height: 11px;
    top: 50%;
    left: 90%;
    animation-delay: 7s;
}

.particle:nth-child(9) {
    width: 7px;
    height: 7px;
    top: 90%;
    left: 50%;
    animation-delay: 8s;
}

.particle:nth-child(10) {
    width: 13px;
    height: 13px;
    top: 25%;
    left: 5%;
    animation-delay: 9s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translate(20px, 20px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(-20px, -20px) scale(1.2);
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
}

/* 登录卡片 */
.login-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid #e0e0e0;
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.login-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.login-header .logo .logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.login-header .logo h1 {
    color: #333333;
    font-size: 28px;
    margin: 0;
    font-weight: 700;
}

.login-header .subtitle {
    color: #666666;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

/* 输入组 */
.input-group {
    margin-bottom: 25px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    color: #333333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.input-wrapper input::placeholder {
    color: #999999;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 18px;
}

/* 表单选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    color: #666666;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-container input {
    margin-right: 8px;
    accent-color: var(--primary-color);
}

/* 登录按钮 */
.login-button {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.4);
}

.login-button:active {
    transform: translateY(-1px);
}

.button-icon {
    transition: transform 0.3s ease;
}

.login-button:hover .button-icon {
    transform: translateX(5px);
}

/* 其他登录方式 */
/* .other-login-methods {
    margin-top: 30px;
    text-align: center;
}

.divider {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 20px;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 42%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 42%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
} */

/* 登录页脚 */
.login-footer {
    text-align: center;
    margin-top: 30px;
}

.login-footer p {
    color: #999999;
    font-size: 13px;
    margin: 0;
}

/* 警告框 */
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.alert-danger {
    background: #fff5f7;
    border: 1px solid #f8a5c2;
    color: #d63384;
}

.alert-success {
    background: #f0fff4;
    border: 1px solid #90ee90;
    color: #2e8b57;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: fadeIn 0.3s ease;
}

.alert-success i {
    font-size: 18px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 删除确认模态框 */
.delete-confirm-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.delete-confirm-content {
    background-color: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.delete-confirm-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delete-confirm-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
}

.delete-confirm-header h3 i {
    color: #ff6b6b;
    margin-right: 10px;
}

.delete-confirm-body {
    padding: 20px;
    text-align: center;
}

.delete-confirm-body p {
    margin: 0 0 20px 0;
    line-height: 1.6;
    color: #555;
}

.delete-confirm-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-confirm {
    background-color: #ff6b6b;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-confirm:hover {
    background-color: #ff5252;
}

.btn-cancel {
    background-color: #e0e0e0;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-cancel:hover {
    background-color: #d0d0d0;
}

/* 响应式设计 */
@media (max-width: 576px) {
    .login-card {
        padding: 30px 20px;
        margin: 0 15px;
        max-width: none;
    }
    
    .login-header .logo h1 {
        font-size: 24px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .social-login {
        gap: 10px;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* 侧边栏样式 */
.sidebar {
    width: 80px;
    background: #e0e0e0;
    color: #333;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    align-items: center;
    padding-top: 20px;
}

.logo {
    padding: 0;
    border-bottom: 1px solid #ccc;
    text-align: center;
    width: 100%;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo h2 {
    color: #333;
    font-size: 18px;
    margin: 5px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.logo p {
    font-size: 14px;
    color: #555;
    margin: 5px 0 10px 0;
    font-weight: 500;
}

.menu ul {
    list-style: none;
    padding: 20px 0;
}

.menu ul li {
    margin-bottom: 5px;
}

.menu ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    transition: var(--transition);
    font-size: 20px;
    border-left: 3px solid transparent;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin: 10px 0;
}

.menu ul li a:hover,
.menu ul li a.active {
    background: #d0d0d0;
    color: #000;
    border-left: 3px solid var(--primary-color);
}

.menu ul li a i {
    width: auto;
    text-align: center;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px 0;
    border-top: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    font-size: 32px;
    color: #ffffff;
}

.user-details .username {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.user-details .role {
    color: var(--sidebar-text);
    font-size: 13px;
    margin: 0;
}

.account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    padding: 15px 0;
    border-radius: 10px;
    transition: var(--transition);
    font-size: 20px;
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.account-btn:hover {
    background: #d0d0d0;
    color: #000;
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    padding: 15px 0;
    border-radius: 10px;
    transition: var(--transition);
    font-size: 20px;
    width: 50px;
    height: 50px;
}

.logout-btn:hover {
    background: #d0d0d0;
    color: #000;
}

/* 主内容区 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 0;
    margin-top: 0;
}



/* 内容区域 */
.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

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

.page-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 操作栏 */
.actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.filters select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    font-size: 14px;
}

/* 数据表格 */
.data-table-container {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* 操作按钮样式 */
.btn-action {
    display: inline-block;
    margin-right: 5px;
}

.btn-action:last-child {
    margin-right: 0;
}

/* 确保操作列中的按钮水平排列 */
.data-table td:last-child {
    white-space: nowrap;
}

/* 描述和内容列样式 */
.data-table td:nth-child(4),
.data-table td:nth-child(3) {
    white-space: pre-wrap;
    max-width: 300px;
    word-wrap: break-word;
}

.content-cell {
    white-space: pre-wrap;
    max-width: 300px;
    word-wrap: break-word;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: #f8f9fa;
}

.data-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 14px;
}

.data-table tbody tr:hover {
    background: #f8f9fa;
}

.btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #e9ecef;
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #dee2e6;
    transform: translateY(-2px);
}

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

.btn-danger:hover {
    background: #d1146a;
    transform: translateY(-2px);
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--text-primary);
}

.close {
    font-size: 28px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.modal-body {
    padding: 25px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}

/* 新闻预览样式 */
.news-preview {
    max-height: 400px;
    overflow-y: auto;
    border: 2px solid #4361ee !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.2) !important;
}

.news-preview h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #4361ee;
    padding-bottom: 10px;
    font-size: 1.4rem;
}

.news-preview-content {
    margin-top: 15px;
}

.news-preview-content h4 {
    color: #4361ee;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.news-preview-content p {
    line-height: 1.6;
    color: #495057;
    white-space: pre-wrap;
    font-size: 1rem;
}

.news-preview-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 内容区域切换 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .sidebar {
        width: 70px;
    }
    
    .logo h2 span,
    .logo p,
    .menu ul li a span,
    .user-details,
    .logout-btn span {
        display: none;
    }
    
    .logo h2 {
        justify-content: center;
    }
    
    .menu ul li a {
        justify-content: center;
        padding: 15px;
    }
    
    .sidebar-footer {
        padding: 15px 10px;
    }
    
    .user-info {
        justify-content: center;
    }
    
    .avatar {
        font-size: 24px;
    }
    
    .logout-btn {
        justify-content: center;
        padding: 10px;
    }
    
    .search-bar {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .logo {
        padding: 15px;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu ul {
        display: flex;
        padding: 0;
    }
    
    .menu ul li {
        margin: 0;
    }
    
    .menu ul li a {
        padding: 15px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .menu ul li a:hover,
    .menu ul li a.active {
        border-left: none;
        border-bottom: 3px solid var(--primary-color);
    }
    
    .sidebar-footer {
        display: none;
    }
    
    .topbar {
        padding: 15px;
    }
    
    .search-bar {
        width: 150px;
    }
    
    .content-area {
        padding: 15px;
    }
    
    .actions-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .modal-content {
        margin: 15px;
        max-width: calc(100% - 30px);
    }
}

@media (max-width: 576px) {
    .topbar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .search-bar {
        width: 100%;
    }
    
    .data-table {
        display: block;
        overflow-x: auto;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* 账户管理样式 */
.account-info {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.info-card {
    max-width: 500px;
}

.info-card h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

.info-item label {
    font-weight: bold;
    width: 120px;
    color: var(--text-secondary);
}

.info-item span {
    flex: 1;
    color: var(--text-primary);
}

#editAccountForm .form-group {
    margin-bottom: 20px;
}

#editAccountForm label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-secondary);
}

#editAccountForm input[type="text"],
#editAccountForm input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

#editAccountForm input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

/* 字符计数样式 */
.char-count {
    float: right;
    font-size: 0.8rem;
    color: #666;
}

.char-count.warning {
    color: #ff9800;
}

.char-count.error {
    color: #f44336;
}