.elementor-928 .elementor-element.elementor-element-e7a0e4d{--display:flex;}.elementor-928 .elementor-element.elementor-element-f020d03{--spacer-size:154px;}.elementor-928 .elementor-element.elementor-element-af472b4{z-index:1;}.elementor-928 .elementor-element.elementor-element-99dcb6a{--display:flex;}.elementor-928 .elementor-element.elementor-element-ee877c1{--display:flex;--position:fixed;--min-height:1440px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;top:0px;}.elementor-928 .elementor-element.elementor-element-ee877c1:not(.elementor-motion-effects-element-type-background), .elementor-928 .elementor-element.elementor-element-ee877c1 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background:url("https://vioneko.com/wp-content/uploads/Others/Snipaste_2025-05-06_19-29-53-1-scaled.png") 50% 50%;background-size:cover;}body:not(.rtl) .elementor-928 .elementor-element.elementor-element-ee877c1{left:0px;}body.rtl .elementor-928 .elementor-element.elementor-element-ee877c1{right:0px;}.elementor-928 .elementor-element.elementor-element-a976186{--spacer-size:22px;}.elementor-928 .elementor-element.elementor-element-8a06fd0{--display:flex;}@media(max-width:1024px){.elementor-928 .elementor-element.elementor-element-f020d03{--spacer-size:99px;}}@media(max-width:767px){.elementor-928 .elementor-element.elementor-element-f020d03{--spacer-size:78px;}.elementor-928 .elementor-element.elementor-element-99dcb6a{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-928 .elementor-element.elementor-element-a976186{--spacer-size:78px;}}/* Start custom CSS for html, class: .elementor-element-af472b4 *//* 留言板标题小部件样式 */
.guestbook-header-widget {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.guestbook-header-content {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.anime-character {
    flex-shrink: 0;
}

.character-gif {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    border: 3px solid rgba(107, 70, 193, 0.3);
    box-shadow: 
        0 8px 25px rgba(107, 70, 193, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.character-gif:hover {
    transform: scale(1.05) rotate(2deg);
}

.header-text {
    flex: 1;
}

.guestbook-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6b46c1, #805ad5, #d53f8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(107, 70, 193, 0.1);
}

.guestbook-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    font-style: italic;
    line-height: 1.5;
}

.header-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-star {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.decoration-star:nth-child(1) {
    top: 20px;
    right: 40px;
    animation-delay: 0s;
}

.decoration-star:nth-child(2) {
    top: 50%;
    right: 80px;
    animation-delay: 1s;
}

.decoration-star:nth-child(3) {
    bottom: 30px;
    right: 60px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .guestbook-header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .character-gif {
        width: 100px;
        height: 100px;
    }
    
    .guestbook-main-title {
        font-size: 2rem;
    }
    
    .guestbook-subtitle {
        font-size: 1rem;
    }
    
    .guestbook-form-container {
        padding: 25px 20px;
    }
    
    .vio-cat {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .guestbook-message-card {
        height: auto;
        min-height: 350px;
    }
    
    .formatting-tools {
        justify-content: center;
    }
    
    .che-miao-emotion {
        width: 55px;
        height: 55px;
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-e7a0e4d *//* ===== 登录表单专用样式 ===== */
.custom-community-form.custom-login-form {
    background: rgba(255, 255, 255, 0.98) !important;
    border-radius: 20px !important;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(120, 96, 214, 0.15);
    border: 2px solid #E6E8FF;
    position: relative;
    overflow: hidden;
    margin: 30px auto;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background-image: none !important;
}

.custom-login-form .cc-form-header {
    text-align: center;
    margin-bottom: 25px;
}

.custom-login-form .cc-login-title {
    color: #7860d6;
    font-size: 26px;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.9);
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.custom-login-form .cc-title-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #D6D8FF, transparent);
    margin: 12px 0 25px 0;
    border-bottom: 1px dashed #C6C8EF;
}

.custom-login-form .cc-login-description {
    color: #8888bb;
    font-style: italic;
    margin-bottom: 0;
    font-size: 14px;
}

.custom-login-form .cc-field-item {
    margin-bottom: 20px;
}

.custom-login-form .cc-label {
    color: #555588;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    position: relative;
    font-size: 14px;
}

.custom-login-form abbr.required {
    color: #ff3366 !important;
    text-decoration: none;
}

.custom-login-form .cc-input-text {
    background: #F8F9FF !important;
    border: 1px solid #8B8FDE !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    color: #330066;
    font-size: 14px;
    min-height: 52px;
}

.custom-login-form .cc-input-text:focus {
    border-color: #7860d6 !important;
    box-shadow: 0 0 0 3px rgba(120, 96, 214, 0.1) !important;
    outline: none;
}

/* 带图标的输入框 */
.custom-login-form .cc-input-with-icon {
    position: relative;
}

.custom-login-form .cc-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    z-index: 2;
}

.custom-login-form .cc-input-with-icon .cc-input-text {
    padding-left: 45px !important;
}

/* 登录选项 */
.custom-login-form .cc-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

/* 复选框样式 */
.custom-login-form .cc-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #555588;
}

.custom-login-form .cc-checkbox-label input[type="checkbox"] {
    display: none;
}

.custom-login-form .cc-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #8B8FDE;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.custom-login-form .cc-checkbox-label input[type="checkbox"]:checked + .cc-checkbox-custom {
    background: #8B8FDE;
    border-color: #8B8FDE;
}

.custom-login-form .cc-checkbox-label input[type="checkbox"]:checked + .cc-checkbox-custom::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 忘记密码链接 */
.custom-login-form .cc-lost-password {
    color: #7860d6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.custom-login-form .cc-lost-password:hover {
    color: #6750c4;
    text-decoration: underline;
}

/* 按钮样式 */
.custom-login-form .cc-btn {
    background: #8B8FDE !important;
    border: none !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 15px 35px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(139, 143, 222, 0.3) !important;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition-property: background-color, transform, box-shadow !important;
}

.custom-login-form .cc-btn:hover {
    background: #7860d6 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 96, 214, 0.4) !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.custom-login-form .cc-btn-primary {
    background: linear-gradient(135deg, #8B8FDE, #7860d6) !important;
    width: 100%;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.custom-login-form .cc-btn-primary:hover {
    background: linear-gradient(135deg, #7860d6, #6750c4) !important;
}

.custom-login-form .cc-login-btn {
    letter-spacing: 3px !important;
    font-weight: bold;
    font-size: 18px !important;
}

.custom-login-form .cc-button-container {
    text-align: center;
    margin: 30px 0 20px;
}

/* 登录页脚 */
.custom-login-form .cc-login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #E6E8FF;
}

.custom-login-form .cc-register-link a {
    color: #7860d6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.custom-login-form .cc-register-link a:hover {
    color: #6750c4;
    text-decoration: underline;
}

/* 消息样式 */
.custom-login-form .cc-form-message {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    display: none;
}

.custom-login-form .cc-form-message.success {
    background: #E8F5E8;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.custom-login-form .cc-form-message.error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .custom-login-form {
        padding: 25px;
        margin: 20px;
    }
    
    .custom-login-form .cc-login-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .custom-login-form {
        padding: 20px;
        margin: 10px;
    }
    
    .custom-login-form .cc-login-title {
        font-size: 22px;
    }
    
    .custom-login-form .cc-login-btn {
        font-size: 16px !important;
        letter-spacing: 2px !important;
    }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-9c92086 */.guestbook-wrapper {

    max-width: 100% !important;

    width: 100% !important;

}

/* 留言板样式 - 优化完善版 */
.guestbook-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

/* 控制栏 - 更透明的毛玻璃效果 */
.guestbook-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    border-radius: 16px;
    border: 1px solid rgba(107, 70, 193, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.sort-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sort-btn {
    background: rgba(107, 70, 193, 0.08);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 12px;
    padding: 10px 20px;
    color: #6b46c1;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-btn:hover {
    background: rgba(107, 70, 193, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.15);
}

.sort-btn.active {
    background: rgba(107, 70, 193, 0.2);
    border-color: rgba(107, 70, 193, 0.4);
}

/* 翻页信息 - 放在控制栏内 */
.pagination-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.page-input-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-input {
    width: 100px; /* 进一步加宽输入框 */
    height: 36px;
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 8px;
    padding: 0 12px;
    text-align: center;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.page-input:focus {
    outline: none;
    border-color: rgba(107, 70, 193, 0.4);
    box-shadow: 0 0 0 2px rgba(107, 70, 193, 0.1);
}

.page-go-btn {
    padding: 8px 16px;
    background: rgba(107, 70, 193, 0.1);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 8px;
    color: #6b46c1;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
}

.page-go-btn:hover {
    background: rgba(107, 70, 193, 0.15);
    transform: translateY(-1px);
}

/* 翻页容器 */
.pagination-wrapper {
    position: relative;
    width: 100%;
}

/* 留言卡片容器 */
.guestbook-messages-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    order: 1;
}

/* 平板端：3列 */
@media (max-width: 1200px) {
    .guestbook-messages-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 平板小屏幕：2列 */
@media (max-width: 900px) {
    .guestbook-messages-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机端：1列 */
@media (max-width: 768px) {
    .guestbook-messages-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .guestbook-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination-info {
        justify-content: center;
    }
}

/* 简约翻页按钮 - 无背景无边框，只有文字阴影 */
.page-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px; /* 增大按钮区域 */
    height: 60px;
    background: none !important;
    border: none !important;
    color: #6b46c1;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 32px; /* 增大箭头 */
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(107, 70, 193, 0.3); /* 文字阴影 */
}

.page-nav-btn:hover:not(.disabled) {
    color: #805ad5;
    transform: translateY(-50%) scale(1.2);
    text-shadow: 0 4px 12px rgba(107, 70, 193, 0.5);
}

.page-nav-btn.prev-btn {
    left: -70px; /* 调整到容器外侧 */
}

.page-nav-btn.next-btn {
    right: -70px; /* 调整到容器外侧 */
}

.page-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    color: #999;
}

.page-nav-btn.disabled:hover {
    transform: translateY(-50%) scale(1);
    text-shadow: 0 2px 8px rgba(107, 70, 193, 0.3);
}

/* 留言卡片样式 */
.guestbook-message-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.04);
    color: #333;
    height: 400px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid rgba(107, 70, 193, 0.1);
    overflow: hidden;
}

.guestbook-message-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.06);
}

/* 删除按钮定位在右上角 */
.guestbook-message-card .delete-message-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    padding: 6px 10px;
    font-size: 11px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guestbook-message-card .delete-message-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
}

.message-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(107, 70, 193, 0.1);
    padding-right: 60px;
}

