/* 增强版加载弹窗样式 */
.loading-modal-progress {
    width: 80%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 15px auto;
    overflow: hidden;
    position: relative;
}

.loading-bar {
    height: 100%;
    width: 30%;
    background: linear-gradient(to right, #3498db, #9b59b6);
    border-radius: 3px;
    position: absolute;
    animation: loading-animation 1.5s infinite ease-in-out;
}

.loading-tips {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    text-align: center;
}

/* 添加加载动画 */
@keyframes loading-animation {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(400%);
    }
}

/* 增强错误样式 */
.generation-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 30px;
    text-align: center;
}

.generation-error i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #e74c3c;
}

.generation-error p {
    margin: 5px 0;
    color: #e74c3c;
}

.error-details {
    font-size: 0.9em;
    color: #7f8c8d;
    max-width: 80%;
}

/* 重试按钮 */
.retry-button {
    margin-top: 15px;
    padding: 8px 20px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.retry-button:hover {
    background-color: #2980b9;
}
