/* 数据计算工具样式 */

/* 工具标题区 */
.tool-header {
    background-color: #ebf5fb;
    padding: 40px 0;
    border-bottom: 1px solid #d6eaf8;
}

.tool-desc {
    font-size: 18px;
    color: #34495e;
    margin-top: 10px;
}

/* 工具主体区 */
.tool-body {
    padding: 40px 0;
}

.data-input-section {
    margin-bottom: 30px;
}

.input-options {
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.input-options .btn.active {
    background-color: #3498db;
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.analysis-options {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.results-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.result-card, .chart-card {
    flex: 1;
    min-width: 300px;
}

.calculation-result {
    padding: 15px;
}

.result-value {
    font-size: 24px;
    font-weight: bold;
    color: #3498db;
    margin-top: 10px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table tr {
    border-bottom: 1px solid #eee;
}

.stats-table td {
    padding: 10px 15px;
}

.stats-table td:first-child {
    font-weight: 500;
    color: #2c3e50;
    width: 40%;
}

.no-result {
    padding: 15px;
    color: #999;
    font-style: italic;
    text-align: center;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* 使用说明区 */
.tool-guide {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.guide-content {
    margin-top: 20px;
}

.guide-item {
    margin-bottom: 30px;
}

.guide-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 18px;
}

.guide-item p {
    margin-bottom: 10px;
    color: #34495e;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .results-section {
        flex-direction: column;
    }
}