.author-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(107, 70, 193, 0.2);
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.15);
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    font-size: 16px;
    color: #6b46c1;
    margin-bottom: 4px;
}

.message-location {
    font-size: 14px;
    color: #888;
    margin-bottom: 2px;
}

.message-date {
    font-size: 12px;
    color: #aaa;
}

/* 优化滚动区域布局 */
.message-scrollable-area {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
}

.message-content {
    line-height: 1.7;
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
}

/* 隐藏滚动条但保留功能 */
.message-scrollable-area::-webkit-scrollbar {
    width: 4px;
}

.message-scrollable-area::-webkit-scrollbar-track {
    background: rgba(107, 70, 193, 0.05);
    border-radius: 2px;
}

.message-scrollable-area::-webkit-scrollbar-thumb {
    background: rgba(107, 70, 193, 0.2);
    border-radius: 2px;
}

.message-scrollable-area::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 70, 193, 0.3);
}

/* 管理员回复样式 */
.admin-reply {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.05), rgba(107, 70, 193, 0.02));
    border-radius: 12px;
    padding: 18px;
    border-left: 4px solid #6b46c1;
    position: relative;
    margin-top: auto;
    padding-right: 50px;
}

.admin-reply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.03), transparent);
    border-radius: 12px;
    pointer-events: none;
}

