﻿/* CSS Document */
/*
编写者：享健丽科技
时间：2025年7月10日
*/
.genImg-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f5f6fa;
}

.chat-container-img {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.input-area {
    padding: 20px;
    background: white;
    display: flex;
    gap: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

#prompt-input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.bot-message {
    background: #eef2ff;  /*#ecf0f1;*/
    margin-right: auto;
    text-align:left;
    /*white-space:pre-wrap;
    display:block;
    word-wrap:break-word;*/
}

.timestamp {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 5px;
    text-align: right;
}
.timestampUser {
    font-size: 0.75rem;
    color: #e8eaeb;
    margin-top: 5px;
    text-align: right;
}

#generate-btn {
    padding: 10px 20px;
    background: #3498db;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
}

#generate-btn:hover {
    background: #2980b9;
}

#generate-btn:disabled {
    background-color: #adb5bd;
    cursor: not-allowed;
}

.progress-container {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

#progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 20px auto;
}

#progress-fill {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    background: #4cc9f0;
    border-radius: 4px;
    transition: width 0.5s ease;
}

#progress-text {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

.hidden {
    display: none;
}


.download-btn a{
    background-color: var(--success);
    color: white;
    border: none;
}

.download-btn a:hover {
    background-color: #00b4d8;
}

.previewImg {

    width:100px;
}

.genDiscribe {
    font-size:14px;
    color:rgb(187, 187, 190);
}