.form-group.required .form-control-label::before {
  content: "*";
  color: #c00;
}

.login-page {
  margin-top: 1em;
}

.login-page .login-form-nav .tab-pane {
  margin-top: 1em;
}

.login-page .login {
  margin-bottom: 0.938em;
}

.login-page .login .error-message-form {
  padding: 0.625em;
  background-color: #c00;
  color: #fff;
  border-radius: 0.188em;
}

.registration-page .privacy-policy {
  margin-top: 1rem;
}

.login-banner {
  background-image: url("../images/account.jpg");
  background-position-y: 40%;
}

.equal-height .card {
  width: 100%;
}

.track-order-header {
  font-size: 1.75rem;
}

.request-password-title {
  font-size: 1.5rem;
}

.common-form-sec {
  padding-top: 102px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.available-points {
  margin: 20px 0px;
}

.input_A input {
  padding: 0px 3px !important;
  height: 28px !important;
}

.input_res input {
  padding: 4px 0;
  border: 1px solid #000;
  border-width: 0 0 1px;
}

/* Remove inner padding just for login email/password fields 로그인시 이메일, 비밀번호 들여쓰기 없앰
.login .input_res input {
  padding: 0;
} */

#reset-password-email {
  padding: 4px 0;
  border: 1px solid #000;
  border-width: 0 0 1px;
}

#reset-password-email:hover {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.send-email-btn .btn_primary {
  margin-top: 20px;
}

#reset-password-email:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#submitEmailButton {
  margin-top: 65px;
}

#submitEmailButton:hover {
  opacity: 1;
}

.registration_form> :first-child {
  margin-top: 0 !important;
}

.registration_form>* {
  margin-top: 10px;
}

#login-common-sec.contents-form, 
#login-common-sec > .contents-form {
  width: 410px;
  min-height: calc(100vh - 600px);
  margin: 0 auto;
  padding: calc(72px + 81px) 0 0 0;
}

#login-common-sec>.login {
  grid-column: 6 / span 2;
  margin-top: 30px !important;
}

.r_title {
  padding-bottom: 30px;
}

div#reservation_mo:hover {
  opacity: 0.5;
}

.r_content-item {
  padding-left: 10px;
  text-indent: -10px;
  margin-bottom: 10px;
  list-style: none;
}

.r_content-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#reservation-form {
  padding-top: 108px;
}

.contents-form {
  position: relative;
  z-index: 0;
  padding: 0px 50px 30px 50px;
  margin: 0 auto;
  max-width: 650px;
  min-height: 95vh;
}

#membarBtn {
  margin-top: 40px;
}

.reg_title,
.reg-sub-title {
  grid-column: 6 / span 2;
  font-size: 12px;
  text-transform: uppercase;
}

.reg_forget_title {
  grid-column: 6 / span 2;
  padding-bottom: 40px;
  font-size: 12px;
  text-transform: uppercase;
}

[name=change-password-form],
.reset-password-form{
  grid-column: 6 / span 2;
}

.request-password-body > .form-group {
  margin-top: 40px;
}

