.wsnavi-ai-compare-action {
  clear: both;
  margin: 1em 0 1.5em;
  text-align: center;
}

.wsnavi-ai-compare-button {
  appearance: none;
  background: #fff;
  border: 1px solid #3399CC;
  border-radius: 6px;
  box-shadow: none;
  color: #3399CC;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  max-width: 100%;
  padding: 0.75em 1.25em;
  text-align: center;
}

.wsnavi-ai-compare-button:hover,
.wsnavi-ai-compare-button:focus {
  background: #f4fbff;
}

.wsnavi-ai-compare-modal {
  display: none;
}

.wsnavi-ai-compare-modal.is-open {
  display: block;
}

.wsnavi-ai-compare-overlay {
  background: rgba(0, 0, 0, 0.55);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9998;
}

.wsnavi-ai-compare-dialog {
  background: #fff;
  border-radius: 8px;
  box-sizing: border-box;
  left: 50%;
  max-height: 86vh;
  max-width: 720px;
  overflow: auto;
  padding: 1.5em;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
  z-index: 9999;
}

.wsnavi-ai-compare-dialog h2 {
  color: #245f92;
  font-size: 22px;
  line-height: 1.35;
  margin: 0 2em 1em 0;
}

.wsnavi-ai-compare-close {
  appearance: none;
  background: #f1f4f7;
  border: 1px solid #d6dde5;
  border-radius: 50%;
  color: #333;
  cursor: pointer;
  font-size: 24px;
  height: 38px;
  line-height: 34px;
  padding: 0;
  position: sticky;
  float: right;
  right: 14px;
  top: 4px;
  width: 38px;
}

.wsnavi-ai-compare-body {
  color: #333;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.wsnavi-ai-compare-heading {
  color: #245f92;
  font-weight: 700;
}

.wsnavi-ai-compare-title {
  color: #245f92;
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 0.25em;
}

.wsnavi-ai-compare-body.is-loading {
  color: #666;
}

.wsnavi-ai-compare-loading {
  display: inline-block;
  animation: wsnaviCompareBlink 1.1s ease-in-out infinite;
}

@keyframes wsnaviCompareBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.wsnavi-ai-compare-fixed {
  overflow: hidden;
}

@media screen and (max-width: 480px) {
  .wsnavi-ai-compare-button {
    font-size: 15px;
    width: 100%;
  }

  .wsnavi-ai-compare-dialog {
    padding: 1.25em;
    width: calc(100% - 20px);
  }
}
