
.box {
  margin-bottom: 30px;
}

/*
.input.text
  input(type="text|password|number|tel|email" placeholder="") 
  label
  .border
*/
.input.text {
  position: relative;
  width: 100%;
  height: 60px;
}
.input.text.h45 {
  height: 45px;
}
.layer.input.text {
  position: absolute;
}
.input.text input,
.input.text input:-webkit-autofill,
.input.text input:-webkit-autofill:hover, 
.input.text input:-webkit-autofill:focus {
  width: calc(100% - 30px);
  height: calc(100% - 15px);
  border-radius: 15px;
  padding: 15px 15px 0px 15px;
  cursor: text;
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace !important;
  font-size: 12pt !important;
  font-weight: 500 !important;
  background-color: var(--gray-230);
  box-shadow: 0 0 0px 1000px var(--gray-230) inset !important;
  -webkit-text-fill-color: var(--fg) !important;
}
.input.text.h45 input,
.input.text.h45 input:-webkit-autofill,
.input.text.h45 input:-webkit-autofill:hover, 
.input.text.h45 input:-webkit-autofill:focus {
  height: 100%;
  padding: 0px 15px 0px 15px;
}
.input.text.g245 input,
.input.text.g245 input:-webkit-autofill,
.input.text.g245 input:-webkit-autofill:hover, 
.input.text.g245 input:-webkit-autofill:focus {
  background-color: var(--gray-245);
  box-shadow: 0 0 0px 1000px var(--gray-245) inset !important;
}
.input.text input:placeholder-shown {
  height: 100%;
  padding: 0px 15px 0px 15px;
}
.input.text label {
  position: absolute;
  top: 10px;
  left: 15px;
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace;
  font-size: 9pt;
  font-weight: 400;
  transition: opacity 0.2s ease-out, top 0.2s ease-out;
}
.input.text input:placeholder-shown ~ label {
  opacity: 0;
  top: 15px;
}
.input.text .border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  transition: box-shadow 0.1s ease-out;
  pointer-events: none;
}
.input.text input:focus ~ .border {
  transition: box-shadow 0.2s ease-out;
  box-shadow: inset 0px 0px 0px 1.5px var(--fg) !important;
}

/*
input(type="button|submit") 
*/
input[type=button] {
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace;
  font-size: 12pt;
  font-weight: 700;
  width: 100%;
  max-width: 100%;
  height: 60px;
  border-radius: 15px;
  transition: box-shadow 0.1s ease-out, transform 0.1s ease-out, opacity 0.2s ease-out;
  background-color: var(--gray-230);
  cursor: pointer;
}
input[type=button].h45 {
  height: 45px;
}
input[type=button].h30 {
  height: 30px;
}
input[type=button].g245 {
  background-color: var(--gray-245);
}
input[type=button]:hover {
  box-shadow: inset 0px 0px 0px 1.5px var(--fg);
}
input[type=button]:active {
  transform: scale(0.975);
  box-shadow: inset 0px 0px 0px 1.5px var(--fg);
}

