body.auth-locked { overflow: hidden !important; }
body.auth-locked > *:not(.plantpro-auth-overlay) { filter: blur(1px); pointer-events: none !important; user-select: none !important; }

.plantpro-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(41, 175, 196, .22), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(36, 105, 166, .24), transparent 38%),
    linear-gradient(135deg, #061c2d 0%, #0a334a 48%, #0a4253 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.plantpro-auth-card {
  width: min(430px, 100%);
  padding: 34px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}

.plantpro-auth-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 17px;
  background: linear-gradient(135deg, #0b6682, #123e69);
  color: #fff;
  font-weight: 800;
  letter-spacing: -.04em;
  font-size: 22px;
}

.plantpro-auth-heading span {
  display: block;
  margin-bottom: 7px;
  color: #168aa3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.plantpro-auth-heading h1 {
  margin: 0;
  color: #102b3b;
  font-size: 30px;
  line-height: 1.12;
}

.plantpro-auth-heading p {
  margin: 9px 0 24px;
  color: #5f7280;
  line-height: 1.5;
}

.plantpro-auth-field {
  display: block;
  margin-bottom: 16px;
}

.plantpro-auth-field > span {
  display: block;
  margin-bottom: 7px;
  color: #294553;
  font-size: 13px;
  font-weight: 700;
}

.plantpro-auth-field input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  border: 1px solid #cbd8df;
  border-radius: 12px;
  padding: 0 13px;
  outline: none;
  color: #153140;
  background: #fff;
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.plantpro-auth-field input:focus {
  border-color: #198ca5;
  box-shadow: 0 0 0 4px rgba(25,140,165,.12);
}

.plantpro-auth-password-wrap { position: relative; }
.plantpro-auth-password-wrap input { padding-right: 78px; }
.plantpro-auth-toggle {
  position: absolute;
  right: 7px;
  top: 7px;
  height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  background: #edf5f7;
  color: #286274;
  font-weight: 700;
  cursor: pointer;
}

.plantpro-auth-error {
  min-height: 21px;
  margin: -3px 0 10px;
  color: #b3261e;
  font-size: 13px;
  font-weight: 650;
}

.plantpro-auth-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #0b728c, #124e73);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16,84,111,.22);
}

.plantpro-auth-submit:hover { filter: brightness(1.04); }
.plantpro-auth-foot {
  margin-top: 18px;
  color: #7a8c96;
  text-align: center;
  font-size: 12px;
}

.auth-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(14, 105, 128, .08);
  color: #23566a;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .plantpro-auth-overlay { padding: 14px; }
  .plantpro-auth-card { padding: 25px 20px; border-radius: 18px; }
  .plantpro-auth-heading h1 { font-size: 26px; }
  .auth-user-badge { display: none; }
}
