/**
 * MaterialUseNew 组件样式
 * 左右布局：左侧创作设置+聊天历史，右侧编辑/预览切换
 * @author: dxb
 * @date: 2026-03-14
 */

/* ==================== 整体布局 ==================== */
.GX_material_use_container {
    display: flex;
    height: 100%;
    background: #f5f5f5;
}

/* 左侧区域 - 自适应宽度 */
.GX_left_panel {
    flex: 1;
    min-width: 320px;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: 10px;
}

/* 右侧区域 - 固定宽度400px */
.GX_right_panel {
    width: 450px;
    min-width: 450px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

/* ==================== 左侧区域样式 ==================== */
.GX_left_section {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.GX_left_section.GX_chat_section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.GX_section_title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.GX_section_title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: #1890ff;
    border-radius: 2px;
}

.GX_section_subtitle {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin-top: 10px;
    margin-bottom: 6px;
}

/* 素材信息区域 */
.GX_material_info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.GX_material_title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.GX_material_content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    max-height: 100px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 6px;
}

/* 图片样式使用老文件 material-use-new.css 中的样式 */
.GX_material_images .imgs-url {
    overflow: hidden;
    padding-top: 10px;
}

.GX_material_images .imgs-url .imgs2 {
    overflow: hidden;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
    width: 85px;
    text-align: center;
    vertical-align: middle;
}

.GX_material_images .imgs-url .imgs2 .us-img {
    width: 100%;
    height: 85px;
    object-fit: cover;
}

.GX_material_images .imgs-url .imgs2 .us-video {
    width: 100%;
    height: 85px;
    object-fit: cover;
}

