/* ---------- Reset ---------- */
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans TC", sans-serif;
  background-color: #f5f5f5;
}

* {
  box-sizing: border-box;
}

/* ---------- Login Form Container ---------- */
.styled-login-form {
  max-width: 360px;
  margin: 60px auto;
  padding: 40px 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ---------- Title ---------- */
.styled-login-form .form-title {
  text-align: center;
  color: #ccb56a;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
}

/* ---------- Form Group ---------- */
.styled-login-form .form-group {
  margin-bottom: 20px;
}

.styled-login-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.styled-login-form label span {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.styled-login-form input[type="text"],
.styled-login-form input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
}

/* ---------- Password Toggle ---------- */
.password-wrapper {
  position: relative;
}

.password-wrapper .toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #666;
}

/* ---------- Note Text ---------- */
.styled-login-form .note {
  font-size: 12px;
  color: #888;
  text-align: right;
  margin-top: 4px;
}

/* ---------- Password Hint ---------- */
.styled-login-form .password-hint {
  display: block;
  margin-top: 6px;
  line-height: 1.4;
}

.styled-login-form .password-hint span {
  color: #666;
  font-size: 12px;
  display: block;
}

/* ---------- Submit Button ---------- */
.styled-login-form .btn.login {
  width: 100%;
  padding: 12px;
  background-color: #ccb56a;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.styled-login-form .btn.login:hover {
  background-color: #b9a453;
}

/* ---------- Forgot Link ---------- */
.styled-login-form .forgot-link {
  text-align: right;
  margin-top: 12px;
}

.styled-login-form .forgot-link a {
  color: #444;
  font-size: 14px;
  text-decoration: underline;
}

/* ---------- Login Message ---------- */
.login-message {
  text-align: center;
  color: #d00;
  font-weight: bold;
  margin-bottom: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .styled-login-form {
    margin: 30px 16px;
    padding: 30px 20px;
  }

  .styled-login-form .form-title {
    font-size: 18px;
  }
}
