/* annotate.css - 专用于 Annotation 页面的样式 */

.annotate-title {
    text-align: center;
    color: #1e5631;
    /* 减少了标题的下边距，为副标题留出空间 */
    margin-bottom: 0.5rem; 
    font-size: 2rem;
}

/* 新增：副标题样式 */
.annotate-subtitle {
    text-align: center;
    color: #6c757d; /* 使用柔和的灰色 */
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 2rem; /* 保持与下方元素的间距 */
}


.annotate-input-container {
    max-width: 500px;
    margin: 0 auto;
}

.annotate-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;
}

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

.annotate-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;
}

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

/* Annotation Result 样式 */
.annotate-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;
    text-align: center;
}

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

.annotate-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;
}

.annotate-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); }
}

/* 下载按钮样式 */
.download-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;     /* 与 "Back" 按钮的内边距保持一致 */
    background-color: #2c7a3e; /* 与 "Back" 按钮的背景色保持一致 */
    color: white;              /* 与 "Back" 按钮的文字颜色保持一致 */
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;           /* 与 "Back" 按钮的字体大小保持一致 */
    cursor: pointer;
    transition: background-color 0.3s; /* 与 "Back" 按钮的动画效果保持一致 */
    margin-top: 1rem;
    border: none;              /* 移除了边框，与 "Back" 按钮保持一致 */
}

.download-button:hover {
    background-color: #1e5631; /* 与 "Back" 按钮的悬停颜色保持一致 */
}

