body {
  margin: 0;
  background: #EFEFEF;
}

body, input, button {
  color: #333;
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 14px;
  font-style: normal;
}

#loading {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100%;
  background: #F7F8FA;
  z-index: 100000;
}
#loading img {
  height: 200px;
}

.banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 340px;
  max-width: 503px;
  margin: 0 auto;
  background: url("/images/official.jpg");
  background-size: cover;
}
.banner .overlay {
  position: absolute;
  width: 100%;
  height: 80%;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}
.banner .promo {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 14px 20px;
  color: #FFF;
  font-size: 12px;
  font-weight: 300;
  z-index: 2;
}
.banner .promo .channel {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2em;
}

.content {
  margin: 0 auto;
  padding: 10px 14px;
  max-width: 475px;
}
.content h1 {
  font-size: 24px;
}
.content .form {
  display: block;
}
.content .form .input-block {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}
.content .form .input-block label {
  display: block;
}
.content .form .input-block label span.red {
  color: #FF0000;
}
.content .form .input-block input {
  box-sizing: border-box;
  margin-top: 4px;
  position: relative;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #DDD;
  transition: linear 0.2s;
}
.content .form .input-block input:focus {
  outline: none;
  border-color: rgb(27, 163, 190);
}
.content .form .btn-primary {
  background: #333;
  color: #FFF;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  transition: linear 0.5s;
  cursor: pointer;
}
.content .form .btn-primary:hover {
  background: #555;
}
.content .form .btn-primary.btn-disable {
  background: #CCC;
  color: #999;
  cursor: default;
}