/*
.input.checkbox
  .checkwrapper
    input(type="checkbox|radio")
    label
    .checkbtn
*/
.input.checkbox {
  display: flex;
  width: 100%;
  min-height: 20px;
  align-items: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  justify-content: flex-end;
}
.input.checkbox .checkwrapper {
  position: relative;
  width: 100%;
  height: 100%;
  margin-right: 0px;
}
.input.checkbox label {
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace;
  font-size: 12pt;
  font-weight: 400;
  display: block;
  width: auto;
  min-height: 20px;
  line-height: 20px;
  pointer-events: none;
}
.input.checkbox.right label {
  text-align: right;
  margin-right: 30px;
}
.input.checkbox.left label {
  text-align: left;
  margin-left: 30px;
}
.input.checkbox.right.full label {
  text-align: left;
  margin-right: 30px;
}
.input.checkbox.left.full label {
  text-align: right;
  margin-left: 30px;
}
.input.checkbox input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: unset;
  opacity: 0;
}
.input.checkbox .checkbtn {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  box-shadow: inset 0px 0px 0px 0px var(--fg);
  transition: box-shadow 0.1s ease-out;
  pointer-events: none;
  border-radius: 100px;
  background-color: var(--gray-230);
}
.input.checkbox.right .checkbtn {
  right: 0;
}
.input.checkbox.left .checkbtn {
  left: 0;
}
.input.checkbox.g245 .checkbtn {
  background-color: var(--gray-245);
}
.input.checkbox .checkwrapper:hover input ~ .checkbtn {
  transition: box-shadow 0.1s ease-out;
  box-shadow: inset 0px 0px 0px 1.5px var(--fg);
}
.input.checkbox input:checked ~ .checkbtn, 
.input.checkbox .checkwrapper:hover input:checked ~ .checkbtn {
  transition: box-shadow 0.2s ease-out;
  box-shadow: inset 0px 0px 0px 20px var(--fg);
}
.input.checkbox input:disabled ~ label {
  color: rgb(128,128,128);
}
.input.checkbox .checkwrapper:hover input:disabled ~ .checkbtn {
  transition: box-shadow 0.1s ease-out;
  box-shadow: inset 0px 0px 0px 0px var(--fg);
}

.input.radio {
  position: relative;
  width: 100%;
  min-height: 90px;
  border-radius: 15px;
  background-color: var(--gray-230);
  display: flex;
  justify-content: flex-end;
}
.input.radio > label {
  position: absolute;
  top: 7.5px;
  left: 15px;
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace;
  font-size: 12pt;
  font-weight: 400;
  transition: opacity 0.2s ease-out, top 0.2s ease-out;
  line-height: 30px;
}
.input.radio.multiline label {
  top: 7.5px;
}
.input.radio .options {
  width: calc(50% - 15px);
  margin-right: 15px;
  padding-top: 15px;
  padding-bottom: 7.5px;
}
.input.radio .options .input {
  margin-bottom: 7.5px;
}



.input.select {
  position: relative;
  width: 100%;
  height: 60px;
  border-radius: 15px;
  background-color: var(--gray-230);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.input.select.multiline {
  height: 90px;
  display: block;
}
.input.select select {
  position: absolute;
  width: calc(50% - 15px);
  height: 30px;
  right: 15px;
  border-radius: 5px;
  background-color: var(--bg);
  border: none;
  padding-right: 5px;
  padding-left: 5px;
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace;
  font-size: 10pt;
  font-weight: 400;
  cursor: pointer;
  outline: none;
}
.input.select.multiline select {
  width: calc(100% - 30px);
  bottom: 15px;
}
.input.select select option {
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace;
  font-size: 10pt;
  font-weight: 400;
  background-color: var(--bg);
}
.input.select label {
  position: absolute;
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace;
  font-size: 12pt;
  font-weight: 400;
  transition: opacity 0.2s ease-out, top 0.2s ease-out;
  margin-left: 15px;
  line-height: 30px;
}
.input.select.multiline label {
  top: 7.5px;
}
.input.select .border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  transition: box-shadow 0.1s ease-out;
  pointer-events: none;
}
.input.select select:focus ~ .border {
  transition: box-shadow 0.2s ease-out;
  box-shadow: inset 0px 0px 0px 1.5px var(--fg) !important;
}


.input.range {
  position: relative;
  width: 100%;
  min-height: 60px;
  border-radius: 15px;
  background-color: var(--gray-230);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}
