
body {
  height: 100%;
  background-color: white;
  background-image: url();
}

#app-bar-wrapper{
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#referral-container{
  margin-top: 32px;
}
.container.no-app-bar-container{
  padding-top: 32px;
}

select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAMAAACtdX32AAAAdVBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhMdQaAAAAJ3RSTlMAAAECAwQGBwsOFBwkJTg5RUZ4eYCHkJefpaytrsXGy8zW3+Do8vNn0bsyAAAAYElEQVR42tXROwJDQAAA0Ymw1p9kiT+L5P5HVEi3qJn2lcPjtIuzUIJ/rhIGy762N3XaThqMN1ZPALsZPEzG1x8LrFL77DHBnEMxBewz0fJ6LyFHTPL7xhwzWYrJ9z22AqmQBV757MHfAAAAAElFTkSuQmCC) !important;
  background-position: 100%  !important;
  background-repeat: no-repeat  !important;
}

#phone-verify-container input::-webkit-outer-spin-button,
#phone-verify-container input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

#phone-verify-container input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

#replacer-area-code-input
,#area-code-input {
  height: 40px;
  font-size: 16px;
  min-width: unset;
}

#switch-email-refer
, #switch-phone-refer {
  color: #666;
  text-decoration: underline;
  cursor: pointer;
  user-select: none
}

.mt-6 {
  margin-top: 6px !important;
}
.pl-5 {
  padding-left: 5px !important;
}
.pl-10 {
  padding-left: 10px !important;
}
.pr-10 {
  padding-right: 10px !important;
}
.p-0 {
  padding: 0px !important;
}

.container {
  align-items: initial;
  background-color: white;
  display: block;
  justify-content: initial;
  min-height: 100%;
  padding: 0;
}

#verify-phone-container {
  position: relative;
}

.info-input-label {
  text-align: left !important;
}

#verify-btn,
#verify-loading-btn,
#confirm-btn {
  width: 100%;
  height: 42px;
  margin-top: 32px;
}
#goToMemberButton .font-style{
  color: white;
  font-family: inherit;
  font-weight: 100;
}

.question-section-hide {
  display: none;
}

.open-section-btn {
  padding: 0;
}

.open-section-btn-hide {
  display: none;
}

#tc {
  height: 60vh;
  overflow: auto;
  width: 100%;
}

#privacy-modal iframe {
  border: 0;
  height: inherit;
  width: 100%;
}

.modal-content {
  margin-top: 65px;
}

#tc-modal-iframe { 
  height: inherit;
}

.modal-content .modal-body {
  height: 60vh;
  /* max-height: 500px; */
}

.modal-dialog{
  overflow-y: initial !important;
  position: absolute;
  left: 0;
  right: 0;
}
/* member/verify-phone.php only: modals take 90% of the screen width */
.modal-dialog {
  width: 90%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.modal-dialog .modal-content{
  border-radius: 24px;
}
.modal-body{
  height: 400px;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

#tc-modal.modal,
#privacy-modal.modal {
  z-index: 1210;
}

#tc-modal.fade.show,
#privacy-modal.fade.show {
  opacity: 1;
}

.modal-backdrop {
  z-index: 1200;
}

.shop-info-div {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 30px;
}

.shop-icon {
  width: 80px;
}

.shop-name {
  font-size: 16px;
  font: lighter;
}

.success-text {
  color: rgb(121, 170, 24);
  font-size: 1.3em;
}

.fail-text {
  color: rgb(190, 24, 60);
  font-size: 1.3em;
}

.shop-icon {
  border-radius: 5px !important;
}
.reg-form {
  padding-left: 0px;
  padding-right: 0px;
  width: 90%;
}
.reg-form-label {
  color: #333;
  font-size: 16px;
}

.reg-form-bar {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: large;
}
.reg-form-text {
  border: none !important;
  display: block;
  width: 100%;
  height: 42px !important;
  padding: 6px 12px !important;
  font-size: 14px !important;
  line-height: 1.42857143;
  color: #555;
  border-radius: 10px;
  margin-top: 6px !important;
  box-shadow: none !important;
  border: 1px solid #DBDBDB !important;
}
.reg-form-text:focus {
  outline: none !important;
}

.reg-form-text::placeholder {
  color: #bcc1ca;
  font-weight: bold;
}

.reg-form-radio-div {
  margin-top: 8px !important;
  color: #666 !important;
  display: flex;
  align-items: center;
}
.reg-form-radio {
  width: 15px;
  height: 15px;
  margin: 0px !important;
}
.reg-form-radio-label {
  margin-bottom: 0px !important;
  margin-left: 5px !important;
}

