*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: #c2410c;
  color: #e5e5e5;
  font-family: "Noto Sans SC", "HarmonyOS Sans", "HarmonyOS Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }

/* ===== Form ===== */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #e5e5e5;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: #e5e5e5;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(245,158,11,0.2);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.form-input:focus { border-color: rgba(245,158,11,0.5); }
.form-input::placeholder { color: rgba(255,255,255,0.4); }

/* ===== Login Page ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
  background: url('../images/login-bg.jpg') center/cover no-repeat;
  position: relative;
}
.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44,24,16,0.75) 0%, rgba(194,65,12,0.6) 100%);
}
.login-card {
  width: 100%;
  max-width: 420px;
  padding: 40px;
  border-radius: 16px;
  background: rgba(44,24,16,0.6);
  border: 1px solid rgba(245,158,11,0.15);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;
}
.login-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #a3a3a3;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.login-back:hover { color: #f59e0b; }
.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo img { height: 36px; margin: 0 auto; display: block; }
.btn-full {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  background: #f59e0b;
  color: #2c1810;
  border: none;
  cursor: pointer;
  transition: filter 0.2s;
  font-family: inherit;
}
.btn-full:hover { filter: brightness(1.1); }

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f59e0b;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.back-to-top svg {
  color: #2c1810;
}
