/* 自定义滚动条 - 适配深色模式 */
#imageWindow::-webkit-scrollbar {
    width: 6px;
}
#imageWindow::-webkit-scrollbar-track {
    background: transparent;
}
#imageWindow::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
#imageWindow::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* 模型选择栏下拉选项样式 */
#modelSelect option {
    background-color: #1e293b;
    color: white;
}

#modelSelect optgroup{
    background-color: #0f172a;
    color: white;
}

#modelSelect {
    background-color: rgba(255, 255, 255, 0.03);
}

/* 消息动画 */
.message-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 玻璃拟态通用样式 */
.glass-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 图片卡片样式 */
.image-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.image-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
}
.image-card img {
    width: 100%;
    display: block;
    cursor: pointer;
}

/* 图片卡片底部信息栏 */
.image-card-footer {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 用户提示词气泡（复用 AIChat 的 user-bubble） */
.user-bubble {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.6), rgba(67, 56, 202, 0.7)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 加载脉冲动画 */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 20px 10px rgba(99, 102, 241, 0.1); }
}

/* 下载按钮 */
.download-btn {
    color: #818cf8;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    transition: color 0.2s;
}
.download-btn:hover {
    color: #a5b4fc;
}

/* ==================== 积分确认弹窗相关 ==================== */

/* 费用提示条动画 */
#costHint {
    transition: all 0.3s ease;
}

/* 弹窗按钮悬停效果 */
#pointsConfirmBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4) !important;
    transition: all 0.2s ease;
}

#pointsCancelBtn:hover {
    color: #94a3b8 !important;
}

/* 系统消息条 */
.message-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

/* 清除按钮呼吸提示动画 */
@keyframes pulseHint {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0 12px 4px rgba(239, 68, 68, 0.15); }
}
.animate-pulse-hint {
    animation: pulseHint 2s ease-in-out infinite;
}

