.head {
    text-align: center;
} 

p {
    color: #6b7280;
}

section {
    margin-bottom: 2rem;
}

footer {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
    padding: 1rem 0;
}

/* 表单样式 */
.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 0.25rem;
}

input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.form-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-danger {
    background-color: #ef4444;
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-success {
    background-color: #10b981;
    color: white;
}

.btn-success:hover {
    background-color: #059669;
}

.btn-disabled {
    background-color: #9ca3af;
    color: white;
    cursor: not-allowed;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.btn-group .ml-auto {
    margin-left: auto;
}

/* 网格布局 */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-2 {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* 进度条样式 */
.progress-container {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 1rem;
    height: 0.625rem;
    margin-bottom: 1rem;
}

.progress-bar {
    background-color: #3b82f6;
    height: 100%;
    border-radius: 1rem;
    transition: width 0.3s ease-in-out;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.status-text {
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.stat-value {
    font-weight: 500;
}

.stat-success {
    color: #10b981;
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #f9fafb;
}

tr.result-row-available {
    background-color: #f0fdf4;
}

tr.result-row-unavailable {
    background-color: #fee2e2;
}

.badge {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background-color: #dcfce7;
    color: #166534;
}

.badge-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

/* 标签样式 */
.tabs {
    display: flex;
    gap: 0.5rem;
}

.tab-btn {
    padding: 0.25rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}

.tab-active {
    background-color: #3b82f6;
    color: white;
}

.tab-inactive {
    background-color: #e5e7eb;
    color: #4b5563;
}

.tab-inactive:hover {
    background-color: #d1d5db;
}

/* 结果区域样式 */
.noResults {
    display: none;
    padding: 2rem;
    text-align: center;
    color: #6b7280;
}

.noResults i {
    margin-right: 0.5rem;
}

/* 错误日志样式 */
.error-log {
    background-color: #fee2e2;
    padding: 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #991b1b;
    margin-bottom: 1rem;
    display: none;
}

.error-log h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.error-log h3 i {
    margin-right: 0.5rem;
}

.error-log pre {
    white-space: pre-wrap;
}
.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.truncate:hover {
    white-space: normal;
}