/* 回复删除按钮定位 */
.admin-reply .delete-reply-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    padding: 4px 8px;
    font-size: 10px;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-reply .delete-reply-btn:hover {
    background: rgba(245, 158, 11, 0.2);
    transform: translateY(-1px);
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.reply-header img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid rgba(107, 70, 193, 0.3);
}

.reply-header span {
    font-weight: 600;
    color: #6b46c1;
    font-size: 14px;
}

.reply-content {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

/* 管理员操作按钮 */
.guestbook-admin-actions {
    margin-top: 20px;
    display: flex;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid rgba(107, 70, 193, 0.1);
    flex-wrap: wrap;
    align-items: center;
}

.edit-message-btn, .delete-message-btn, .delete-reply-btn, .submit-reply-btn, .cancel-reply-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.edit-message-btn {
    background: rgba(107, 70, 193, 0.1);
    color: #6b46c1;
    border: 1px solid rgba(107, 70, 193, 0.2);
}

.edit-message-btn:hover {
    background: rgba(107, 70, 193, 0.2);
    transform: translateY(-1px);
}

/* 隐藏回复按钮当回复表单展开时 */
.edit-message-btn.hidden {
    display: none !important;
}

.delete-message-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.delete-message-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
}

/* 删除回复按钮 */
.delete-reply-btn {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.delete-reply-btn:hover {
    background: rgba(245, 158, 11, 0.2);
    transform: translateY(-1px);
}

.submit-reply-btn {
    background: rgba(107, 70, 193, 0.8);
    color: white;
    border: 1px solid rgba(107, 70, 193, 0.3);
}

.submit-reply-btn:hover {
    background: rgba(107, 70, 193, 1);
    transform: translateY(-1px);
}

.cancel-reply-btn {
    background: rgba(107, 70, 193, 0.1);
    color: #6b46c1;
    border: 1px solid rgba(107, 70, 193, 0.2);
}

.cancel-reply-btn:hover {
    background: rgba(107, 70, 193, 0.2);
    transform: translateY(-1px);
}

/* 回复表单样式 */
.reply-form, .edit-reply-form {
    margin-top: 15px;
    padding: 0;
    width: 100%;
}

.reply-form textarea, .edit-reply-form textarea {
    width: 100%;
    min-height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(107, 70, 193, 0.15);
    border-radius: 12px;
    padding: 12px;
    color: #333;
    resize: vertical;
    font-size: 13px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.reply-form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    margin-top: 10px;
}

/* 为用户删除按钮添加特殊样式 */
.guestbook-admin-actions .delete-message-btn[name="delete_my_message"] {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.guestbook-admin-actions .delete-message-btn[name="delete_my_message"]:hover {
    background: rgba(59, 130, 246, 0.2);
}

/* 表单容器 */
.guestbook-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 35px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    order: 2;
    position: relative;
    overflow: hidden;
}

.guestbook-form-title {
    color: #6b46c1;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 24px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 表单元素样式 */
.form-group {
    margin-bottom: 20px;
}

.guestbook-form textarea {
    width: 100%;
    min-height: 140px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(107, 70, 193, 0.15);
    border-radius: 16px;
    padding: 18px;
    resize: vertical;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.guestbook-form textarea:focus {
    outline: none;
    border-color: rgba(107, 70, 193, 0.4);
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        inset 0 2px 8px rgba(107, 70, 193, 0.05),
        0 0 0 3px rgba(107, 70, 193, 0.1);
}

.guestbook-form input[type="text"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(107, 70, 193, 0.15);
    border-radius: 12px;
    padding: 14px 18px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.guestbook-form input[type="text"]:focus {
    outline: none;
    border-color: rgba(107, 70, 193, 0.4);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

/* 格式化工具 */
.formatting-tools {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.format-btn {
    background: rgba(107, 70, 193, 0.08);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 10px;
    padding: 8px 16px;
    color: #6b46c1;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
}

.format-btn:hover {
    background: rgba(107, 70, 193, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.15);
}

/* 表情包面板 */
.emotion-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(107, 70, 193, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.che-miao-emotions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.che-miao-emotion {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.che-miao-emotion:hover {
    transform: scale(1.15) rotate(5deg);
    border-color: rgba(107, 70, 193, 0.3);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.2);
}

/* 提交按钮 */
.guestbook-submit-btn {
    background: linear-gradient(135deg, #6b46c1, #805ad5);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 25px auto 0;
    box-shadow:
        0 4px 15px rgba(107, 70, 193, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.guestbook-submit-btn::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;
}

.guestbook-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(107, 70, 193, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.guestbook-submit-btn:hover::before {
    left: 100%;
}

/* 底部区域 */
.guestbook-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(107, 70, 193, 0.1);
}

.vio-cat {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(107, 70, 193, 0.03);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(107, 70, 193, 0.1);
    transition: all 0.3s ease;
}

.vio-avatar, .bai-tea-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(107, 70, 193, 0.2);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.15);
    flex-shrink: 0;
}

.vio-cat p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    flex: 1;
    font-style: italic;
}

/* 空状态 */
.no-messages {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-style: italic;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    border: 2px dashed rgba(107, 70, 193, 0.2);
}

/* 添加加载状态样式 */
.guestbook-messages-container.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading-placeholder {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    grid-column: 1 / -1;
}/* End custom CSS */