.container {
    text-align: center;
    margin-top: 50px;
}

.progress-container {
    width: 50%;
    margin: 20px auto;
    background-color: #e0e0e0;
    border-radius: 5px;
}

#progressBar {
    width: 0%;
    height: 30px;
    background-color: #4caf50;
    border-radius: 5px;
}

.output {
    margin-top: 20px;
}

.output img {
    max-width: 100%;
    border-radius: 5px;
}

body{
    background-color: black;
    color:white;
}

.loader {
    border: 8px solid #f3f3f3; /* Light gray border */
    border-radius: 50%;
    border-top: 8px solid #3498db; /* Blue border */
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite; /* 添加旋转动画 */
    margin: 50px auto; /* 居中 */
    display: none; /* 默认隐藏 */
}

/* 旋转动画 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
