/* Mortgage Pro Calculator - mpc-style.css */

.mpc-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.mpc-wrap *, .mpc-wrap *::before, .mpc-wrap *::after {
    box-sizing: border-box;
}

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

@media (max-width: 680px) {
    .mpc-grid { grid-template-columns: 1fr; }
}

/* LEFT CARD */
.mpc-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 28px 24px 20px;
}

.mpc-row {
    margin-bottom: 28px;
}

.mpc-row:last-of-type { margin-bottom: 8px; }

.mpc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mpc-label {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.mpc-val {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.mpc-minmax {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11px;
    color: #aaa;
    letter-spacing: 0.01em;
}

/* RANGE SLIDER */
.mpc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    display: block;
    padding: 0;
    margin: 0;
}

.mpc-slider::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 4px;
}

.mpc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-top: -7px;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    transition: transform 0.15s ease;
}

.mpc-slider:hover::-webkit-slider-thumb {
    transform: scale(1.15);
}

.mpc-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.mpc-slider::-moz-range-track {
    height: 4px;
    border-radius: 4px;
    background: #e0e0e0;
}

.mpc-note {
    font-size: 11.5px;
    color: #999;
    line-height: 1.6;
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

/* RIGHT RESULTS */
.mpc-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mpc-result-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color 0.2s ease;
}

.mpc-result-card:hover {
    border-color: #d0d0d0;
}

.mpc-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mpc-res-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 3px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.mpc-res-val {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
