/* ===== 估价工具页 ===== */

.est-hero {
    text-align: center;
    padding: 72px 20px 56px;
    background: linear-gradient(135deg, #065f46, #059669 55%, #34d399);
    color: #fff;
}

.est-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.est-hero-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
}

.est-hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.est-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.est-hero-stat .num {
    font-size: 22px;
    font-weight: 700;
}

.est-hero-stat .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.est-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 36px 20px 60px;
}

.est-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.est-form-card,
.est-result-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.est-form-head h2,
.est-result-head h2 {
    font-size: 20px;
    margin-bottom: 6px;
    color: #111827;
}

.est-form-head p {
    font-size: 13px;
    color: #888;
    margin-bottom: 22px;
}

.req {
    color: #dc2626;
}

.est-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.est-field {
    margin-bottom: 18px;
}

.est-field label {
    display: block;
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
    font-weight: 500;
}

.est-field input,
.est-field select {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.est-field input:focus,
.est-field select:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.est-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.est-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

.est-btn-ghost {
    background: #fff;
    color: #047857;
    border: 1px solid #059669;
    margin-top: 14px;
}

.est-btn-ghost:hover {
    background: #ecfdf5;
}

.est-disclaimer {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    margin-top: 12px;
}

/* 结果区 */
.est-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.est-result-tag {
    font-size: 12px;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 3px 10px;
    border-radius: 12px;
}

.est-result-range {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 14px;
    padding: 22px 0 8px;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border-radius: 12px;
    border: 1px solid #d1fae5;
}

.est-range-min,
.est-range-max {
    font-size: 30px;
    font-weight: 700;
    color: #047857;
}

.est-range-sep {
    font-size: 20px;
    color: #10b981;
}

.est-range-unit {
    font-size: 13px;
    color: #6b7280;
}

.est-mid {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin: 12px 0 16px;
}

.est-mid b {
    color: #047857;
    font-size: 17px;
}

.est-breakdown {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13px;
    color: #4b5563;
}

.est-bd-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.est-bd-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    line-height: 1.6;
}

.est-result-tips {
    margin-top: 16px;
}

.est-tip-title {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 8px;
}

.est-result-tips ul {
    margin: 0;
    padding-left: 20px;
}

.est-result-tips li {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.8;
}

/* 行情参考 */
.est-market {
    margin-top: 40px;
}

.est-market-head {
    text-align: center;
    margin-bottom: 18px;
}

.est-market-head h2 {
    font-size: 20px;
    color: #111827;
    margin-bottom: 6px;
}

.est-market-head p {
    font-size: 13px;
    color: #888;
}

.est-market-table-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.est-market-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.est-market-table th {
    background: #f8fafc;
    color: #6b7280;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.est-market-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #374151;
}

.est-market-table tbody tr {
    cursor: pointer;
    transition: background 0.15s;
}

.est-market-table tbody tr:hover {
    background: #f0fdf4;
}

.est-price {
    color: #dc2626;
    font-weight: 700;
}

@media (max-width: 860px) {
    .est-layout {
        grid-template-columns: 1fr;
    }

    .est-row {
        grid-template-columns: 1fr;
    }

    .est-hero-stats {
        gap: 28px;
    }
}
