:root {
  --rg-main-text-color: #ffffff;
  --rg-seccound-text-color: #000000;
  --rg-web-bg: #0d0101;
  --rg-web-img-bg: url(/web/hd99/images/bg-web.webp);
  --rg-card-gradient: linear-gradient(0deg, #560001d5 0%, #3d0001d2 100%);

  --rg-submit-btn: linear-gradient(to left, #e7c244, #e5cc81, #ffd679, #e1a626, #b4802c);
  --rg-submit-border: #e4bd5f;
  --rg-border-shadow: #8b6c39d1 0px 5px 15px;
  --rg-highlight-text: #d4a110;
  --rg-step-active: #e7bd75;
  --rg-select-bank: #d4a110;
  --rg-select-type-bank-account: linear-gradient(to left, #e7c244, #e5cc81, #ffd679, #e1a626, #b4802c);
  --rg-select-type-bank-account-border: #e7c244;
  --rg-input-register: #200001;
  --rg-input-placeholder: #ffffffbc;
  --rg-multi-login-bg: #010d1d;
}

body.register-style {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Kanit', sans-serif;
  color: var(--rg-main-text-color);
  min-height: 100vh;
  background-color: var(--rg-web-bg);
  background-image: var(--rg-web-img-bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: top;
}

.register-style a {
  text-decoration: none;
  color: var(--rg-main-text-color);
}

/* login */
.register-style .input-group {
  position: relative;
}

.register-style .input-group input {
  background-color: transparent;
  border: none;
  outline: none;
  position: absolute;
  top: 57%;
  left: 25%;
  right: 0;
  width: 65%;
  height: 30px;
  color: var(--rg-main-text-color);
  cursor: text;
}

.register-style .input-group i {
  position: absolute;
  top: 60%;
  right: 18px;
  color: var(--rg-main-text-color);
}

.register-style .login-card-img {
  width: 100%;
  max-width: 400px;
}

.register-style .form-grouping,
.register-style .form-grouping img {
  width: 100%;
}

.register-style .submit-btn {
  border: none;
  border-radius: 30px;
  padding: 8px 24px;
  width: 100%;
  max-width: 180px;
  font-size: 18px;
  color: var(--rg-seccound-text-color);
  background-image: var(--rg-submit-btn);
}

.register-style .logo-web-login {
  max-width: 70%;
}

/* new register */
.register-style .register-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  gap: 20px;
}

.register-style .register-container select {
  border: none;
  outline: none;
  padding: 0 10px;
  width: 100%;
  height: 50px;
  cursor: pointer;
  color: var(--rg-main-text-color);
  background-color: var(--rg-input-register) !important;
}

.register-style .register-container .form-select:disabled {
  pointer-events: none;
  color: var(--rg-main-text-color) !important;
  background-color: var(--rg-input-register) !important;
}

.register-style .noti-password.warning {
  color: var(--rg-step-active);
}

.register-style .form-grouping.step-container {
  max-width: 400px;
  margin-top: 20px;
  padding: 20px 12px;
  background: var(--rg-card-gradient);
  border-radius: 24px;
  border: 3px solid var(--rg-submit-border);
}

.register-style .tab-step {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-around;
  padding: 10px 0px 20px 0px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--rg-main-text-color);
}

.register-style .tab-step div.-active {
  color: var(--rg-step-active);
}

.register-style .divider-progress {
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -2px;
  background: var(--rg-step-active);
}

.register-style .divider-progress::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--rg-step-active);
  right: 0;
  top: -3px;
  border-radius: 50px;
}

.register-style .step-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.register-style .step-wrapper .bank-list {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.register-style .step-wrapper .bank-list li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px;
  margin: 5px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.register-style .step-wrapper .bank-list li.-active {
  background-color: var(--rg-input-register);
}

.register-style .step-wrapper .bank-list li img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 100%;
}

.register-style .input {
  width: 100%;
  height: 50px;
  padding: 0 10px;
  background-color: var(--rg-input-register);
  color: var(--rg-main-text-color);
  border: none;
  outline: none;
}

.register-style .input::placeholder {
  color: var(--rg-input-placeholder);
}

/* bank */
.register-style .bank-account-container {
  width: 100%;
}

.register-style .bank-account-wrapper {
  margin-top: 10px;
  width: 100%;
  display: flex;
  gap: 10px;
}

.register-style .bank-account-wrapper .bank-account {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  width: 100%;
  border: 2px solid var(--rg-select-type-bank-account-border);
  cursor: pointer;
}

.register-style .bank-account.active {
  background: var(--rg-select-type-bank-account);
  color: var(--rg-seccound-text-color);
}

.register-style :deep(select) {
  position: static;
}

.register-style .input-name-account {
  display: flex;
  gap: 10px;
  width: 100%;
}

.register-style .button-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 6px;
}

.register-style .button-container .submit-btn {
  min-width: 130px;
}

.register-style .button-step2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.register-style .next-btn {
  margin-top: 40px;
}

.register-style .go-to-login {
  margin-top: 10px;
}

.register-style .go-to-login a {
  color: var(--rg-highlight-text);
}


/* new login-sticky-contact */
.register-style .stk-login-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  align-items: center;
  min-height: 100vh;
  position: relative;
}

.register-style .multi-contact {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  right: 0;
  bottom: 40px;
  width: 65px;
  height: 185px;
  padding: 8px;
  border-radius: 12px;
  background: var(--rg-multi-login-bg);
}

.register-style .multi-contact img {
  width: 100%;
}

.register-style .stk-login-card {
  background: var(--rg-card-gradient);
  padding: 12px;
  margin-top: 20px;
  max-width: 400px;
  border-radius: 24px;
  text-align: center;
  color: var(--rg-main-text-color);
  border: 3px solid var(--rg-submit-border);
}

.register-style .stk-login-card .login-item {
  margin-bottom: 16px;
}

.register-style .stk-login-title {
  font-size: 28px;
}

.register-style .stk-login-card .input-group input {
  width: 70%;
  left: 20%;
}

.register-style .stk-register {
  font-size: 24px;
}

.register-style .language {
  font-size: 16px;
}


/* responsive */
@media screen and (max-width: 575px) {
  .register-style * {
    font-size: 14px;
  }

  .register-style .bottom-text * {
    font-size: 12px;
  }

  .register-style .input-group input {
    top: 54%;
  }
  .register-style .input-group i {
    top: 58%;
  }
}

@media screen and (max-width: 300px) {
  .register-style .bottom-text {
    bottom: -80px;
  }
}