/* 提问页面样式 */

/* 加载状态样式 */
.loading-container {
    background-color: #fff5f5;
    border: 2px solid #ffb6b9;
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ffb6b9;
    border-top: 5px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    text-align: center;
    color: #666;
}

.loading-text p {
    margin: 5px 0;
}

/* 实时反馈样式 */
.realtime-feedback {
    background-color: #fff5f5;
    border: 2px solid #ffb6b9;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
}

/* 提交按钮样式 */
.btn-submit {
    margin: 30px 0;
}

.realtime-feedback h3 {
    color: #ff6b6b;
    margin-bottom: 15px;
    text-align: center;
}

.feedback-content {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    min-height: 100px;
    border: 1px solid #ffebee;
    line-height: 1.6;
    color: #555;
}

.feedback-content p {
    margin: 10px 0;
}

.feedback-content .loading-dots::after {
    content: '.';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60% {
        content: '...';
    }

    80%,
    100% {
        content: '';
    }
}
