/* 煤炭价格计算器样式 */

.calculator-main {
    min-height: calc(100vh - 400px);
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 16px;
    color: #666;
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.calc-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #951D1D;
}

/* 表单元素 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    background: white;
    transition: all 0.3s;
}

.form-select:focus {
    outline: none;
    border-color: #951D1D;
    box-shadow: 0 0 0 3px rgba(149, 29, 29, 0.1);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #951D1D;
    box-shadow: 0 0 0 3px rgba(149, 29, 29, 0.1);
}

/* 煤种选择 */
.coal-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.coal-type-radio {
    position: relative;
    display: block;
    cursor: pointer;
}

.coal-type-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.coal-type-radio span {
    display: block;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    background: #f9f9f9;
}

.coal-type-radio input[type="radio"]:checked + span {
    border-color: #951D1D;
    background: #951D1D;
    color: white;
    transform: scale(1.05);
}

.coal-type-radio:hover span {
    border-color: #951D1D;
}

/* 指标输入 */
.indicators-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.indicator-input {
    margin-bottom: 0;
}

/* 计算按钮 */
.btn-calculate {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #951D1D 0%, #c52a2a 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(149, 29, 29, 0.3);
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(149, 29, 29, 0.4);
}

.btn-calculate:active {
    transform: translateY(0);
}

/* 结果显示 */
.empty-result {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.result-summary {
    background: linear-gradient(135deg, #951D1D 0%, #c52a2a 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.result-summary .label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.result-summary .price {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.result-summary .unit {
    font-size: 18px;
    opacity: 0.9;
}

.result-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 15px;
    color: #666;
}

.detail-value {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.detail-value.positive {
    color: #2ecc71;
}

.detail-value.negative {
    color: #e74c3c;
}

.detail-base {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
}

/* 使用说明 */
.tips {
    line-height: 2;
    color: #666;
    font-size: 15px;
}

.tips p {
    margin: 8px 0;
}

/* 响应式 - PC端中屏 (891px-1024px) */
@media (min-width: 891px) and (max-width: 1024px) {
    .calculator-layout {
        grid-template-columns: 1fr;
    }
}

/* 删除 @media (max-width: 768px) - 移动端样式在 mobile.css */