.GX_material_images .play {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    cursor: pointer;
    border-radius: 8px;
    text-align: center;
    background: rgba(0, 0, 0, 0.1) none repeat scroll 0 0 !important;
    filter: Alpha(opacity=0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.GX_material_images .play img {
    width: 35px !important;
    text-align: center !important;
}

.GX_material_images .us-choose-icon {
    overflow: hidden;
    margin-top: 5px;
    margin-left: 10px;
    height: 22px;
    text-align: left;
    z-index: 2;
    position: relative;
}

.GX_material_images .us-choose-icon img {
    width: 20px;
}

/* 左侧图片区域按钮容器 */
.GX_material_images .GX_image_action_btns {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e0e0e0;
}

.GX_material_images .GX_action_btn_item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}

.GX_material_images .GX_action_btn_item:hover {
    opacity: 0.8;
}

/* 创作类型选择 */
.GX_create_type_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.GX_type_btn {
    padding: 5px 12px;
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.GX_type_btn:hover {
    background: #e8e8e8;
}

.GX_type_btn.active {
    background: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

/* 创作要求区域 */
.GX_requirement_wrap {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    align-items: center;
}

/* 创作要求输入框 */
.GX_requirement_input {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
    color: #333;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
    height: 36px;
    box-sizing: border-box;
}

.GX_requirement_input:focus {
    border-color: #1890ff;
    background: #fff;
}

.GX_requirement_input::placeholder {
    color: #999;
}

/* 立即改写按钮 */
.GX_rewrite_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(24, 144, 255, 0.3);
    white-space: nowrap;
    height: 36px;
    box-sizing: border-box;
}

.GX_rewrite_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.GX_rewrite_btn:active {
    transform: translateY(0);
}

.GX_rewrite_btn .icon {
    font-size: 14px;
}

/* 创作记录聊天区域 - 参考对话布局，头像都在左边 */
.GX_chat_history {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

/* ==================== 消息列表 - 左右布局 ==================== */

/* 居中时间提示 - 参考对话中的 time-tishi */
.GX_time_tishi {
    text-align: center;
    overflow: hidden;
}

.GX_time_tishi span {
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    color: #888;
    line-height: 19px;
    display: inline-block;
}

.GX_message_item {
    overflow: hidden;
    margin: 15px 0;
    box-sizing: border-box;
}

/* 头像区域 */
.GX_message_headpic {
    width: 40px;
    text-align: left;
    float: left;
}

.GX_message_headpic img {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    margin-top: 2px;
}

/* 用户消息：头像在右 */
.GX_message_item.user .GX_message_headpic {
    float: right;
    text-align: right;
}

/* 主内容区域 */
.GX_message_main {
    overflow: hidden;
    position: relative;
}

/* AI消息：内容在左，留出头像空间 */
.GX_message_item.ai .GX_message_main {
    margin-left: 50px;
    margin-right: 0;
}

/* 用户消息：内容在右，留出头像空间 */
.GX_message_item.user .GX_message_main {
    margin-right: 50px;
    margin-left: 0;
}

/* 消息头部 */
.GX_message_header {
    line-height: 25px;
    color: #777;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.GX_message_item.ai .GX_message_header {
    text-align: left;
}

.GX_message_item.user .GX_message_header {
    text-align: right;
}

.GX_message_name {
    display: inline;
    color: #ffba00;
    font-size: 12px;
}

.GX_message_time {
    color: #999;
    font-size: 11px;
    margin-left: 5px;
}

/* 消息内容区域 */
.GX_message_cont {
    border-radius: 8px;
    position: relative;
    display: inline-block;
    text-align: left;
    max-width: 100%;
}

.GX_message_item.ai .GX_message_cont {
    background: #f5f5f5;
}

.GX_message_item.user .GX_message_cont {
    background: #dee7f4;
    float: right;
}

.GX_message_text {
    font-size: 15px;
    color: #333;
    word-break: break-all;
    /* white-space: pre-wrap; */
    padding: 10px 14px;
    border-radius: 8px;
    display: inline-block;
    line-height: 20px;
}

/* 消息底部 */
.GX_message_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    font-size: 11px;
    color: #999;
    clear: both;
}

.GX_message_item.ai .GX_message_footer {
    margin-left: 50px;
    text-align: left;
}

.GX_message_item.user .GX_message_footer {
    margin-right: 50px;
    text-align: right;
    flex-direction: row-reverse;
}

.GX_message_count {
    font-size: 11px;
    color: #999;
}

.GX_message_actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.GX_msg_action {
    cursor: pointer;
    transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.GX_msg_action:hover {
    opacity: 0.7;
}

.GX_message_actions .GX_msg_action img,
.GX_message_actions .GX_action_copy img,
.GX_message_actions .GX_action_use img {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    display: block !important;
    object-fit: contain;
}

/* 旧的聊天项样式 - 保留兼容性 */
.GX_chat_tip {
    text-align: center;
    color: #999;
    font-size: 13px;
    padding: 20px 0;
}

.GX_chat_item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.GX_chat_item:hover {
    background: #e6f7ff;
    border-color: #1890ff;
}

.GX_chat_item.active {
    background: #e6f7ff;
    border-color: #1890ff;
}

.GX_chat_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.GX_chat_type {
    font-size: 12px;
    color: #1890ff;
    background: rgba(24, 144, 255, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

.GX_chat_time {
    font-size: 11px;
    color: #999;
}

.GX_chat_content {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.GX_chat_actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.GX_chat_action {
    font-size: 13px;
    color: #1890ff;
    cursor: pointer;
}

.GX_chat_action:hover {
    text-decoration: underline;
}

/* ==================== 右侧顶部切换标签 ==================== */
.GX_tab_header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    gap: 0;
}

.GX_tab_btn {
    padding: 8px 40px;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s;
}

.GX_tab_btn:first-child {
    border-radius: 20px 0 0 20px;
    border-right: none;
}

.GX_tab_btn:last-child {
    border-radius: 0 20px 20px 0;
    border-left: none;
}

.GX_tab_btn:hover {
    background: #e8e8e8;
}

.GX_tab_btn.active {
    background: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

/* ==================== 编辑面板 ==================== */
.GX_edit_panel {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.GX_edit_form {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.GX_form_item {
    margin-bottom: 20px;
}

.GX_form_item:last-child {
    margin-bottom: 0;
}

.GX_form_label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.GX_form_input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s;
}

.GX_form_input:focus {
    border-color: #1890ff;
    background: #fff;
}

.GX_form_textarea_wrap {
    position: relative;
}

.GX_form_textarea {
    width: 100%;
    padding: 12px;
    padding-right: 40px;
    font-size: 14px;
    color: #333;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    resize: vertical;
    transition: all 0.3s;
    font-family: inherit;
    line-height: 1.6;
}

.GX_form_textarea:focus {
    border-color: #1890ff;
    background: #fff;
}

.GX_emoji_btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.GX_emoji_btn:hover {
    background: #f5f5f5;
    border-color: #1890ff;
}

/* 图片选择区域 - 使用老文件样式 */
.GX_image_select_wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.GX_image_list .imgs-url {
    overflow: hidden;
    padding-top: 10px;
}

.GX_image_list .imgs-url .imgs2 {
    overflow: hidden;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
    width: 85px;
    text-align: center;
    vertical-align: middle;
}

.GX_image_list .imgs-url .imgs2 .us-img {
    max-width: 100%;
    max-height: 85px;
    height: auto;
}

.GX_image_list .imgs-url .imgs2 .us-video {
    max-width: 100%;
}

.GX_image_list .play {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    cursor: pointer;
    border-radius: 8px;
    text-align: center;
    background: rgba(0, 0, 0, 0.1) none repeat scroll 0 0 !important;
    filter: Alpha(opacity=0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.GX_image_list .play img {
    width: 35px !important;
    text-align: center !important;
}

.GX_image_list .us-choose-icon {
    overflow: hidden;
    margin-top: 5px;
    margin-left: 10px;
    height: 22px;
    text-align: left;
    z-index: 2;
    position: relative;
}

.GX_image_list .us-choose-icon img {
    width: 20px;
}

/* 图片选择区域按钮 */
.GX_image_tool_btn_wrap {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.GX_image_tool_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 13px;
    color: #1890ff;
    background: rgba(24, 144, 255, 0.1);
    border: 1px solid #1890ff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
}

.GX_image_tool_btn:hover {
    background: #1890ff;
    color: #fff;
}

.GX_image_tool_btn.GX_card_btn {
    color: #52c41a;
    background: rgba(82, 196, 26, 0.1);
    border-color: #52c41a;
}

.GX_image_tool_btn.GX_card_btn:hover {
    background: #52c41a;
    color: #fff;
}
/* 右侧编辑面板图片正方形显示 */
.GX_edit_panel .GX_image_list .imgs2 {
    width: 68px !important;
    height: 68px !important;
}

.GX_edit_panel .GX_image_list .imgs2 .us-img,
.GX_edit_panel .GX_image_list .imgs2 .us-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: none !important;
    max-height: none !important;
}

.GX_edit_panel .GX_image_list .us-choose-icon {
    position: absolute;
    bottom: 2px;
    right: 2px;
    margin: 0;
    z-index: 10;
}

.GX_edit_panel .GX_image_list .us-choose-icon img {
    width: 18px;
    height: 18px;
}

/* 上传按钮对齐 */
.GX_edit_panel .GX_image_list #us-uploader-imgs2-edit {
    display: flex;
    align-items: center;
    justify-content: center;
}

.GX_edit_panel .GX_image_list #us-uploader-imgs2-edit .img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.GX_edit_panel .GX_image_list #us-uploader-imgs2-edit .uploader {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== 右侧图片预览区域 ==================== */
.GX_image_preview_wrap {
    border: 1px dashed #d9d9d9;
    border-radius: 8px;
    padding: 10px;
    background: #fafafa;
    min-height: 90px;
}

.GX_image_preview_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.GX_preview_empty {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    color: #999;
    font-size: 14px;
}

.GX_preview_item {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.GX_preview_item .GX_preview_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.GX_preview_item .GX_preview_play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.GX_preview_item .GX_preview_play img {
    width: 30px;
    height: 30px;
}

/* ==================== 预览面板 ==================== */
.GX_preview_panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    background: #f0f2f5;
}

.GX_preview_placeholder {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 14px;
}

/* 手机外壳 */
.GX_phone_frame {
    width: 320px;
    height: 640px;
    background: #fff;
    border-radius: 35px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    position: relative;
    border: 10px solid #1a1a1a;
}

/* 手机顶部状态栏 */
.GX_phone_status_bar {
    height: 44px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.GX_phone_time {
    font-size: 15px;
}

.GX_phone_status_icons {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

/* 小红书内容区域 - 仿照真实小红书笔记布局 */
.GX_xhs_content {
    height: calc(100% - 44px);
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
}

/* 顶部导航栏 */
.GX_xhs_navbar {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.GX_xhs_navbar_back {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    cursor: pointer;
}

.GX_xhs_navbar_user {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.GX_xhs_navbar_avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    overflow: hidden;
}

.GX_xhs_navbar_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.GX_xhs_navbar_nickname {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.GX_xhs_follow_btn {
    padding: 4px 12px;
    font-size: 12px;
    color: #ff2442;
    border: 1px solid #ff2442;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    margin-right: 10px;
}

.GX_xhs_navbar_share {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    cursor: pointer;
}

/* 可滚动内容区域 */
.GX_xhs_scroll_content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 图片轮播区域 */
.GX_xhs_image_carousel {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
}

.GX_xhs_carousel_track {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}

.GX_xhs_carousel_item {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.GX_xhs_carousel_item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 400px;
}

/* 轮播指示器 */
.GX_xhs_carousel_dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.GX_xhs_dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.GX_xhs_dot.active {
    background: #ff2442;
    width: 12px;
    border-radius: 3px;
}

/* 小红书正文 */
.GX_xhs_body {
    padding: 15px;
    background: #fff;
}

.GX_xhs_title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
}

.GX_xhs_text {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

.GX_xhs_text .emoji {
    font-size: 16px;
}

.GX_xhs_tags {
    margin-top: 12px;
}

.GX_xhs_tag {
    display: inline-block;
    font-size: 13px;
    color: #576b95;
    margin-right: 10px;
    cursor: pointer;
}

/* 底部操作栏 */
.GX_xhs_footer {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.GX_xhs_footer_input {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 11px;
    color: #999;
    margin-right: 10px;
}

.GX_xhs_footer_actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.GX_xhs_footer_item {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

.GX_xhs_action_icon {
    width: 20px;
    height: 20px;
}

/* ==================== 底部操作按钮 ==================== */
.GX_bottom_actions {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.GX_action_btn {
    padding: 6px 14px;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-family: inherit;
}

.GX_action_btn.primary {
    color: #fff;
    background: #1890ff;
}

.GX_action_btn.primary:hover {
    background: #40a9ff;
}

.GX_action_btn.default {
    color: #666;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.GX_action_btn.default:hover {
    background: #e8e8e8;
}

.GX_action_btn.success {
    color: #fff;
    background: #52c41a;
}

.GX_action_btn.success:hover {
    background: #73d13d;
}

.GX_action_btn.warning {
    color: #fff;
    background: #fa8c16;
}

.GX_action_btn.warning:hover {
    background: #ffa940;
}

/* 禁用状态 */
.GX_rewrite_btn.GX_disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ==================== 隐藏/显示控制 ==================== */
.GX_hidden {
    display: none !important;
}

.GX_flex {
    display: flex !important;
}

/* ==================== 滚动条样式 ==================== */
.GX_left_panel::-webkit-scrollbar,
.GX_edit_panel::-webkit-scrollbar,
.GX_chat_history::-webkit-scrollbar,
.GX_xhs_content::-webkit-scrollbar {
    width: 6px;
}

.GX_left_panel::-webkit-scrollbar-track,
.GX_edit_panel::-webkit-scrollbar-track,
.GX_chat_history::-webkit-scrollbar-track,
.GX_xhs_content::-webkit-scrollbar-track {
    background: transparent;
}

.GX_left_panel::-webkit-scrollbar-thumb,
.GX_edit_panel::-webkit-scrollbar-thumb,
.GX_chat_history::-webkit-scrollbar-thumb,
.GX_xhs_content::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
}

.GX_left_panel::-webkit-scrollbar-thumb:hover,
.GX_edit_panel::-webkit-scrollbar-thumb:hover,
.GX_chat_history::-webkit-scrollbar-thumb:hover,
.GX_xhs_content::-webkit-scrollbar-thumb:hover {
    background: #bfbfbf;
}
/*图片上传*/
.img-wrap{
	overflow:hidden;
	margin-top:25px;
}
.img-wrap .show-imgs{
	float:left;
	overflow:hidden;
}
.img-wrap .uploader{
	border: none;
	border-radius: 4px;
	height: 68px;
	width: 68px;
	float:left;
	margin-bottom:10px;
}
.img-wrap .uploader .uploader-plus{
	background-color: #f6f8f9;
	height: 100%;
	width: 100%;
	text-align:center;
}
.img-wrap .uploader .uploader-plus img{
	width:28px;
	margin-top:20px;
}
.img-wrap .item{
	border-radius: 8px;
	flex-shrink: 0;
	height: 68px;
	width: 68px;
	margin-right:10px;
	margin-bottom:10px;
	float:left;
	position: relative;
	display: inline-block;
}
.img-wrap .item img{
	width:100%;
	max-height:100%;
	border-radius: 4px;
	cursor:pointer;
}
.img-wrap .remove{
	position:absolute;
	width:27px;
	height:27px;
	top: 0px;
    right: 0px;
	z-index:100;
	cursor:pointer;
}
.img-wrap .remove img{
	width:27px;
}
.img-wrap .play{
	position:absolute;
	width:100%;
	height:100%;
	top: 0px;
	bottom:0px;
	left:0px;
    right: 0px;
	z-index:99;
	cursor:pointer;
	border-radius: 8px;
	text-align:center;
	background:rgba(0, 0, 0, 0.1) none repeat scroll 0 0 !important;
	filter:Alpha(opacity=0); 
	background:#fff;
}
.img-wrap .play img{
	width:30px;
	text-align:center;
	margin-top:19px;
}
.img-wrap{
    margin-top: 0px !important;
}