/* 登录页样式：白色浅色主题（白底 + 芥末绿） */

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
  background: linear-gradient(180deg, #eef2f6 0%, #e6ebf1 42%, #dbe2ea 100%);
  color: #0b1220;
}
@media (min-width: 768px) {
  body { height: 100vh; overflow: hidden; }
}

.page-bg { background: linear-gradient(180deg, #eef2f6 0%, #e6ebf1 42%, #dbe2ea 100%); }

/* 白色卡片：加深边框和阴影，避免整页发白 */
.glass {
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: 0 2px 4px rgba(15, 23, 42, .06),
              0 18px 44px rgba(15, 23, 42, .14),
              inset 0 1px 0 rgba(255, 255, 255, .9);
}
@media (max-width: 767px) {
  .glass { background: #ffffff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* 输入框 */
.field {
  width: 100%; border-radius: .75rem;
  background: #e6ebf0;
  border: 1px solid #c9d1db;
  padding: .8rem 1rem; font-size: 16px; color: #0b1220; outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.field::placeholder { color: #7f8a97; }
.field:focus { border-color: #16a34a; background: #fff; box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }

/* 左栏欢迎区：浅绿品牌卡，避免大片留白 */
#welcomeArea {
  background: linear-gradient(160deg, #d9f5e4 0%, #e8f3ec 62%, #ffffff 100%);
  border: 1px solid #cfe7d9;
  border-radius: 24px;
  box-shadow: 0 2px 4px rgba(21, 128, 61, .06), 0 14px 34px rgba(21, 128, 61, .12);
  overflow: hidden;
}
#welcomeArea .absolute > .relative {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.6rem;
}
#welcomeArea h1 { color: #14532d; text-shadow: none; filter: none; }
#welcomeArea p { color: #5b6470 !important; }

/* ===== Tailwind 深色类覆盖 ===== */
[class*="text-white"] { color: #0b1220 !important; }
[class*="text-white/3"],
[class*="text-white/4"],
[class*="text-white/5"] { color: #5f6a77 !important; }
[class*="text-white/6"],
[class*="text-white/7"],
[class*="text-white/8"],
[class*="text-white/9"] { color: #2a3543 !important; }

[class*="bg-white/"] { background-color: #e4e9ef !important; }
[class*="border-white/"] { border-color: #c9d1db !important; }
[class*="bg-black"][class*="text-white"],
[class*="bg-black"] [class*="text-white"] { color: #fff !important; }

/* 登录/注册切换选中态：浅绿底 + 深绿字 */
[class*="bg-[#38bdf8]/20"] { background-color: rgba(34, 197, 94, .14) !important; }
[class*="text-[#e0f2fe]"] { color: #15803d !important; }
[class*="text-[#7dd3fc]"] { color: #059669 !important; }

/* 主按钮：蓝紫渐变 → 芥末绿 */
[class*="from-[#0ea5e9]"][class*="to-[#6366f1]"] {
  background-image: linear-gradient(135deg, #22c55e, #15803d) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(21, 128, 61, .28) !important;
}
[class*="shadow-[#0ea5e9]"] { box-shadow: 0 8px 20px rgba(21, 128, 61, .26) !important; }

/* 错误/成功提示在白底上加深 */
[class*="text-red-300"] { color: #dc2626 !important; }
[class*="text-green-300"] { color: #15803d !important; }
[class*="text-amber-200"] { color: #b45309 !important; }

/* 轮播圆点：白底上当前绿、其余灰 */
#dots .bg-white { background-color: #15803d !important; }
#dots [class*="bg-white/"] { background-color: #9aa4b1 !important; }
