.box {
  margin: 0 auto;
  margin-top: 100px;
  padding: 48px 0;
  max-width: 540px;
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 12px;
}

h1 {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.4rem;
  color: #222;
}

h4 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.86rem;
  color: #222;
}

p {
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 0.8rem;
  color: #666;
}

p a {
  color: var(--color-blue);
  text-decoration: underline;
}

.button-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.button-wrap button {
  width: 220px;
  height: 44px;
  font-weight: 500;
  font-size: 0.92rem;
  color: #fff;
  border-radius: 30px;
}

.button-wrap button:not(:first-child) {
  margin-top: 12px;
}

.button-wrap button:hover {
  opacity: 0.9;
}

.button-wrap button.request {
  background-color: var(--color-blue);
}

.button-wrap span {
  display: inline-block;
  margin-left: 6px;
  width: 16px;
  height: 10px;
  background: url(/yooshin_talent_portal/assets/images/common/arrow_right.png) no-repeat center center / 100%;
}

.button-wrap button.request-again {
  background-color: #999;
}

.button-wrap button.done {
  background-color: var(--color-blue);
}

.button-wrap button.disabled {
  background-color: #ccc;
  pointer-events: none;
}

#code-wrap {
  margin-top: 24px;
}

input[type=text],
input[type=tel],
input[type=email] {
  padding: 0 0;
  width: 260px;
  height: 44px;
  min-height: 44px;
  border: 2px solid #999;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5rem;
  resize: none;
  outline: none;
  box-sizing: border-box;
  color: #111;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
}

input:focus {
  border-color: var(--color-blue) !important;
}

input:read-only {
  background-color: #eee;
  pointer-events: none;
}

input.error {
  border-color: #f40000 !important;
}

#done-ani {
  display: none;
  padding: 20px 0;
  opacity: 0;
}

#done-ani h3 {
  font-weight: 600;
  font-size: 1rem;
}

[hidden] {
  display: none !important;
}

@media all and (max-width:540px) {

  input[type=text],
  input[type=tel] {
    width: 100%;
  }

  .button-wrap button {
    width: 100%;
  }
}

@keyframes done {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}