
/* General */
h3 {
  text-align: center;
  font-size: 2.2rem;
}

input:not(.form-check-input) {
  padding: 1.3rem; 
  font-size: 1.4rem;
}

.input-group-text {
  width: 4rem;
  justify-content: center;
  background-color: #fff;
}

.form-check-input {
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 3px; 
}

.form-check-label {
  font-size: 1.4rem;
  color: var(--color-grey-70); 
}

ins {
  color: var(--color-grey-60);
  cursor: pointer;
}

.form-control {
  padding: .8rem 1.3rem; 
  font-size: 1.3rem;
  border-top-right-radius: 2px !important;
  border-bottom-right-radius: 2px !important;
}

/* Sign up */
nav.navbar:has(#topMessageBar-wrapper) {
  display: block;
}

#topMessageBar-wrapper {
  width: 100%;
  flex-basis: 100%;
}


#signup #password > span + input + svg, 
#signup #password2 > span + input + svg {
  z-index: 100;
  position: absolute;
  top: 1rem;
  right: 2rem;
  cursor: pointer;
}

.realname-message,
.email-message,
.pwd-message,
.pwd-message2,
.referral-message {
  color: var(--color-grey-60);
  font-size: 1.2rem;
}

input::placeholder {
  font-size: 1.4rem;
  color: #9EA4AA; 
}

/* Signup modals */
.modal-body.contract {
  padding: 1rem;
  text-align: justify;
  font-size: 1.2rem;
  color: var(--color-grey-60);
}

.modal-body.contract > div > ul, .modal-body.contract > div> ol {
  padding: 0; 
  margin: 0;
  margin-bottom: 1.6rem;
}

.modal-body.contract ul, .modal-body.contract ol {
  list-style: inside;
  text-align: justify;
}

.modal-body.contract ul {
  list-style-type: none;
}

.modal-body.contract ol {
  list-style-type: decimal;
}

.modal-body.contract ul.detail {
  margin: 5px; 
  list-style-type: "•  ";
}

/* Signup-success, Verification, ServiceError */
#signup-success img {
  max-width: 15rem;
  margin: 5rem 0; 
}

#verification img, 
#email-repeat img {
  max-width: 22rem; 
  margin: 8rem 0; 
}

#signup-success .content {
  color: var(--color-grey-80);
}

#signup-success .content .btn {
  margin: 2rem 0;
}

#signup-success .content .btn:disabled {
  margin: 3rem 0;
  color: #9ea4aa;
  background-color: #e8ebed;
  border: none;
  font-weight: 600;
  cursor: not-allowed;
}

#signup-success .resend-message {
  display: table;
  margin: 0 auto;
  font-size: 1.4rem;
  color:var(--color-grey-60);
  text-decoration: underline;
  text-underline-position: under;
}

#signup-success .resend-message + ul {
  border: solid 1px var(--color-brown-50);
  background-color: var(--color-brown-20);
  color: var(--color-brown-50);
  line-height: 1.8;
}

#signup-success .resend-message + ul li:last-child {
  padding: 1rem;
  background-color: #fff;
  text-align: center;
  color: var(--color-grey-70);
  font-size: 1.4rem;
}

#btn-check:disabled {
  background-color: #EBEBED;
  color: #9EA4AA;
  vertical-align: middle;
}

#verification .content .btn {
  width: 85%;
  margin-top: 5rem;
}

#email-repeat .content .btn {
  margin: 8rem 0; 
}

#signup-success .content a {
  color: #9EA4AA;
  text-decoration: underline;
}

#signup-success + .notice {
  padding: 3rem;
  color: var(--color-grey-70);
  background-color: var(--color-grey-20);
  font-size: 1.2rem;
}

#signup-success + .notice > p {
  margin: 1rem 0;
}

#signup-success + .notice ul {
  list-style: inside;
}

#signup-success + .notice li {
  font-weight: 300;
  list-style-type: '- ';
  line-height: 1.8rem;
}

/* Login */
form#login ~ div a {
  font-size: 1.3rem;
  color: var(--color-grey-60);
}
.btn-signup-wrapper .position-absolute {
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  text-align: center;
  padding: 4px 8px;
  font-size: 1.2rem;
  color: #fff;
  background-color: var(--color-grey-80);
  border-radius: 6px;
  line-height: 1.6;
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.15);
}
.btn-signup-wrapper .position-absolute span {
  color: #3beaff;
}
.btn-signup-wrapper .position-absolute::before {
  position: absolute;
  bottom: -3px;
  left: 50%;
  content: ' ';
  border-radius: 2px;
  background-color: var(--color-grey-80);
  width: 8.5px;
  height: 8.5px;
  transform: translateX(-50%) rotate(135deg);
}

.newp-message,
.newp-message2 {
  font-size: 1.1rem;
}

/* Quit */
main#quit h4 {
  font-weight: bold;
}

main#quit .btn-red-fill {
  border-radius: 5px;
  font-size: 1.5rem;
}

main#quit .grey-box:has(a) * {
  font-weight: bold;
}

ul.note {
  list-style: inside;
  list-style-type: '-  ';
  padding-left: 3rem;
}
ul.note li {
  list-style-position: outside;
}

#quit .balance p:last-child {
  font-size: 1.3rem;
  color: var(--color-grey-60);
  margin-top: .5rem;
}
#quitWithAssetModal ul + p {
  display: none;
}

#survey h4 {
  font-weight: 400;
  margin: 3rem;
}

#survey form {
  padding: 2.2rem 5px;
  border-top: 1px solid var(--color-grey-40);
  border-bottom: 1px solid var(--color-grey-40);
  font-weight: 500;
}

.form-check-label {
  color: #1B1D1F;
}

#quit .form-check:not(:last-child) {
  padding-bottom: 1.4rem;
}

#survey textarea {
  width: 100%;
  height: 20vh;
  margin-top: 8px;
  padding: 1.4rem;
  color: var(--color-grey-70); 
  resize: none;
}

#survey textarea::placeholder {
  color: #9EA4AA;
}

/* Findpw */
#checkEmail input {
  margin-top: 5px;
  display: inline-block; 
  width: 100%;
}

#checkEmail svg {
  position: absolute; 
  top: 2rem; 
  right: 1.4rem; 
}

#findpw #form-newp #password, 
#findpw #form-newp #password2 {
  position: relative;
}

#findpw #form-newp .pw-old + svg,
#findpw #form-newp .pw-new + svg {
  position: absolute;
  top: 3.5rem;
  right: 2rem; 
}

#findpw #newp-success .btn {
  width: 100%; 
  margin-top: 3rem;
}

#findpw #newp-success p {
  font-size: 1.6rem;
}

#findpw #newp-success > div {
  margin-top: 100px; 
}

/* Findid */
#foundid {
  padding: 1rem; 
  background-color: var(--color-grey-20);
}

/* Pass login */
#nicecp form div:nth-child(2) p {
  color: var(--color-grey-60);
}

