.double-inquiry-code-mask {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 24, 45, 0.56);
}

.double-inquiry-code-mask.is-open {
  display: flex;
}

.double-inquiry-code-box {
  width: min(92vw, 360px);
  padding: 26px 24px 22px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  color: #1b2638;
  text-align: left;
}

.double-inquiry-code-title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.double-inquiry-code-text {
  margin: 0 0 18px;
  color: #52606f;
  font-size: 14px;
  line-height: 1.5;
}

.double-inquiry-code-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.double-inquiry-code-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  padding: 0 10px;
  border: 1px solid #c9d2df;
  border-radius: 4px;
  font-size: 16px;
}

.double-inquiry-code-img {
  flex: 0 0 auto;
  width: 104px;
  height: 42px;
  border: 1px solid #c9d2df;
  border-radius: 4px;
  cursor: pointer;
  object-fit: cover;
}

.double-inquiry-code-error {
  min-height: 20px;
  margin: 8px 0 0;
  color: #c5271d;
  font-size: 13px;
  line-height: 1.4;
}

.double-inquiry-code-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.double-inquiry-code-actions button {
  min-width: 92px;
  height: 40px;
  border: 1px solid #c9d2df;
  border-radius: 4px;
  background: #fff;
  color: #1b2638;
  cursor: pointer;
  font-size: 14px;
}

.double-inquiry-code-actions .double-inquiry-code-submit {
  border-color: #1d4f91;
  background: #1d4f91;
  color: #fff;
}

.double-inquiry-code-actions button:disabled {
  cursor: default;
  opacity: 0.65;
}

.double-inquiry-code-page,
.double-inquiry-code-page * {
  box-sizing: border-box;
}

.double-inquiry-code-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-size: 16px;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}

.double-inquiry-code-page .code {
  padding-top: 50px;
  text-align: center;
}

.double-inquiry-code-page .input-val {
  width: 180px;
  height: 2.8rem;
  padding: 0 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background: #fff;
  font-size: 1.0625rem;
  vertical-align: middle;
}

.double-inquiry-code-page #canvas {
  display: inline-block;
  width: 100px;
  height: 43px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  vertical-align: middle;
}

.double-inquiry-code-page .btn {
  display: block;
  width: 100px;
  height: 40px;
  margin: 20px auto 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #f1f1f1;
  color: #e22e1c;
  cursor: pointer;
  font-size: 1.2rem;
}

.double-inquiry-code-page .double-inquiry-code-email {
  width: min(92vw, 340px);
  margin: 16px auto 0;
  text-align: left;
}

.double-inquiry-code-page .double-inquiry-code-email label {
  display: block;
  margin-bottom: 6px;
  color: #1b2638;
  font-size: 14px;
}

.double-inquiry-code-page .double-inquiry-code-email input {
  width: 100%;
  height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 5px;
  font-size: 16px;
}

@media (max-width: 480px) {
  .double-inquiry-code-box {
    padding: 22px 18px 20px;
  }

  .double-inquiry-code-row {
    gap: 8px;
  }
}
