/* 主容器 */
.bmi-calc {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* 标题 */
.calc-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
}

/* 表单项目 */
.form-item {
    margin-bottom: 16px;
}
.form-label {
    display: block;
    color: #374151;
    margin-bottom: 4px;
    font-size: 14px;
}
.form-input {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    width: 256px;
    font-size: 14px;
    box-sizing: border-box;
}
.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* 按钮 */
.calc-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}
.calc-btn:hover {
    background: #1d4ed8;
}

/* 结果区域 */
.result-area {
    margin-top: 20px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid #d1d5db;
    display: none;
}
.result-area.show {
    display: block;
}
.result-text {
    margin-bottom: 8px;
    font-size: 14px;
}
.result-value {
    font-weight: 500;
}
.result-status {
    font-weight: 500;
}

/* 知识区域 */
.know-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}
.know-desc {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 16px;
}

/* 表格 */
.table-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.table th {
    background: #f9fafb;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
}
.table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
}
.table tr:last-child td {
    border-bottom: none;
}

/* 状态颜色 */
.text-green { color: #16a34a; }
.text-orange { color: #f97316; }
.text-yellow { color: #ca8a04; }
.text-red { color: #dc2626; }