/* AU Calculator – dark blue theme (distinct from NZ bright blue). */

/* Long tooltip (City): above icon, left-aligned, wraps and stays on screen */
.tooltip-icon-long:hover::after {
    left: 0;
    right: auto;
    transform: none;
    white-space: normal;
    max-width: min(280px, calc(100vw - 2rem));
    width: max-content;
}

.tooltip-icon-long:hover::before {
    left: 12px;
    transform: none;
}

:root {
    --primary-color: #1e40af;
    --primary-hover: #1e3a8a;
}

/* Compact results card aligned with NZ: one-line rows, no scroll */
.results-section .results-card {
    padding: 20px;
}

.results-section .total-cost {
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.results-section .total-monthly-label {
    display: block;
    font-size: 0.9rem;
    margin-top: 4px;
    margin-bottom: 2px;
}

.results-section .total-monthly-amount {
    font-size: 1.4rem;
    font-weight: 700;
}

.results-section .breakdown {
    gap: 8px;
    margin-bottom: 16px;
}

.results-section .breakdown-item {
    padding: 10px 12px;
    font-size: 0.9rem;
    flex-wrap: nowrap;
}

.results-section .breakdown-item-label,
.results-section .breakdown-item-value {
    white-space: nowrap;
}

.results-section .income-comparison {
    margin-top: 16px;
    padding-top: 16px;
}

.results-section .comparison-item {
    padding: 10px 12px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    flex-wrap: nowrap;
}

.results-section .comparison-item > span {
    white-space: nowrap;
}

.results-section .comparison-item.highlight {
    font-size: 0.95rem;
}

.results-section .currency-disclaimer {
    margin-top: 8px;
}