.reg-form-radio-gender-div {
  display: flex !important;
  height: 42px;
  width: 100%;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 30px;
  box-shadow: none !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--themeColor);
  color: var(--themeColor);
}

.reg-form-radio-gender-div[checked] {
  background-color: var(--themeColor);
  color: white;
}

.reg-form-radio-gender-div input {
  visibility: hidden;
  width: 0px;
}

.reg-form-radio-gender-div .reg-form-radio-label {
  margin-left: 0px !important;
}

.reg-form-checkbox-div {
  display: flex !important;
  border: 1px solid #DBDBDB;
  height: 42px;
  width: 100%;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 10px;
  margin-top: 15px !important;
  box-shadow: none !important;
  align-items: center;
  cursor: pointer;
}

.reg-form-custom-radio-div {
  display: flex !important;
  border: 1px solid #DBDBDB;
  height: 42px;
  width: 100%;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 10px;
  margin-top: 15px !important;
  box-shadow: none !important;
  align-items: center;
  cursor: pointer;
}

.disabled {
  background-color: #eee;
  opacity: 1;
}

.must-field {
  font-size: 20px;
  margin-left: 1px;
  color: darkred;
}

.span-label {
  font-weight: 700;
  color: rgb(102, 102, 102);
}

.reg-form-checkbox-div > label {
  pointer-events: none;
}

::selection { background: transparent; }
::-moz-selection { background: transparent; }

#fb-login-content {
  display: none;
}

/* Shared */
.loginBtn {
  box-sizing: border-box;
  position: relative;
  /* width: 13em;  - apply for fixed size */
  margin: 0.2em;
  padding: 0 15px 0 46px;
  border: none;
  text-align: left;
  line-height: 34px;
  white-space: nowrap;
  border-radius: 0.2em;
  font-size: 16px;
  color: #FFF;
}
.loginBtn:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 100%;
}
.loginBtn:focus {
  outline: none;
}
.loginBtn:active {
  box-shadow: inset 0 0 0 32px rgba(0,0,0,0.1);
}


/* Facebook */
.loginBtn--facebook {
  background-color: #4C69BA;
  background-image: linear-gradient(#4C69BA, #3B55A0);
  /*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
  text-shadow: 0 -1px 0 #354C8C;
}
.loginBtn--facebook:before {
  border-right: #364e92 1px solid;
  background: url('../../common/images/ico_facebook.png') 6px 6px no-repeat;
}
.loginBtn--facebook:hover,
.loginBtn--facebook:focus {
  background-color: #5B7BD5;
  background-image: linear-gradient(#5B7BD5, #4864B1);
}

.new-card-header{
  background-color: #F0F5E9;
  border: 2px solid #AAD891;
  border-radius: 20px 20px 0 0;
  border-bottom: 0px;
}

.new-card-body{
  background-color: #F0F5E9;
  border: 2px solid #AAD891;
  border-radius: 0 0 20px 20px;
  border-top: 0px;
}

.modal-button {
  flex: 1;
  margin: calc(var(--bs-modal-footer-gap) * .5) !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.back-btn + .action-btn.modal-button{
  margin-left: 16px !important;
}

.button-footer{
  margin-left: 16px;
  margin-right: 16px;
}

.modal-reminder{
  padding: 4px 0 4px 28px;
  margin-top: 8px;
  background-color: #eee;
  color: #000;
  transition: all ease-in 0.3s;
}

.modal-reminder.modal-hidden{
  background-color: #fff;
  color: #fff;
}

@media only screen and (max-width: 600px) {
  .mt-6 {
    margin-top: 4px !important;
  }
}

#area-code-input{
  height: 40px;
  font-size: 16px;
  border: 1px solid #ced4da;
}

.phone-input-row {
  display: flex !important;
}

.country-code-div {
  width: 32% !important;
}

.phone-div {
  flex-grow: 1 !important;
  padding-left: 30px !important;
}

.octopus-containter{
    display: flex;
    gap: 1rem;
}

.octopus-input-containter{
    flex-grow: 1;
}

.octopus-check-digit-containter{
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    padding: 0px !important;
    width: 3rem;
}

.custom-select-fallback {
    cursor:pointer; 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    min-width: 8em; 
    background-color: #fff; 
    border: 1px solid #ced4da; 
    border-radius: var(--bs-border-radius-xl);
}