.input.range > label {
  position: absolute;
  top: 15px;
  left: 0;
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace;
  font-size: 12pt;
  font-weight: 400;
  transition: opacity 0.2s ease-out, top 0.2s ease-out;
  margin-left: 15px;
  line-height: 30px;
}
.input.range input[type=range] {
  position: absolute;
  top: 0;
  right: 0px;
  width: calc(50% + 15px);
  height: 100%;
  pointer-events: all;
  opacity: 0;
}
.input.range .slider {
  position: absolute;
  top: 0;
  right: 15px;
  width: calc(50% - 15px);
  height: 100%;
  pointer-events: all;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.input.range .slider .bar {
  width: 100%;
  height: 1.5px;
  background-color: var(--fg);
}
.input.range .slider .button {
  position: absolute;
  width: 0px;
  height: 30px;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.input.range .slider .button .e {
  position: absolute;
  width: 20px;
  height: 20px;
  box-shadow: inset 0px 0px 0px 1.5px var(--fg);
  transition: box-shadow 0.1s ease-out;
  pointer-events: none;
  border-radius: 100px;
  background-color: var(--gray-230);
}
.input.range input[type=range].mouse ~ .slider .button .e {
  transition: box-shadow 0.2s ease-out;
  box-shadow: inset 0px 0px 0px 20px var(--fg);
}
.input.range .slider .button .number {
  position: absolute;
  font-size: 10pt;
  top: -12.5px;
}
.input.range .slider > .number {
  position: absolute;
  opacity: 0;
}
.input.range.multiline {
  height: 90px;
}
.input.range.multiline > label {
  top: 7.5px;
}
.input.range.multiline input[type=range] {
  position: absolute;
  top: 15px;
  right: 0px;
  width: 100%;
  height: 100%;
  pointer-events: all;
  opacity: 0;
}
.input.range.multiline .slider {
  position: absolute;
  top: 15px;
  right: 15px;
  width: calc(100% - 30px);
  height: 100%;
  pointer-events: all;
  display: flex;
  align-items: center;
  pointer-events: none;
}



.input.file {
  position: relative;
  width: 100%;
  min-height: 60px;
  border-radius: 15px;
  background-color: var(--gray-230);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  pointer-events: none;
}
.input.file label {
  position: absolute;
  top: 15px;
  left: 0;
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace;
  font-size: 12pt;
  font-weight: 400;
  transition: opacity 0.2s ease-out, top 0.2s ease-out;
  margin-left: 15px;
  line-height: 30px;
}
.input.file .files {
  width: calc(50% - 15px);
  min-height: 30px;
  right: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-right: 15px;
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace;
  font-size: 12pt;
  font-weight: 400;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.input.file input[type=file] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: all;
  opacity: 0;
}
.input.file .border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  transition: box-shadow 0.1s ease-out;
  pointer-events: none;
}
.input.file input[type=file]:hover ~ .border {
  transition: box-shadow 0.2s ease-out;
  box-shadow: inset 0px 0px 0px 1.5px var(--fg) !important;
}
.input.file.drag .border {
  transition: box-shadow 0.2s ease-out;
  box-shadow: inset 0px 0px 0px 1.5px var(--fg) !important;
}

/*
.textarea
  textarea(placeholder="")
  label 
  .border
*/
.textarea {
  position: relative;
  width: 100%;
}
.textarea label {
  position: absolute;
  top: 10px;
  left: 15px;
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace;
  font-size: 9pt;
  font-weight: 400;
  transition: opacity 0.2s ease-out, top 0.2s ease-out;
}
.textarea textarea {
  margin: 0;
  vertical-align: bottom;
  width: calc(100% - 30px);
  max-width: calc(100% - 30px);
  min-width: calc(100% - 30px);
  height: 150px;
  border-radius: 15px;
  padding: 25px 15px 5px 15px;
  cursor: text;
  font-family: 'Poppins', 'Consolas', 'Noto Sans KR', 'Malgun Gothic', monospace;
  font-size: 12pt;
  font-weight: 400;
  line-height: 20px;
  word-break: break-all;
  background-color: var(--gray-230);
  transition: box-shadow 0.1s ease-out, transform 0.1s ease-out, opacity 0.2s ease-out;
}
.textarea textarea:placeholder-shown {
  padding: 15px 15px 15px 15px;
}
.textarea textarea:placeholder-shown ~ label {
  opacity: 0;
  top: 15px;
}
.textarea textarea:focus {
  box-shadow: inset 0px 0px 0px 1.5px var(--fg);
}