body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
  font-size: 18px;
  line-height: 1.6;
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  padding: 30px 20px;
  gap: 20px;
}

.logo-inline {
  width: 160px;
  height: auto;
  flex-shrink: 0;
}

.main-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 46px;
  font-family: 'Open Sans', sans-serif;
  color: #003E74;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

.summary-title {
  color: #6E9C87;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
}

.box-title {
  text-align: center;
  color: #003E74;
  font-family: 'Open Sans', sans-serif;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 25px;
  text-decoration: underline;
}

.top-summary {
  background: #D9E3EB;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px 30px;
  margin: 20px auto 10px auto;
  width: 90%;
  max-width: 1000px;
}

.summary-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.summary-block {
  flex: 1;
  min-width: 320px;
}

.divider {
  width: 2px;
  background-color: #ccc;
  height: auto;
}

.row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  margin-bottom: 12px;
}

.label {
  flex: 1;
  text-align: left;
}

.top-summary .label {
  white-space: nowrap;
}

.value {
  flex: 1;
  text-align: right;
  font-weight: bold;
}

.value.green { color: #007a33; }
.value.red { color: #c0392b; }
.blue-value { color: #204D88; }

.bottom-panels {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 10px 30px 0;
  margin: 0 auto 10px auto;
  width: 90%;
  max-width: 1000px;
  flex-wrap: wrap;
}

.panel {
  background: #D9E3EB;
  border-radius: 12px;
  padding: 25px;
  flex: 1;
  min-width: 320px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.panel label {
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: #003E74;
  font-family: 'Open Sans', sans-serif;
}

.panel input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.panel-divider {
  height: 2px;
  background-color: #EACD3C;
  margin: 20px 0;
}

.lookup-label {
  text-align: left;
}

.pin-section,
.pin-tax-section {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 10px;
}

.button-container {
  text-align: center;
  margin: 10px 0 30px;
}

.button-container button {
  background-color: #204D88;
  color: white;
  font-size: 24px;
  padding: 18px 48px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.button-container button:hover {
  background-color: #183A6D;
}

.disclaimer {
  font-size: 14px;
  color: #333;
  margin-top: 14px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-style: italic;
}

.site-footer {
  background-color: #6E9C87;
  border-top: 4px solid #EACD3C;
  color: white;
  text-align: center;
  padding: 30px 10px;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  margin-top: 40px;
}

.footer-content {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .summary-columns,
  .bottom-panels {
    flex-direction: column;
    align-items: stretch;
  }

  .divider {
    display: none;
  }

  .header-bar {
    flex-direction: column;
    align-items: center;
  }

  .main-title {
    position: static;
    transform: none;
    margin-top: 10px;
    text-align: center;
  }
}
