/* 基础样式 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.rich_media_wrp {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.rich_media_title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

.rich_media_meta_list {
    margin-bottom: 20px;
}

.developer-note {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.developer-note-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.developer-icon {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.developer-title {
    font-weight: bold;
    font-size: 16px;
}

.developer-content {
    font-size: 14px;
}

.layui-btn-container {
    text-align: center;
    margin: 15px 0;
}

.layui-btn {
    display: inline-block;
    height: 38px;
    line-height: 38px;
    padding: 0 18px;
    background-color: #1E9FFF;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
}

.layui-btn-normal {
    background-color: #1E9FFF;
}

.layui-btn-radius {
    border-radius: 20px;
}

/* 步骤卡片样式 */
.step-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
}

.search-keywords {
    margin-top: 10px;
}

.keyword-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.keyword-btn {
    padding: 8px 12px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.keyword-btn:hover {
    background: #e9e9e9;
}

.example-image {
    width: 100%;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.final-step {
    background: linear-gradient(135deg, #43cea2, #185a9d);
    color: white;
    padding: 15px;
    border-radius: 8px;
}

.final-step-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.highlight {
    font-weight: bold;
    color: #ffeb3b;
}

/* 悬浮按钮样式 */
.mini-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-radius: 50px;
    padding: 10px 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-btn-content {
    display: flex;
    align-items: center;
    gap: 5px;
}

.monitor-icon, .arrow-icon {
    display: flex;
    align-items: center;
}

.ai-text {
    font-size: 14px;
    font-weight: bold;
}

/* 复制提示样式 */
#copy-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s;
}

#copy-popup.show {
    opacity: 1;
}

.STYLE1 {
    color: #ff0000;
    font-weight: bold;
}

.STYLE2 {
    color: #007bff;
    font-weight: bold;
}

.STYLE13 {
    color: #ff5722;
}

.STYLE14 {
    display: block;
    text-align: center;
    margin: 10px 0;
}

.warning-text {
    font-weight: bold;
}

.color_font {
    color: #ed00fd;
}

.fade {
    animation: fade 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

.chat-message {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
}

.message-bubble {
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
}

.ai-message {
    align-items: flex-start;
}

.ai-message .message-bubble {
    background: #e6e6e6;
    border-top-left-radius: 4px;
}

.user-message {
    align-items: flex-end;
}

.user-message .message-bubble {
    background: #1798fc;
    color: white;
    border-top-right-radius: 4px;
}

.message-sender {
    font-size: 12px;
    margin-bottom: 5px;
    color: #666;
}