/* Ziewnic Load Calculator — refreshed premium layout */
.zw-load-page {
  --zw-green: #78ad2e;
  --zw-green-dark: #4f821e;
  --zw-ink: #1d2b20;
  --zw-muted: #718071;
  --zw-line: #e8eee3;
  color: var(--zw-ink);
  background: #fff;
}
.zw-load-page .zw-load-section {
  padding: 54px 0 82px;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(133,190,62,.10), transparent 33%),
    linear-gradient(180deg, #fbfdf8 0%, #fff 310px);
}
.zw-load-page .container {
  width: 100%;
  max-width: 1220px;
}
.zw-load-heading {
  max-width: 850px;
  margin: 0 auto 34px;
  padding: 0 15px;
  text-align: center;
}
.zw-load-eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--zw-green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}
.zw-load-heading h1 {
  margin: 0 0 12px;
  color: var(--zw-ink);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.8px;
}
.zw-load-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: #687568;
  font-size: 15px;
  line-height: 1.75;
}
.zw-load-heading-line {
  width: 58px;
  height: 4px;
  margin: 21px auto 0;
  border-radius: 10px;
  background: var(--zw-green);
}
#resellerform {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 30px 34px;
  background: #fff;
  border: 1px solid #e9eee5;
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(35, 58, 25, .075);
}
#resellerform > hr { display: none; }
.zw-load-note {
  margin: 0 0 20px;
  padding: 14px 17px;
  color: #52634c;
  background: #f4f9ed;
  border: 1px solid #e4efd8;
  border-left: 4px solid var(--zw-green);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
}
.zw-load-note strong { color: #345b20; }
#resellerform .zw-load-appliance-row {
  display: flex;
  align-items: end;
  margin: 0 0 13px;
  padding: 17px 12px 19px;
  background: #fff;
  border: 1px solid #edf1e9;
  border-radius: 13px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#resellerform .zw-load-appliance-row:hover {
  border-color: #d8e7c9;
  box-shadow: 0 7px 20px rgba(48, 78, 31, .055);
}
#resellerform .zw-load-appliance-row > [class*="col-"] {
  float: none;
  padding: 0 10px;
}
#resellerform label {
  display: block;
  margin: 0 0 8px;
  color: #52614f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
#resellerform .form-control {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  color: #243323;
  background: #fbfcfa;
  border: 1px solid #e1e9dc;
  border-radius: 9px;
  box-shadow: none;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
#resellerform .form-control:focus {
  background: #fff;
  border-color: var(--zw-green);
  box-shadow: 0 0 0 3px rgba(120, 173, 46, .13);
  outline: 0;
}
#resellerform .form-control:disabled {
  color: #465443;
  background: #f1f4ee;
  border-color: #edf0e9;
  opacity: 1;
  cursor: not-allowed;
}
#resellerform input[type="number"] { appearance: textfield; }
#resellerform input[type="number"]::-webkit-inner-spin-button,
#resellerform input[type="number"]::-webkit-outer-spin-button { opacity: 1; }
#resellerform .zw-load-total-row {
  align-items: center;
  margin-top: 21px;
  padding: 22px 12px;
  background: linear-gradient(110deg, #f2f8e9, #fbfdf8);
  border: 1px solid #dceacb;
}
#resellerform .zw-load-total-row label {
  color: #31551f;
  font-size: 15px;
  font-weight: 800;
}
#resellerform .zw-load-total-row .form-control {
  height: 52px;
  color: #2f551c;
  background: #fff;
  border-color: #d7e6c8;
  font-size: 20px;
  font-weight: 800;
}
#resellerform #gotosol {
  display: none;
  margin: 0 0 22px;
  padding: 14px 28px;
  color: #fff;
  background: var(--zw-green);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 7px 18px rgba(91, 142, 36, .2);
  font-size: 14px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}
#resellerform #gotosol:hover {
  background: var(--zw-green-dark);
  transform: translateY(-1px);
}
#resellerform #restab {
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #e4ebde;
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}
#resellerform #restab thead { color: #fff; background: #578b25; }
#resellerform #restab th {
  padding: 15px 12px;
  text-align: center;
  border: 0;
  font-size: 13px;
}
#resellerform #restab td {
  padding: 15px 12px;
  vertical-align: middle;
  border-color: #edf1e9;
  color: #465343;
  font-size: 13px;
}
#resellerform #restab img {
  max-width: 150px;
  height: auto;
  border-radius: 8px;
}
#cover-spin {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(3px);
}
#cover-spin::after {
  content: "";
  position: absolute;
  top: 45%;
  left: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border: 4px solid var(--zw-green);
  border-top-color: transparent;
  border-radius: 50%;
  animation: zw-load-spin .8s linear infinite;
}
@keyframes zw-load-spin { to { transform: rotate(360deg); } }

@media (max-width: 991px) {
  #resellerform { padding: 22px 18px 28px; }
  #resellerform .zw-load-appliance-row > [class*="col-"] { margin-bottom: 12px; }
  #resellerform .zw-load-appliance-row > [class*="col-"]:last-child { margin-bottom: 0; }
}
@media (max-width: 767px) {
  .zw-load-page .zw-load-section { padding: 38px 0 55px; }
  .zw-load-heading { margin-bottom: 25px; }
  .zw-load-heading h1 { font-size: 32px; }
  #resellerform { padding: 15px 12px 22px; border-radius: 14px; }
  #resellerform .zw-load-appliance-row {
    display: block;
    margin-bottom: 12px;
    padding: 15px 9px 5px;
    border-radius: 11px;
  }
  #resellerform .zw-load-appliance-row > [class*="col-"] {
    width: 100%;
    margin: 0 0 12px;
    padding: 0 5px;
  }
  #resellerform .zw-load-total-row { padding: 17px 9px 5px; }
  #resellerform #gotosol { width: 100%; float: none !important; }
  #resellerform #restab { display: block; overflow-x: auto; white-space: nowrap; }
}


