/* 留言墙样式 */

/* 留言墙容器 */
.message-wall-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

/* 留言列表 */
.message-list {
    background-color: transparent;
    border-radius: 4px;
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

/* 留言项 */
.message-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    position: relative;
}

.message-item:not(:last-child):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* 留言头部 */
.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.message-author {
    font-weight: bold;
    color: #ffffff;
}

.message-date {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.5);
}

/* 留言内容 */
.message-content {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* 留言表单容器 */
.message-form-container {
    background-color: transparent;
    border-radius: 4px;
    padding: 1.5rem;
}

.message-form-container h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

/* 空留言提示、加载中提示和错误提示 */
.message-empty-notice,
.message-loading-notice,
.message-error-notice {
    text-align: center;
    padding: 2rem 0;
}

.message-empty-notice {
    color: rgba(255, 255, 255, 0.5);
}

.message-loading-notice {
    color: rgba(100, 200, 255, 0.7);
}

.message-error-notice {
    color: rgba(255, 100, 100, 0.7);
    font-style: italic;
}

/* 滚动条样式 */
.message-list::-webkit-scrollbar {
    width: 8px;
}

.message-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.message-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.message-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}