.auth-body { margin: 0; overflow: hidden; height: 100vh; background: #170a08; }
#scene { position: fixed; inset: 0; z-index: 0; }
.auth-vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(23,10,8,0) 35%, rgba(23,10,8,0.6) 100%);
}
.auth-wrap { position: relative; z-index: 2; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-back {
  position: fixed; top: 20px; left: 20px; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(74,33,24,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(227,183,104,0.22); border-radius: 20px; padding: 8px 14px 8px 12px;
  color: #f0e2d3; font-size: 12.5px; font-weight: 600; text-decoration: none; transition: background 0.15s;
}
.auth-back:hover { background: rgba(74,33,24,0.8); }
.auth-card {
  width: 100%; max-width: 400px; background: rgba(74,33,24,0.55); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(227,183,104,0.22); border-radius: 20px;
  padding: 32px 30px 26px 30px; box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  color: #f4e9dc; animation: cardIn 0.7s cubic-bezier(0.16,1,0.3,1);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) rotateX(6deg); } to { opacity: 1; transform: translateY(0) rotateX(0); } }

.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.auth-brand img { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; background: #fff; box-shadow: 0 6px 16px rgba(201,151,61,0.35); }
.auth-brand .brand-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; color: #fff; }
.auth-brand .brand-sub { font-size: 11px; color: #e3b768; margin-top: 1px; }

.field-label { font-size: 11.5px; font-weight: 600; color: #e0cdbb; margin: 10px 0 5px 0; }
.field-input {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 9px; padding: 11px 13px;
  font-size: 13.5px; color: #fff; font-family: Inter, sans-serif; outline: none; width: 100%;
  transition: border-color 0.15s, background 0.15s;
}
.field-input::placeholder { color: #b89a86; }
.field-input:focus { border-color: #c9973d; background: rgba(255,255,255,0.12); }
.field-error { color: #ff9d94; font-size: 12px; margin: 8px 0 0 0; }

.auth-submit {
  margin-top: 20px; padding: 12px 0; border: none; border-radius: 10px; width: 100%;
  background: linear-gradient(135deg, #e3b768, #c9973d); color: #2a1410; font-family: Inter, sans-serif;
  font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 8px 20px rgba(201,151,61,0.32);
  transition: transform 0.15s, box-shadow 0.15s;
}
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(201,151,61,0.42); }
.auth-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.auth-hint { font-size: 11px; color: #c8a98f; margin: 14px 0 0 0; line-height: 1.5; text-align: center; }
.auth-hint a { color: #e3b768; font-weight: 600; text-decoration: none; }
.auth-hint a:hover { text-decoration: underline; }
.auth-success { text-align: center; color: #f4e9dc; }
.auth-success .icon { font-size: 40px; margin-bottom: 10px; }
.auth-success h3 { margin: 0 0 8px 0; font-family: 'Sora', sans-serif; }
.auth-success p { font-size: 12.5px; color: #e0cdbb; line-height: 1.6; margin: 0 0 6px 0; }

@media (max-width: 480px) { .auth-card { padding: 26px 20px; } }
