.ghpta-wrap {
  --ghpta-accent: #628bb4;
  --ghpta-accent-dark: #4d759c;
  --ghpta-border: #d9e2ec;
  --ghpta-bg: #f7fbff;
  --ghpta-text: #1f2933;
  --ghpta-muted: #52606d;
  margin: 15px 0;
  color: var(--ghpta-text);
  font-size: 16px;
  line-height: 1.6;
}

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

.ghpta-estimator-section,
.ghpta-info-section,
.ghpta-contact-section {
  margin: 15px 0;
  padding: 20px;
  border: 1px solid var(--ghpta-border);
  background: #ffffff;
}

.ghpta-info-section,
.ghpta-contact-section {
  margin-top: 30px;
}

.ghpta-contact-section {
  background: var(--ghpta-bg);
}

.ghpta-field-group {
  margin: 15px 0;
}

.ghpta-field-label,
.ghpta-contact-title {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ghpta-text);
}

.ghpta-combobox {
  position: relative;
  width: 100%;
}

.ghpta-combobox-input,
.ghpta-number-input,
.ghpta-contact-textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #c7d3e0;
  background: #ffffff;
  color: var(--ghpta-text);
  font-size: 16px;
  outline: none;
  border-radius: 0;
}

.ghpta-combobox-input:focus,
.ghpta-number-input:focus,
.ghpta-contact-textarea:focus {
  border-color: var(--ghpta-accent);
  box-shadow: 0 0 0 1px var(--ghpta-accent);
}

.ghpta-combobox-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #c7d3e0;
  background: #ffffff;
}

.ghpta-combobox-item,
.ghpta-combobox-empty {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: #ffffff;
  color: var(--ghpta-text);
  text-align: left;
  font-size: 15px;
  cursor: pointer;
}

.ghpta-combobox-item + .ghpta-combobox-item,
.ghpta-combobox-empty {
  border-top: 1px solid #eef2f7;
}

.ghpta-combobox-item:hover,
.ghpta-combobox-item:focus {
  background: #000000;
  color: #ffffff;
}

.ghpta-combobox-empty {
  cursor: default;
  color: var(--ghpta-muted);
}

.ghpta-primary-action,
.ghpta-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin: 15px 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 0;
  background: #000000;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.ghpta-primary-action:hover,
.ghpta-contact-button:hover,
.ghpta-primary-action:focus,
.ghpta-contact-button:focus {
  opacity: 0.92;
}

.ghpta-result-area,
.ghpta-info-result-area,
.ghpta-contact-message {
  margin-top: 15px;
}

.ghpta-result-box,
.ghpta-info-box {
  border: 1px solid var(--ghpta-border);
  background: #ffffff;
}

.ghpta-info-topic {
  padding: 12px 18px;
  border-bottom: 1px solid var(--ghpta-border);
  background: #f7fbff;
  color: var(--ghpta-muted);
  font-size: 13px;
  font-weight: 700;
}

.ghpta-result-title,
.ghpta-info-title {
  padding: 16px 18px;
  border-bottom: 1px solid var(--ghpta-border);
  background: #eef5fb;
  font-size: 18px;
  font-weight: 800;
  color: var(--ghpta-accent-dark);
}

.ghpta-result-line {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-bottom: 1px solid #eef2f7;
  font-size: 15px;
}

.ghpta-info-line {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-bottom: 1px solid #eef2f7;
  font-size: 15px;
  word-break: break-word;
}

.ghpta-info-line span {
  display: block;
}

.ghpta-result-line:last-of-type,
.ghpta-info-line:last-of-type {
  border-bottom: 0;
}

.ghpta-result-line strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ghpta-text);
  font-size: 14px;
}

.ghpta-topic-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 15px 0;
}

.ghpta-topic-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--ghpta-accent);
  background: #ffffff;
  color: var(--ghpta-accent);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.ghpta-topic-button.is-active {
  background: var(--ghpta-accent);
  color: #ffffff;
}

.ghpta-detail-picker {
  margin: 15px 0;
}

.ghpta-note-box {
  margin-top: 15px;
  padding: 14px 16px;
  border: 1px solid #d6e3f0;
  background: #f7fbff;
  font-size: 14px;
  color: var(--ghpta-text);
}

a.eitc-apply-button,
a.eitc-apply-button:link,
a.eitc-apply-button:visited,
a.eitc-apply-button:hover,
a.eitc-apply-button:focus,
a.eitc-apply-button:active {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  margin: 15px 0 25px;
  border: 1px solid #4d759c;
  background: linear-gradient(180deg, #7399c0 0%, #628bb4 48%, #4d759c 100%);
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  box-shadow: 0 12px 24px rgba(98, 139, 180, 0.26), inset 0 1px 0 rgba(255,255,255,0.25);
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  animation: eitcApplyPulse 1.7s ease-in-out infinite;
  box-sizing: border-box;
  -webkit-text-fill-color: #ffffff !important;
}

a.eitc-apply-button span,
a.eitc-apply-button span:link,
a.eitc-apply-button span:visited,
a.eitc-apply-button span:hover,
a.eitc-apply-button span:focus,
a.eitc-apply-button span:active {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

a.eitc-apply-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 24%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.26) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg);
  animation: eitcApplyShine 2.8s linear infinite;
  z-index: 1;
}

a.eitc-apply-button:hover,
a.eitc-apply-button:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(98, 139, 180, 0.34), inset 0 1px 0 rgba(255,255,255,0.25);
  filter: saturate(1.05);
}

a.eitc-apply-button:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  transform: translateY(1px);
  box-shadow: 0 8px 16px rgba(98, 139, 180, 0.26), inset 0 2px 6px rgba(0,0,0,0.15);
}

.ghpta-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  margin: 0 0 10px;
  border: 1px solid #44607d;
  background: linear-gradient(180deg, #6b7e92 0%, #5b6f84 48%, #425567 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.ghpta-share-message,
.ghpta-contact-message {
  margin-top: 10px;
  padding: 12px 14px;
  background: #f7fbff;
  border: 1px solid #d6e3f0;
  font-size: 14px;
}

@keyframes eitcApplyPulse {
  0%, 100% {
    box-shadow: 0 12px 24px rgba(98, 139, 180, 0.26), inset 0 1px 0 rgba(255,255,255,0.25);
  }
  50% {
    box-shadow: 0 16px 30px rgba(98, 139, 180, 0.34), inset 0 1px 0 rgba(255,255,255,0.3);
  }
}

@keyframes eitcApplyShine {
  0% {
    left: -30%;
  }
  100% {
    left: 120%;
  }
}

@media (max-width: 767px) {
  .ghpta-estimator-section,
  .ghpta-info-section,
  .ghpta-contact-section {
    padding: 16px;
  }

  .ghpta-topic-buttons {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}
