/* blast.css - 专用于 Blast 页面的样式 */

.blast-title {
    text-align: center;
    color: #1e5631;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.blast-option-container {
    text-align: center;
    margin-bottom: 2rem;
}

.blast-option-container label {
    margin-right: 1rem;
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

.blast-option-container select {
    padding: 8px 12px;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s;
}

.blast-option-container select:focus {
    border-color: #2c7a3e;
    outline: none;
}

.blast-input-container {
    max-width: 1000px;
    margin: 0 auto;
}

.blast-input-container textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    font-family: monospace;
    font-size: 1rem;
    box-sizing: border-box;
    min-height: 300px;
}

.blast-submit-container {
    text-align: center;
    margin-top: 2rem;
}

.blast-submit-container button {
    padding: 12px 24px;
    background-color: #2c7a3e;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.blast-submit-container button:hover {
    background-color: #1e5631;
}

/* BLAST Result 样式 */
.blast-result-container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #fff; /* 浅色背景 */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    color: #222;
}

.blast-result-container h2 {
    color: #1e5631;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.blast-result-container pre {
    background-color: #f9f9f9; /* 更柔和的背景色 */
    color: #111; /* 更深的字体颜色，增强对比度 */
    border: 1px solid #ccc;
    padding: 1rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    max-height: 800px; /* 增加最大高度 */
    overflow-y: auto;
    line-height: 1.6; /* 更好的阅读行高 */
}

.blast-result-back-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.6rem 1.2rem;
    background-color: #2c7a3e;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    transition: background-color 0.3s;
    text-align: center;
}

.blast-result-back-btn:hover {
    background-color: #1e5631;
}


.loading-spinner {
    text-align: center;
    padding: 20px;
}
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #2c7a3e;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

