/* V4.4 Parent Auth — real HTML inputs over the locked SVG artwork. */
.auth-layer {
  position: absolute;
  inset: 0;
  z-index: 16;
  pointer-events: none;
  line-height: 1.3;
  font-family: Inter, Arial, sans-serif;
}
.auth-layer[hidden] {
  display: none;
}
.auth-layer input,
.auth-layer button,
.auth-layer a {
  pointer-events: auto;
  font-family: inherit;
}
.auth-field {
  position: absolute;
  left: 5%;
  width: 90%;
  height: 5.25%;
  border: 1px solid #d9dfdb;
  border-radius: 14px;
  background: #fff;
  color: #071c24;
  padding: 0 14px;
  font-size: 12px;
  outline: none;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}
.auth-field::placeholder {
  color: #8a9292;
}
.auth-field:focus {
  border-color: #071c24;
  box-shadow: 0 0 0 3px rgba(202, 250, 75, 0.42);
}
.auth-field.invalid {
  border-color: #071c24;
  box-shadow: 0 0 0 3px rgba(202, 250, 75, 0.72);
}
.auth-submit {
  position: absolute;
  left: 5%;
  width: 90%;
  height: 5.15%;
  border: 0;
  border-radius: 15px;
  background: #071c24;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.auth-submit:active {
  transform: scale(0.99);
}
.auth-submit[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.auth-social {
  position: absolute;
  height: 4.05%;
  border: 1px solid #d9dfdb;
  border-radius: 12px;
  background: #fff;
  color: #071c24;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.auth-social:hover {
  background: #f4f6f2;
}
.auth-link {
  position: absolute;
  border: 0;
  background: transparent;
  color: #071c24;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}
.auth-link strong {
  color: #4c622d;
  font-weight: 800;
}
.auth-role-tabs {
  position: absolute;
  left: 5%;
  top: 12.9%;
  width: 90%;
  height: 3.55%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3%;
  pointer-events: auto;
}
.auth-role-tabs button {
  border: 1px solid #d9dfdb;
  border-radius: 5px;
  background: #fff;
  color: #071c24;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.auth-role-tabs button.active {
  background: #cafa4b;
  border-color: #cafa4b;
}
.auth-role-tabs button.locked {
  color: #8a9292;
}
.auth-register-bottom {
  position: absolute;
  left: 0;
  top: 91.1%;
  width: 100%;
  height: 3.5%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f8f5;
  color: #071c24;
  font-size: 11px;
  pointer-events: auto;
}
.auth-register-bottom button {
  border: 0;
  background: transparent;
  color: #4c622d;
  font-weight: 800;
  margin-left: 4px;
  cursor: pointer;
  padding: 0;
}
.auth-helper {
  position: absolute;
  left: 5%;
  width: 90%;
  font-size: 9px;
  color: #65727a;
  line-height: 1.35;
}
.auth-demo-chip {
  position: absolute;
  right: 5%;
  top: 52.3%;
  border: 1px solid #d9dfdb;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 8px;
  font-weight: 700;
  color: #65727a;
  pointer-events: auto;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.auth-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 28, 36, 0.34);
  z-index: 130;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
  backdrop-filter: blur(5px);
}
.auth-sheet {
  width: min(427px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(7, 28, 36, 0.2);
}
.auth-sheet small {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #65727a;
}
.auth-sheet h3 {
  margin: 6px 0 6px;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.auth-sheet p {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1.5;
  color: #65727a;
}
.auth-sheet input {
  width: 100%;
  height: 48px;
  border: 1px solid #d9dfdb;
  border-radius: 13px;
  padding: 0 13px;
  font-size: 12px;
  outline: none;
}
.auth-sheet input:focus {
  border-color: #071c24;
  box-shadow: 0 0 0 3px rgba(202, 250, 75, 0.4);
}
.auth-sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  margin-top: 10px;
}
.auth-sheet-actions button {
  height: 44px;
  border-radius: 999px;
  border: 1px solid #d9dfdb;
  background: #fff;
  color: #071c24;
  font-weight: 800;
  cursor: pointer;
}
.auth-sheet-actions button:last-child {
  background: #071c24;
  color: #fff;
  border-color: #071c24;
}
@media (max-width: 900px) {
  .auth-field {
    font-size: 13px;
  }
  .auth-submit {
    font-size: 12px;
  }
  .auth-link,
  .auth-register-bottom {
    font-size: 12px;
  }
}
