*,
*::before,
*::after {
  box-sizing: border-box;
}

/* prettier-ignore */
a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center,
cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6,
header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre,
q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead,
time, tr, tt, u, ul, var, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

/* prettier-ignore */
a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

/* prettier-ignore */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
  -webkit-touch-callout: none !important;
}

a,
button,
img {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

em {
  font-style: normal;
}

select,
button {
  -webkit-touch-callout: none !important;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
  border-radius: 0;
}

* {
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-size: 1.5rem;
  font-family: 'Noto Sans', sans-serif;
  line-height: 1.5;
  background-color: white;
  height: 100%;
  min-height: 100%;
  margin: 0px;
}

button,
input,
label,
select {
  -webkit-appearance: none;
  font-family: inherit;
  font-size: inherit;
  -webkit-border-radius: 0;
  border-radius: 0;
  outline: 0;
  border: 0;
}

html,
body {
  height: 100%;
  font-size: 12px;
  margin: 0;
  font-family: 'Noto Sans', sans-serif;
  font-weight: 300;
}

body:lang(ko) {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 400;
}

body:lang(zh-Hant) {
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 400;
}

input::placeholder {
  -webkit-transition: color 0.24s;
  transition: color 0.24s;
  text-transform: none;
  text-align: left;
  font-weight: normal;
  color: #b5b5b5;
}

input:focus::placeholder {
  color: transparent;
  -webkit-transition: color 0.24s;
  transition: color 0.24s;
  text-transform: none;
  text-align: left;
}

.spinner {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 100vh;
  background: rgba(0, 0, 0, 0.25);
}

body {
  background: #111132 url(images/bg-main.jpg) no-repeat center center fixed;
  background-size: cover;
  color: #404040;
  font-size: 20px;
  line-height: 1;
}

.loading {
  margin-top: calc(50vh - 20px) !important;
}

.main {
  margin-top: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
}

.header {
  margin: 0 auto;
  padding-bottom: 43px;
}

.header h1 {
  width: 600px;
  height: 190px;
  font-size: 0;
  background: url(images/logo.png?v2) no-repeat;
}

.close {
  position: absolute;
  right: 15px;
  top: 15px;
  border: none;
  background: none;
}

.content {
  padding: 65px 60px 24px 60px;
  border-radius: 15px;
  background-color: #fff;
}

.input-element {
  margin-top: 0;
}

.input-code {
  margin-top: 40px;
}

.input-desc {
  color: #404040;
  font-weight: 500;
  font-size: 30px;
  padding-bottom: 14px;
}

.input-box {
  box-sizing: border-box;
  padding: 0 20px;
  border: 2px solid #cfcdcd;
  border-radius: 12px;
  background-color: #fff;
  width: 100%;
  height: 74px;
  font-size: 22px;
}

.input-with-button {
  display: flex;
  align-items: center;
  gap: 10px;
}

.submit-button {
  cursor: pointer;
  margin-top: 32px;
  box-sizing: border-box;
  background: url(images/btn-confirm.png) no-repeat;
  text-indent: -5000px;
  width: 479px;
  height: 76px;
}

.notice {
  margin-top: 45px;
}

.notice h3 {
  /* none */
}

.notice p {
  font-weight: 300;
  font-size: 20px;
  color: #a0a0a0;
  line-height: 1.2;
  padding-bottom: 10px;
  padding-left: 20px;
  background: url(images/icon-bullet.png) no-repeat 0 8px;
}

footer {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: #cbcaca;
}

@media (max-width: 665px) {
  .main {
    height: 100vh;
    margin-top: -1.25rem;
  }

  .header {
    padding-bottom: 26px;
  }

  .header h1 {
    width: 300px;
    height: 95px;
    background-size: 300px 95px;
  }

  .content {
    padding: 25px 20px 12px 20px;
    border-radius: 8px;
  }

  .input-desc {
    font-size: 16px;
    padding-bottom: 10px;
  }

  .input-box {
    padding: 0 12px;
    border: 1px solid #cfcdcd;
    border-radius: 8px;
    height: 38px;
    font-size: 14px;
  }

  .input-code {
    margin-top: 24px;
  }

  .submit-button {
    width: 100%;
    height: auto;
    aspect-ratio: 239.5 / 38;
    margin-top: 24px;
    background-size: 100%;
  }

  .notice {
    margin-top: 24px;
    padding: 0 10px;
  }

  .notice p {
    font-size: 12px;
    padding-bottom: 6px;
    padding-left: 14px;
    background-position: 0 4px;
  }

  footer {
    margin-top: 20px;
    font-size: 11px;
    padding-bottom: 12px;
  }
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-shade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-popup {
  box-sizing: border-box;
  position: relative;
  background-color: #fff;
  border-radius: 15px;
  border: none;
  min-width: 480px;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
  padding: 50px 30px 40px 30px;
  box-shadow:
    0px 20px 40px 0px rgba(0, 0, 0, 0.4),
    0px 0px 20px 0px rgba(15, 52, 96, 0.4);
}

.modal-content {
  box-sizing: border-box;
  display: flex;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  font-size: 20px;
  line-height: 1.4;
  color: #404040;
  text-align: center;
}

.modal-footer {
  padding: 30px 0 0 0;
  text-align: center;
}

.modal-confirm {
  background: #a00e3b;
  color: #fffacd;
  border: none;
  border-radius: 5px;
  padding: 15px 32px 17px 32px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  min-width: 80px;
  transition: background-color 0.2s ease;
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.3);
}

.modal-confirm:hover {
  background: #8a0c32;
}

@media (max-width: 665px) {
  .modal-popup {
    min-width: 300px;
    padding: 35px 15px 20px 15px;
  }

  .modal-content {
    min-height: 59px;
    font-size: 13px;
  }

  .modal-footer {
    padding-top: 20px;
  }

  .modal-confirm {
    padding: 16px 0 17px 0;
    font-size: 15px;
    width: 100%;
  }
}
