 /* 在原有样式基础上添加少量新样式 */
.alert {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    display: none;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loading {
    text-align: center;
    padding: 10px;
    color: #6c757d;
    display: none;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 5px;
}

.refresh-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
}

.refresh-btn:hover {
    background: #5a6268;
}

.message-item {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.message-header {
    margin-bottom: 5px;
}

.message-name {
    font-weight: bold;
    color: #333;
}

.message-date {
    color: #777;
    font-size: 0.9em;
}

.message-content {
    color: #555;
    line-height: 1.4;
}
