/* Standalone forgot-password page styles. BIG5-safe ASCII. */
html { overflow-y: scroll; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }

body { margin: 0; color: #263442; }

#wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#wrap > .hidden-xs.hidden-sm,
#wrap > .visible-xs-block.visible-sm-block { margin-top: auto; }

.forgotpwd-container {
  width: calc(100% - 24px);
  max-width: 720px;
  margin: 46px auto 70px;
}

.forgotpwd-panel {
  overflow: hidden;
  border: 1px solid #dfe7ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(40, 67, 84, .08);
}

.forgotpwd-title {
  margin: 0;
  padding: 20px 26px;
  border-bottom: 1px solid #dfe7ed;
  color: #263442;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
  text-align: left;
}

.forgotpwd-content { padding: 26px 32px 34px; }

.forgotpwd-intro {
  margin: 0 0 24px;
  padding: 13px 16px;
  border: 1px solid #cfe0ea;
  border-radius: 8px;
  background: #f0f7fb;
  color: #52616f;
  font-size: 14px;
  line-height: 1.6;
}

.forgotpwd-form {
  display: block;
  width: 100%;
  margin: 0;
}

.forgotpwd-field { margin-bottom: 18px; }

.forgotpwd-field label {
  display: block;
  margin: 0 0 7px;
  color: #52616f;
  font-size: 15px;
  font-weight: bold;
}

.forgotpwd-field .form-control {
  width: 100%;
  height: 42px;
  padding: 9px 12px;
  border: 1px solid #cbd8e1;
  border-radius: 6px;
  background: #fff;
  color: #263442;
  font-size: 15px;
  box-shadow: none;
}

.forgotpwd-field .form-control:focus {
  border-color: #1677b8;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(22, 119, 184, .12);
}

.forgotpwd-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #dfe7ed;
}

.forgotpwd-actions .btn {
  min-width: 120px;
  padding: 10px 22px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: bold;
}

.forgotpwd-actions .forgotpwd-submit {
  border-color: #1677b8;
  background: #1677b8;
  color: #fff;
  box-shadow: 0 3px 8px rgba(22, 119, 184, .22);
}

.forgotpwd-actions .forgotpwd-submit:hover,
.forgotpwd-actions .forgotpwd-submit:focus {
  border-color: #0d5f96;
  background: #0d5f96;
  color: #fff;
}

.forgotpwd-actions .forgotpwd-reset {
  border-color: #cbd8e1;
  background: #fff;
  color: #52616f;
}

.forgotpwd-actions .forgotpwd-reset:hover,
.forgotpwd-actions .forgotpwd-reset:focus {
  border-color: #9fb3c1;
  background: #f5f8fa;
  color: #263442;
}

@media screen and (max-width: 768px) {
  .forgotpwd-container {
    width: 100%;
    margin: 0;
  }

  .forgotpwd-panel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .forgotpwd-title {
    padding: 16px 18px;
    font-size: 20px;
  }

  .forgotpwd-content { padding: 20px 14px 28px; }

  .forgotpwd-actions {
    flex-direction: column;
  }

  .forgotpwd-actions .btn { width: 100%; }
}
