/* Auth screens — Login / Register mockup style */
.auth-screen {
  min-height: 100vh;
  margin: 0;
  background: #eef3f9;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.auth-shell {
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0 14px 40px;
}
.auth-hero-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  background: linear-gradient(135deg, #0b5ed7 0%, #084298 55%, #0a3d91 100%);
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}
.auth-wrap {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  padding-top: 28px;
}
.auth-back {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  margin-bottom: 14px;
}
.auth-brand-block {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}
.auth-brand-block img {
  height: 64px;
  width: auto;
  max-width: min(340px, 88vw);
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 8px 12px;
}
.auth-card-ui {
  background: #fff;
  border-radius: 22px;
  padding: 22px 18px 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid #e8eef6;
}
.auth-card-ui .auth-title {
  margin: 0 0 4px;
  font-size: 22px;
  color: #0f172a;
}
.auth-card-ui .auth-sub {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 13px;
}
.auth-field {
  position: relative;
  margin-bottom: 12px;
}
.auth-field .ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 15px;
  pointer-events: none;
}
.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="tel"],
.auth-field input[type="password"] {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 13px 44px 13px 42px;
  font-size: 14px;
  outline: none;
  background: #f8fafc;
  color: #0f172a;
  box-sizing: border-box;
}
.auth-field input:focus {
  border-color: #0b5ed7;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11,94,215,0.12);
}
.auth-field .eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 14px;
  padding: 6px;
}
.auth-row {
  display: flex;
  justify-content: flex-end;
  margin: -2px 2px 14px;
}
.auth-row a {
  color: #0b5ed7;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.auth-btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0b5ed7, #084298);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 22px rgba(11, 94, 215, 0.28);
}
.auth-btn:hover { opacity: 0.96; }
.auth-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}
.auth-or::before,
.auth-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.auth-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  color: #334155;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}
.auth-google img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
.auth-google:hover { background: #f8fafc; text-decoration: none; }
.auth-foot {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #64748b;
}
.auth-foot a {
  color: #0b5ed7;
  font-weight: 800;
  text-decoration: none;
}
.auth-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 4px 0 14px;
  font-size: 12px;
  color: #475569;
}
.auth-check input { margin-top: 2px; }
.auth-check a { color: #0b5ed7; }
.auth-alert {
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 13px;
}
.auth-alert.error { background: #fee2e2; color: #991b1b; }
.auth-alert.success { background: #dcfce7; color: #166534; }
.auth-brand-top {
  color: #fff;
  margin-bottom: 10px;
}
.auth-brand-top strong { display: block; font-size: 15px; }
.auth-brand-top span { font-size: 12px; opacity: 0.9; }
@media (min-width: 900px) {
  .auth-shell { align-items: center; padding-bottom: 40px; }
  .auth-hero-bg { height: 260px; }
}