/* Layout refinements: note spans the full row; results area has no empty card frame. */
#resellerform > .zw-load-note {
  display: block;
  width: 100%;
  margin: 0 0 22px;
  padding: 15px 19px;
  box-sizing: border-box;
}
#resellerform .zw-load-results-wrap {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#resellerform #gotosol {
  float: right;
  clear: both;
  margin: 18px 0 22px;
}
#resellerform #restab {
  clear: both;
}

/* Premium hero refresh — Ziewnic Load Calculator */
.zw-load-page .zw-load-section {
  padding-top: 38px;
  background:
    radial-gradient(circle at 92% 8%, rgba(128,183,54,.13), transparent 24%),
    radial-gradient(circle at 5% 20%, rgba(128,183,54,.08), transparent 27%),
    linear-gradient(180deg, #f8fbf4 0%, #ffffff 420px);
}
.zw-load-heading {
  position: relative;
  isolation: isolate;
  max-width: 1120px;
  min-height: 0;
  margin: 0 auto 25px;
  padding: 36px 42px 32px;
  overflow: hidden;
  text-align: left;
  background: linear-gradient(112deg, #f3f9eb 0%, #fbfdf8 58%, #eef6e5 100%);
  border: 1px solid #e0ebd4;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(45, 76, 29, .055);
}
.zw-load-heading::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -115px;
  right: -65px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(112, 169, 45, .17);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(112,169,45,.035), 0 0 0 58px rgba(112,169,45,.025);
}
.zw-load-heading::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 34px;
  right: 88px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #a6d36b, #78ad2e 68%, #5d9422);
  opacity: .13;
  filter: blur(1px);
}
.zw-load-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px;
  padding: 7px 12px;
  color: #4e7f25;
  background: rgba(255,255,255,.78);
  border: 1px solid #e0ebd4;
  border-radius: 30px;
  font-size: 10px;
  letter-spacing: 2px;
}
.zw-load-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78ad2e;
  box-shadow: 0 0 0 4px rgba(120,173,46,.12);
}
.zw-load-heading h1 {
  max-width: 760px;
  margin: 0 0 12px;
  color: #1d2b20;
  font-size: clamp(34px, 4.1vw, 50px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.3px;
}
.zw-load-heading p {
  max-width: 660px;
  margin: 0;
  color: #647260;
  font-size: 15px;
  line-height: 1.75;
}
.zw-load-heading-line {
  width: 54px;
  height: 4px;
  margin: 20px 0 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #78ad2e, #a5cd69);
}
#resellerform {
  margin-top: 0;
  padding-top: 23px;
  border-radius: 18px;
}
#resellerform > .zw-load-note {
  position: relative;
  margin: 0 0 22px;
  padding: 13px 17px 13px 45px;
  color: #5c6b55;
  background: #fbfdf8;
  border: 1px solid #e8efdf;
  border-left: 3px solid #8cbd4d;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.6;
}
#resellerform > .zw-load-note::before {
  content: "i";
  position: absolute;
  top: 50%;
  left: 15px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  transform: translateY(-50%);
  color: #fff;
  background: #83b63d;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .zw-load-page .zw-load-section { padding-top: 25px; }
  .zw-load-heading {
    margin-bottom: 18px;
    padding: 27px 22px 25px;
    border-radius: 15px;
  }
  .zw-load-heading::before { top: -80px; right: -135px; width: 250px; height: 250px; }
  .zw-load-heading::after { top: 28px; right: 35px; width: 48px; height: 48px; }
  .zw-load-heading h1 { max-width: 100%; font-size: 32px; letter-spacing: -.7px; }
  .zw-load-heading p { max-width: 100%; font-size: 13px; }
  #resellerform > .zw-load-note { padding: 12px 13px 12px 40px; }
}

/* Final corrective overrides: prevent the hero and note panels from stretching. */
.zw-load-page .zw-load-section,
.zw-load-page .zw-load-section .container,
.zw-load-page .zw-load-section .row,
.zw-load-page .zw-load-section .to_animate {
  height: auto !important;
  min-height: 0 !important;
}
.zw-load-page .zw-load-section .to_animate {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}
.zw-load-heading {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  padding: 34px 40px 30px !important;
  margin: 0 auto 24px !important;
  text-align: left !important;
}
.zw-load-heading > * {
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}
.zw-load-heading h1 {
  display: block !important;
  color: #1d2b20 !important;
  margin: 0 0 12px !important;
}
.zw-load-heading p {
  display: block !important;
  color: #647260 !important;
  margin: 0 !important;
}
#resellerform > .zw-load-note {
  display: block !important;
  position: relative !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  align-self: auto !important;
  box-sizing: border-box !important;
  margin: 0 0 22px !important;
  padding: 13px 17px 13px 45px !important;
  line-height: 1.6 !important;
}
#resellerform > .zw-load-note::before {
  top: 50% !important;
  left: 15px !important;
  transform: translateY(-50%) !important;
}
#resellerform .zw-load-appliance-row {
  height: auto !important;
  min-height: 0 !important;
}
@media (max-width: 767px) {
  .zw-load-heading { padding: 26px 21px 24px !important; }
  #resellerform > .zw-load-note { padding: 12px 13px 12px 40px !important; }
}
