.cih-wrapper {
  margin: 15px 0;
  color: #1f2937;
}

.cih-box {
  margin: 15px 0;
  padding: 18px;
  border: 1px solid #d7e1eb;
  background: #ffffff;
  box-sizing: border-box;
}

.cih-field-row {
  margin: 15px 0;
}

.cih-unit-field {
  display: block;
}

.cih-unit-help {
  margin-top: 8px;
  color: #628bb4;
  font-size: 13px;
  line-height: 1.6;
}

.cih-search-select {
  position: relative;
  width: 100%;
}

.cih-search-input,
.cih-number-input,
.cih-textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 48px 14px 14px;
  border: 1px solid #b9c9d9;
  background: #ffffff;
  color: #111827;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
  outline: none;
}

.cih-textarea {
  min-height: 180px;
  padding-right: 14px;
  resize: vertical;
}

.cih-search-input:focus,
.cih-number-input:focus,
.cih-textarea:focus {
  border-color: #628bb4;
  box-shadow: 0 0 0 1px #628bb4;
}

.cih-search-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 54px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cih-search-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #628bb4;
  border-bottom: 2px solid #628bb4;
  transform: translate(-50%, -65%) rotate(45deg);
}

.cih-option-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid #b9c9d9;
  background: #ffffff;
  box-sizing: border-box;
}

.cih-option-item {
  display: block;
  width: 100%;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  background: #ffffff;
  color: #111827;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  box-sizing: border-box;
}

.cih-option-item:last-child {
  border-bottom: 0;
}

.cih-option-item:hover,
.cih-option-item:focus {
  background: #000000;
  color: #ffffff;
  outline: none;
}

.cih-primary-button,
.cih-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 0;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}

.cih-primary-button {
  background: #000000;
  color: #ffffff;
}

.cih-primary-button:hover,
.cih-primary-button:focus {
  background: #111111;
}

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

.cih-topic-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid #628bb4;
  background: #ffffff;
  color: #628bb4;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}

.cih-topic-button.is-active,
.cih-topic-button:hover,
.cih-topic-button:focus {
  background: #628bb4;
  color: #ffffff;
  outline: none;
}

.cih-result-wrap,
.cih-info-result,
.cih-inquiry-result {
  margin-top: 15px;
}

.cih-result-row,
.cih-info-card {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 14px;
  border: 1px solid #dbe5ef;
  background: #f8fbfe;
  box-sizing: border-box;
}

.cih-result-label,
.cih-info-topic {
  margin-bottom: 6px;
  color: #628bb4;
  font-size: 13px;
  font-weight: 700;
}

.cih-result-value,
.cih-info-title {
  color: #111827;
  font-size: 16px;
  line-height: 1.6;
}

.cih-info-title {
  margin-bottom: 8px;
  font-weight: 700;
}

.cih-info-text {
  color: #374151;
  font-size: 15px;
  line-height: 1.7;
}

.cih-result-action {
  margin-top: 15px;
}

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 15px;
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);
}

@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%;
}
}

.cih-share-button {
  margin-top: 0;
  background: #dff0ff;
  color: #2b5f8e;
  border: 1px solid #8bb6dd;
}

.cih-share-button:hover,
.cih-share-button:focus {
  background: #cfe8ff;
  outline: none;
}

.cih-share-message,
.cih-inquiry-result {
  margin-top: 10px;
  color: #2b5f8e;
  font-size: 14px;
}

.cih-inquiry-title {
  margin-bottom: 15px;
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .cih-box {
    padding: 14px;
  }

  .cih-search-input,
  .cih-number-input,
  .cih-textarea,
  .cih-topic-button,
  .cih-primary-button,
  .cih-share-button,
  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 {
    font-size: 15px;
  }
}
