﻿/* =========================================================
   Housing & Meal Plan Rate Estimator — Ingeniux-ready CSS
   (Layout-only tweaks; no functionality changes)
   ========================================================= */

/* ---- Card shell ---- */
.hmw-card{
  background:#fff;
  border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
  overflow:hidden;
  max-width:900px;
  margin:0 auto;
}

.hmw-card-header{
  background:#041e42;
  color:#fff;
  padding:22px 18px;
  text-align:center;
}
.hmw-title{margin:0 0 6px 0;color:#fff;}
.hmw-subtitle{margin:0;}

/* ---- Toggle pills (bold) ---- */
.hmw-toggle-wrap{display:flex;align-items:center;padding:12px 14px 0 14px;}
.hmw-toggle-wrap.is-hidden{display:none;}
.hmw-toggle-label{margin-right:8px;}
.hmw-toggle{display:inline-flex;border-radius:999px;background:#e8ecf3;padding:4px;}
.hmw-toggle-btn{border:0;background:transparent;color:#041e42;padding:8px 12px;border-radius:999px;cursor:pointer;font-weight:700;}
.hmw-toggle-btn.is-active{background:#041e42;color:#fff;}

/* ---- Controls ---- */
.hmw-controls{padding:10px 14px 6px 14px;}
.hmw-select{position:relative;}

.hmw-select:after{
  content:"▾";
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:14px;
  line-height:1;
  color:#041e42;
  pointer-events:none;
}
.hmw-select select{
  box-sizing:border-box;
  display:block;
  width:100%;
  padding:12px 40px 18px 12px;
  min-height:50px;
  border-radius:8px;
  box-shadow:inset 0 0 0 1px #d5d9df;
  background:#fff;
  color:#041e42;
  font-size:15px;
  font-weight:600;
  line-height:1.35;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
}
.hmw-select select:focus{outline:2px solid #9bb6d9;outline-offset:2px;}
.hmw-select select::-ms-expand{display:none;}

.hmw-optional{opacity:.8;font-weight:400;}
.hmw-help{margin:6px 0 0 0;font-size:.9rem;}
.sr-only{
  position:absolute !important;height:1px;width:1px;overflow:hidden;
  clip:rect(1px,1px,1px,1px);white-space:nowrap;
}

/* ---- Results ---- */
.hmw-results{padding:6px 14px 14px 14px;}

.hmw-info{
  display:flex;
  align-items:center;
  border-radius:10px;
  background:#ffffff;
  color:#041e42;
  padding:10px 12px;
  margin-top:8px;
  box-shadow:inset 0 0 0 1px rgba(4,30,66,.18);
}
.hmw-info-icon{flex:0 0 auto;margin-right:10px;color:#041e42;}
.hmw-ico{width:24px;height:24px;}
.hmw-info-title{font-weight:700;margin-bottom:2px;color:#041e42;}
.hmw-amount{font-size:1.1rem;font-weight:800;color:#041e42;}

.hmw-total{
  background:#041e42;
  color:#fff;
  border-radius:10px;
  padding:12px;
  margin-top:10px;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
}
.hmw-total-label{font-weight:800;}
.hmw-total-amount{font-size:1.35rem;font-weight:900;margin-top:4px;color:#fff;}
.hmw-footnote{margin:4px 0 0 0;font-size:.85rem;color:#fff;opacity:.9;}

/* ---- Responsive tweaks ---- */
@media screen and (max-width:640px){
  .hmw-card-header{padding:18px 14px;}
  .hmw-toggle-wrap{padding:10px 10px 0 10px;}
  .hmw-controls,.hmw-results{padding-left:10px;padding-right:10px;}
}
