/* 消息中心样式 */
.sxpm-message-center {
    width: 750px;
    display: flex;
    max-width: 750px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sxpm-message-tabs {
    flex: 0 0 200px;
    border-right: 1px solid #e5e5e5;
    background: #f9f9f9;
    border-radius: 8px 0 0 8px;
}

.sxpm-message-tabs .sxpm-tab {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.sxpm-message-tabs .sxpm-tab.active {
    background: #fff;
    font-weight: bold;
    border-right: 3px solid #078786;
}

.sxpm-message-tabs .sxpm-tab:hover {
    background: #f0f0f0;
}
.sxpm-message-content {
    flex: 1;
    padding: 20px;
}


.sxpm-send-private h3 {
    color: #078786;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 16px;
}
.sxpm-send-private {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#user-suggestions {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    width: 300px;
}

.user-suggestion-item {
    padding: 8px;
    cursor: pointer;
}

.user-suggestion-item:hover {
    background: #f0f0f0;
}

.sxpm-send-btn {
    background: #078786;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.sxpm-send-btn:hover {
    background: #066;
}

.sxpm-message-list {
    overflow: visible !important;
    max-height: none !important;
}

.sxpm-message-item {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.sxpm-message-item.unread {
    background: #fff;
}

.message-actions {
    text-align: right;
}

.mark-read-btn,
.delete-btn {
    background: #f1f1f1;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 5px;
    font-size: 12px;
}

.mark-read-btn:hover {
    background: #e6f7ff;
}

.delete-btn:hover {
    background: #fff1f0;
    color: #ff4d4f;
}

.sxpm-no-messages {
    text-align: center;
    padding: 40px;
    color: #999;
}
.user-check-success {
    color: green;
    padding: 5px;
    background: #f0fff0;
    border: 1px solid green;
    border-radius: 3px;
}

.user-check-error {
    color: red;
    padding: 5px;
    background: #fff0f0;
    border: 1px solid red;
    border-radius: 3px;
}
/* 消息中心样式 - 与小红花交易保持一致 */

.valid {
    color: green;
    background-color: #f0fff0;
    border: 1px solid green;
    border-radius: 3px;
}

.invalid {
    color: red;
    background-color: #fff0f0;
    border: 1px solid red;
    border-radius: 3px;
}

/* 消息中心样式 - 与小红花交易保持一致 */
.sxpm-form-group {
    margin-bottom: 10px;
}

.sxpm-form-group label {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}


.check-result {
    margin-top: 5px;
    font-size: 12px;
    padding: 5px;
}

.checking {
    color: #666;
    font-style: italic;
}

.valid {
    color: green;
    background-color: #f0fff0;
    border: 1px solid green;
    border-radius: 3px;
}

.invalid {
    color: red;
    background-color: #fff0f0;
    border: 1px solid red;
    border-radius: 3px;
}

/* 消息项样式 */
.sxpm-message-item {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    font-weight: 400;
}
.sxpm-message-item .sent {
    color: #00a5db;
}
.sxpm-message-item .received {
    color: #078786;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 400;
    color: #999;
}

.message-content {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.message-actions {
    text-align: right;
}


.loading {
    display: inline-block;
    animation: pulse 1s infinite;
    color: #078786;
}

.message-direction {
    margin-bottom: 5px;
    color: #999;
}

.six-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-sizing: border-box;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    box-shadow: inset 0 1px 3px rgba(136, 136, 136, 0.05);
    resize: vertical;
    font-family: inherit;
  }

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
/* 响应式设计 */
@media (max-width: 768px) {
    .sxpm-message-center {
        flex-direction: column;
    }
    
    .sxpm-message-tabs {
        flex: none;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        display: flex;
        overflow-x: auto;
    }
    
    .sxpm-message-tabs .sxpm-tab {
        white-space: nowrap;
        border-bottom: none;
        border-right: 1px solid #e5e5e5;
    }
    
    .sxpm-message-tabs .sxpm-tab.active {
        border-right: none;
        border-bottom: 3px solid #078786;
    }
}

.sxpm-message-no {
    color:#999;
    font-size: 16px;
    text-align: center;
    margin: 30px;
    background-color: blue !important;
}