/* WGM auth style — copied from worldgreenmech.com/tw/tw_registration_1.asp (extracted via puppeteer) */
:root {
  --wgm-dark: #282828;
  --wgm-yellow: #FABE00;
  --wgm-btn-text: #fcc900;
  --wgm-bg: #efefef;
  --wgm-input-bg: #d7d7d7;
  --wgm-input-border: #f7f7f7;
  --wgm-text: #333333;
}

body.wgm-auth {
  font-family: "微軟正黑體", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  color: var(--wgm-text);
  background: #ffffff;
}

.wgm-container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* breadcrumb bar */
.inside-bar { background: var(--wgm-bg); padding: 24px 0 48px; }
.inside-bar h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--wgm-dark); letter-spacing: -1px; }
.inside-bar h3 span { font-size: 36px; font-weight: 700; color: var(--wgm-dark); }

/* content area */
.wgm-content { background: var(--wgm-bg); padding: 25px 0 60px; overflow: hidden; }
.login_content { max-width: 560px; margin: 0 auto; padding: 0 16px; }

/* ---- login page (mirrors worldgreenmech tw_login.asp) ---- */
h1.login_title {
  font-size: 39px; font-weight: 700; color: #d7d7d7;
  text-align: center; margin: 0 0 30px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
h1.login_title .title-icon {
  width: 50px; height: 50px; margin-right: 10px; vertical-align: -12px;
}
.login_content .form-group { margin: 0 0 25px; }
.login_content .form-control { color: #777; }
.login_content .form-control::-webkit-input-placeholder { color: #fff; font-weight: 700; }
.login_content .form-control::-moz-placeholder { color: #fff; font-weight: 700; opacity: 1; }
.login_content .form-control::placeholder { color: #fff; font-weight: 700; }
.login_content .form-control:focus {
  border-color: #fff; outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(200, 150, 0, .6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(200, 150, 0, .6);
}
.login-btn {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; overflow: hidden;
}
.login-btn .forgot-link {
  font-size: 22px; font-weight: 700; color: #008a3f;
  border-bottom: 1px solid #008a3f; text-decoration: none;
}
.btn_login {
  display: inline-block; box-sizing: border-box;
  width: 110px; height: 45px; line-height: 45px; text-align: center;
  padding: 0; border: 0; border-radius: 3px;
  background: #bc973d; color: #000;
  font-family: inherit; font-size: 20px; font-weight: 700;
  cursor: pointer;
  box-shadow: inset -2px -3px 2px rgba(0, 0, 0, 0.1),
              inset 2px 3px 2px rgba(255, 255, 255, 0.3),
              2px 2px 2px rgba(0, 0, 0, 0.2);
  transition: background 0.15s;
}
.btn_login:hover { background: #e9c773; }
.btn_login .arrow { font-size: 18px; }
.login-text {
  font-size: 22px; font-weight: 700; color: #282828;
  margin: 10px 0 30px;
}
.login-text a {
  color: #008a3f; border-bottom: 1px solid #008a3f; text-decoration: none;
}

/* step circles */
.number-point { margin: 0 0 20px; }
.number-point ul { display: flex; justify-content: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.number-point li {
  box-sizing: border-box;
  width: 64px; height: 64px;
  border: 5px solid var(--wgm-yellow);
  border-radius: 50%;
  background: var(--wgm-dark);
  color: var(--wgm-yellow);
  font-family: Arial, sans-serif;
  font-size: 26px; font-weight: 700;
  line-height: 54px; text-align: center;
}

/* intro text */
.wgm-text { margin: 0 0 15px; font-size: 17px; line-height: 28px; color: var(--wgm-dark); text-align: center; }
.wgm-text .note { color: red; }

/* inputs */
.form-group { margin: 0 0 15px; }
.form-control {
  display: block;
  box-sizing: border-box;
  width: 100%; height: 62px;
  padding: 6px 12px 6px 45px;
  font-family: inherit; font-size: 20px; font-weight: 700; color: #777777;
  background-color: var(--wgm-input-bg);
  border: 6px solid var(--wgm-input-border);
  border-radius: 10px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  outline: none;
}
.form-control:focus { background-color: #e0e0e0; }
.form-control::placeholder { color: #777777; font-weight: 700; opacity: 1; }
.input-mail {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 2-8 5-8-5h16zM4 8.5V18h16V8.5l-8 5-8-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 14px center; background-size: 22px;
}
.input-lock {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'%3E%3Cpath d='M12 17a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6-7h-1V7a5 5 0 0 0-10 0v3H6a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1zM9 7a3 3 0 0 1 6 0v3H9V7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 14px center; background-size: 22px;
}

/* buttons */
.next-btn { text-align: center; }
.btn_con {
  display: inline-block;
  box-sizing: border-box;
  width: 170px; height: 50px;
  padding: 0 12px;
  border: 0; border-radius: 5px;
  background: var(--wgm-dark);
  color: var(--wgm-btn-text);
  font-family: inherit; font-size: 22px; font-weight: 700; line-height: 49px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn_con:hover { background: var(--wgm-yellow); color: var(--wgm-dark); }
.btn_con .arrow { font-size: 20px; }

/* footer */
.wgm-footer { background: #000000; text-align: center; padding: 20px 16px; }
.wgm-footer .footer-info { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 0 30px; margin: 0 0 12px; padding: 0; }
.wgm-footer .footer-info li { color: var(--wgm-yellow); font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
.wgm-footer .footer-info a { color: var(--wgm-yellow); text-decoration: none; }
.wgm-footer .copyright { color: #cccccc; font-size: 14px; margin: 0; }

/* messages on auth pages */
.wgm-content .err { color: #cc0000; text-align: center; }
.wgm-content .ok { color: #2a7d2a; text-align: center; }
.wgm-content a { color: var(--wgm-dark); font-weight: 700; }

@media (max-width: 767px) {
  .inside-bar { padding: 16px 0 32px; }
  .number-point li { width: 52px; height: 52px; line-height: 42px; font-size: 22px; }
  h1.login_title { font-size: 30px; margin: 20px 0 15px; }
  h1.login_title .title-icon { width: 40px; height: 40px; vertical-align: -8px; }
  .login_content .form-control { border-width: 4px; height: 55px; }
  .login_content .form-group { margin-bottom: 20px; }
}

@media (max-width: 480px) {
  .login_content { width: 100%; max-width: none; padding: 0 12px; }
  .login_content .form-control { font-size: 18px; padding-left: 40px; }
}
