/* 초기값  */
body {
  background-color: var(--smcw-color-body);
  box-sizing: border-box;
  font-size: 16px;
  margin: 0;
  overflow-y: visible;
}

input,
select,
textarea {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

input:focus {
  color: white !important;
}

.form-control {
  background-color: var(--smcw-color-report-patient) !important;
  color: #ffffff !important;
  border: none !important;
}

.frame3 {
  display: flex;
}

.institution-logo,
.institution-logo2 {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 200px;
  height: 50px;
  margin: 20px 20px;
}

/* ID 자동완성 시 배경, 글자색 설정 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--smcw-color-report-patient) inset !important;
  -webkit-text-fill-color: #ffffff;
}

.schema-element {
  font-weight: bold;
  font-size: 15px;
  margin-right: 15px;
  cursor: pointer;
  width: fit-content;
  float: left;
}

.schema-active {
  color: #05c3a7;
}

.frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--smcw-color-tab-content);
  width: max-content;
  padding: 20px;
  height: 480px;
  position: relative;
  top: calc(50% - 240px);
}

.frame1 {
  text-align: center;
  margin-bottom: 40px;
}

@font-face {
  font-family: 'moebius_regular';
  src: url(../../fonts/moebius_regular/Moebius_Regular.ttf) format('truetype');
  font-display: swap;
}

.frame2 {
  width: 588px;
  color: #666982;
}

.frame2-1 input,
.frame2-2 input {
  outline: none;
  background-color: var(--smcw-color-report-patient);
  border: none;
  color: #ffffff;
  font-size: 18px;
  width: 520px;
  height: 52px;
  margin-bottom: 15px;
  padding: 16px 20px 16px 20px;
}

.login-button {
  margin-top: 20px;
  white-space: nowrap;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  width: 520px;
  height: 64px;
  border: none;
}

.login-button {
  background: var(--smcw-color-login-button);
}

.vet-login-button {
  background: #782eff;
}

#forgot,
#forgot:hover,
.signup-button,
.signup-button:hover {
  cursor: pointer;
  color: white;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  text-decoration: none;
}

.seperate {
  margin: 0px 5px;
  color: #d9d9d9;
}

/* 체크박스 디자인 */

input[id='remember'] + label {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #878787;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
}

input[id='remember']:checked + label {
  content: '\2714';
  background-color: #05c3a7;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

input[id='remember'] {
  display: none;
}

.frame2-3 {
  margin-top: 20px;
  display: flex;
  color: #878787;
  width: 520px;
  justify-content: space-between;
}

.frame2-4 {
  margin-top: -10px;
  color: #878787;
  display: flex;
  justify-content: space-evenly;
  align-self: center;
}

.institution-select {
  max-width: 500px;
}

/* 모바일 뷰어 */
@media screen and (max-width: 767px) {
  body {
    overflow: hidden;
  }

  .frame {
    top: 50px;
  }

  .frame2 {
    width: 90vw;
  }

  .institution-logo,
  .institution-logo2 {
    width: 200px;
    height: 100px;
  }

  .frame2-1 input,
  .frame2-2 input {
    padding: 10px;
    margin: 8px 0;
    width: 100%;
    border-radius: 8px;
  }

  .bottom-area {
    display: none;
  }

  .frame2-4 {
    margin-top: 0px;
  }

  .login-button {
    width: 90vw;
    padding: 23px 0;
  }

  .frame2-3 {
    display: flex;
    flex-direction: column;
    width: auto;
  }

  #forgot {
    text-align: center;
  }

  .company-info {
    display: none !important;
  }
}

.ui-autocomplete {
  max-height: 300px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
  position: absolute;
  cursor: default;
  z-index: 10000000000 !important;
}

.login-form {
  position: relative;
  text-align: -webkit-center;
  height: calc(100% - 120px);
}

.login-title {
  font-weight: 400;
  font-size: 32px;
  line-height: 36px;
  color: #ffffff;
  margin-top: 50px;
}
