/* 自驾游费用估算 /css/tools/roadtrip-cost-estimator.css */

.rtc-total-box {
    border-radius: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(13, 148, 136, 0.3);
    margin-bottom: 12px;
}
.rtc-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rtc-total-row .k { font-size: 13px; font-weight: 800; color: var(--c-text-sub); }
.rtc-total-row .v { font-size: 32px; font-weight: 900; color: #0d9488; line-height: 1.1; }
.rtc-pp-row {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-top: 8px; padding-top: 10px; border-top: 1px dashed rgba(13, 148, 136, 0.35);
    font-size: 13px; color: var(--c-text-sub);
}
.rtc-pp-row b { font-size: 18px; color: #0d9488; }
.rtc-cond { font-size: 12px; color: var(--c-text-muted); margin-top: 6px; }
.rtc-perkm { font-size: 12px; color: var(--c-text-sub); margin-top: 2px; }

.rtc-block-title { font-size: 13px; font-weight: 800; color: var(--c-text-sub); margin: 14px 0 8px; }

.rtc-detail, .rtc-perlist {
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 6px 14px;
    margin-bottom: 12px;
    background: var(--c-surface-soft);
}
.rtc-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    font-size: 12.5px;
    color: var(--c-text-sub);
    line-height: 2.1;
    border-bottom: 1px dashed var(--c-border);
}
.rtc-row:last-child { border-bottom: none; }
.rtc-row .v { font-weight: 700; color: var(--c-text); white-space: nowrap; }
.rtc-row.is-muted { color: var(--c-text-muted); font-size: 12px; }

.rtc-cmp {
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.85;
    color: var(--c-text-sub);
    margin-bottom: 10px;
}
.rtc-cmp.is-win {
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.rtc-cmp.is-lose {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.32);
}

.rtc-tip {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.75;
    color: var(--c-text-muted);
    border-top: 1px dashed var(--c-border);
    margin-top: 10px;
    padding-top: 10px;
}
.rtc-tip .ic { flex: none; }

.rtc-toast {
    position: fixed;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 99px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
    max-width: 86vw;
    text-align: center;
}
.rtc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

[data-theme="dark"] .rtc-total-row .v,
[data-theme="dark"] .rtc-pp-row b { color: #2dd4bf; }
[data-theme="dark"] .rtc-toast { background: rgba(226, 232, 240, 0.95); color: #0f172a; }

@media (max-width: 640px) {
    .rtc-total-row .v { font-size: 26px; }
}