.reset-password-btn a {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.input_res input:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn_tracking {
  border: none;
  background: transparent;
}

.btn_tracking:hover {
  color: #4E4E4E;
  text-decoration: underline;
}

.member_link>a,
.member_link>button {
  display: inline-block;
  margin: 0 10px;
  color: #4e4e4e;
  text-decoration: underline;
}

/* Remove extra spacing for links inside the login form 비밀번호 찾기 들여쓰기 없앰 */
.login .member_link>a,
.login .member_link>button {
  margin: 0;
}

.message.error {
  color: red;
}

.message {
  margin-top: 5px;
  color: #757575;
}

.joinBtn {
  margin-top: 20px;
}

.joinBtn .btn_secondary {
  width: 100%;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.trackorder {
  grid-column: 6 / span 2;
  margin-top: 80px;
}

.trackorder > .mb-4{
  margin-bottom: 30px !important;
}

.trackorder > .form-group.mt-3{
  margin-top: -5px !important;
}

/* 비회원 주문 조회 폼 - 로그인 아이디/비밀번호 필드와 동일한 정렬/패딩 적용 */
.trackorder .form-group.input_res {
  margin-left: 0;
}

.btn_secondary {
  width: 100%;
}

/* 로그인 버튼에 Hover 반투명 효과 없애기 위해 */
.login-btn:hover {
  /* background-color: #fff; */
  color: #000;
  opacity: 1;
  text-decoration: underline;
}

/* 회원가입 버튼에 Hover 반투명 효과 없애기 위해 */
.signup-btn:hover {
  /* background-color: #fff; */
  color: #fff;
  opacity: 1;
}

.btn_guest {
  margin-top: 20px;
}

.joinBtn .btn_primary {
  text-transform: uppercase;
}

.registration, 
.res-member-join{
  grid-column: 6 / span 2;
  margin-top: 40px !important;
}
.res-member-join{
  display: unset;
  text-align: right;
}
.res-member-join  .reg-sub-title{
  display: none;
}
[name=change-password-form] > .form-group,
.registration > .form-group{
  margin-bottom: 40px;
}
.registration .joinBtn > *:first-child{
  margin-bottom: 10px;
}

[name=change-password-form] .row{
  flex-direction: column;
  row-gap: 10px;
  margin: 0;
}
[name=change-password-form] .row .col{
  padding: 0;
}
[name=change-password-form] .row .col button, 
[name=change-password-form] .row .col a{
  margin-top: 0;
}

/* .res-member-join {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 10px 0px;
}

.res-member-join h2 {
  font-size: 16px;
  color: #2e2e2e;
  font-weight: 400;
} */

label {
  margin-bottom: 0px;
}

.check_group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.check_group.list {
  flex-direction: column;
  margin-top: 40px;
}

.loginlist {
  margin-top: 10px !important;
  margin-bottom: 40px;
}

.sign_up .form_list>.check_group:last-child {
  padding: 0 15px;
}

.check_group>li {
  position: relative;
  list-style: none;
}

.check_group .check_group {
  padding: 14px 24px 0;
}

.check_group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.form-control {
  border-radius: 0px !important;
}

.check_group.list button {
  position: absolute;
  right: 0;
  top: 0;
}

.res_check_item {
  font-size: 14px;
  position: relative;
  line-height: 1.5;
}

.res_check_item input {
  position: absolute;
  left: 0;
  top: 2px;
  width: 15px;
  height: 15px;
  opacity: 0;
  /* Hide the native checkbox */
  cursor: pointer;
}

.res_check_item label {
  position: relative;
  display: inline-block;
  min-height: 14px;
  padding-left: 24px;
  word-break: keep-all;
  cursor: pointer;
}

.res_check_item label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 15px;
  height: 15px;
  border: 1px solid #000;
  background-color: #fff;
}

.res_check_item input:checked+label::before {
  background-color: black;
  border-color: black;
}

.listfirst {
  margin-bottom: 10px;
}

.custom-control-input:not(:disabled):active~.custom-control-label::before {
  color: #000 !important;
  background-color: #000 !important;
  border-color: #000 !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.text-muted{
  margin-top: 5px;
}

.input_item.password_wrap > div + div {
  margin-top: 6px;
}

@media only screen and (max-width: 1025px) {
  .user_login {
    margin-top: 132px;
  }

  #login-common-sec.contents-form{
    display: block;
    padding: 10rem 1.6rem 0 !important;
  }
  #login-common-sec > .contents-form {
    display: block;
    padding: 13rem 1.6rem 0 !important;
  }

  .trackorder > .form-group.mt-3{
    margin-top: 2rem !important;
  }

  .request-password-body .btn_secondary.mt-2 {
    margin-top: 1rem !important;
  }

  .check_group.list.ml-4{
    margin-left: calc(5rem - 1.6rem) !important;
  }

  .text-muted{
    margin-top: 1.5rem;
  }

  #login-common-sec.contents-form, 
  #login-common-sec > .contents-form {
    width: unset;
  }
}