/* ===== MR House PRO – FULL UI (independent) ===== */
:root{
  --mr-primary: var(--e-global-color-primary, #2682f9);
  --mr-text: var(--e-global-color-text, #111827);
  --mr-muted: #6b7280;
  --mr-border: rgba(0,0,0,.10);
  --mr-bg: #ffffff;
  --mr-shadow: 0 10px 30px rgba(0,0,0,.08);
  --mr-radius: 18px;
}

.mr-house-pro, .mr-house-pro *{ box-sizing:border-box; }

.mr-house-pro .ma-wrap{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color: var(--mr-text);
  max-width: 1100px;
  margin: 24px auto;
  padding: 18px;
}

.mr-house-pro .ma-header{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.mr-house-pro .ma-title{font-size:24px;font-weight:900;letter-spacing:-.02em}
.mr-house-pro .ma-subtitle{font-size:13px;color:var(--mr-muted)}

.mr-house-pro .ma-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:14px}
@media (max-width: 900px){ .mr-house-pro .ma-grid{grid-template-columns:1fr} }

.mr-house-pro .ma-card{
  background: var(--mr-bg);
  border: 1px solid var(--mr-border);
  border-radius: var(--mr-radius);
  box-shadow: var(--mr-shadow);
  padding: 16px;
}
.mr-house-pro .ma-card-title{font-weight:900;margin-bottom:10px;font-size:14px}

.mr-house-pro .ma-label{
  display:block;
  font-size:12px;
  font-weight:800;
  color:var(--mr-muted);
  margin:12px 0 6px;
}

.mr-house-pro .ma-input,
.mr-house-pro .ma-select{
  width:100%;
  border:1px solid var(--mr-border);
  border-radius:12px;
  padding:10px 12px;
  font-size:14px;
  background:#fff;
  outline:none;
}
.mr-house-pro .ma-input:focus,
.mr-house-pro .ma-select:focus{
  border-color: rgba(38,130,249,.55);
  box-shadow: 0 0 0 4px rgba(38,130,249,.12);
}

.mr-house-pro .ma-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  border:0;
  border-radius:14px;
  padding:12px 14px;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
  background: var(--mr-primary);
  color:#fff;
}
.mr-house-pro .ma-btn:active{transform:translateY(1px)}

/* ===== Extras for this calculator ===== */
.mr-house-grid{grid-template-columns:1fr 1.1fr}
@media (max-width: 900px){.mr-house-grid{grid-template-columns:1fr}}
.mr-house-actions{margin-top:14px}
.mr-house-btn{width:100%}
.mr-house-btn-secondary{width:100%; margin-top:12px; opacity:.95}
.mr-house-note{margin-top:10px; font-size:12px; opacity:.75}
.mr-house-empty{font-size:13px; opacity:.75; padding:10px 0}

.mr-house-total{border:1px solid rgba(0,0,0,.08); border-radius:14px; padding:14px; margin-bottom:12px}
.mr-house-total-label{font-size:12px; opacity:.7; font-weight:800; letter-spacing:.02em}
.mr-house-total-value{font-size:30px; font-weight:900; line-height:1.1; margin-top:6px}
.mr-house-total-sub{font-size:13px; opacity:.8; margin-top:4px}

.mr-house-split{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:10px 0 4px}
.mr-house-split-item{border:1px solid rgba(0,0,0,.08); border-radius:12px; padding:10px}
.mr-house-split-title{font-size:12px; opacity:.7; font-weight:800}
.mr-house-split-val{font-size:16px; font-weight:900; margin-top:4px}

.mr-house-breakdown{margin-top:12px}
.mr-house-break-title{font-weight:900; margin-bottom:8px}
.mr-house-qty{display:grid; grid-template-columns:1fr; gap:8px}
.mr-house-qty-row{display:flex; justify-content:space-between; gap:10px; padding:8px 10px; border:1px solid rgba(0,0,0,.08); border-radius:12px}
.mr-house-qty-row b{font-weight:800}

.mr-house-lead{margin-top:14px; border-top:1px solid rgba(0,0,0,.08); padding-top:12px}
.mr-house-lead-title{font-weight:900; margin-bottom:6px}
.mr-house-lead-msg{margin-top:10px; font-size:13px}
.mr-house-lead-msg.ok{color:#0a7a2f}
.mr-house-lead-msg.err{color:#b00020}

/* ✅ spațiu între Localitate și Trimite */
.mr-house-lead button,
.mr-house-lead .mr-house-btn,
.mr-house-lead input[type="submit"]{
  margin-top:20px;
}



.mr-house-btn {
    margin-top: 12px;
}

.mr-house-btn:first-of-type {
    margin-top: 0;
}