/* GeorgeTutor Portal — native auth pages styling.
   Mobile-first; one column; mirrors the institutional-warm palette
   used elsewhere in the portal (slate-blue accent #2c3a55,
   warm-grey card on neutral page background). */

.gt-auth-card {
  max-width: 420px;
  margin: 2.5rem auto;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e3e2dc;
  border-top: 4px solid #2c3a55;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(44, 58, 85, 0.10);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1f2733;
}

.gt-auth-title {
  font-size: 1.4rem;
  line-height: 1.25;
  margin: 0 0 0.4rem;
  color: #2c3a55;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.gt-auth-sub {
  margin: 0 0 1.25rem;
  color: #51596a;
  font-size: 0.95rem;
  line-height: 1.45;
}

.gt-auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.gt-auth-lab {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #51596a;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gt-auth-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  color: #1f2733;
  background: #fafaf6;
  border: 1px solid #d4d2c8;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gt-auth-input:focus {
  border-color: #2c3a55;
  box-shadow: 0 0 0 3px rgba(44, 58, 85, 0.15);
  background: #ffffff;
}

.gt-auth-btn {
  margin-top: 0.5rem;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: #2c3a55;
  border: 1px solid #2c3a55;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
}
.gt-auth-btn:hover:not(:disabled) { background: #1f2a3e; }
.gt-auth-btn:active:not(:disabled) { transform: translateY(1px); }
.gt-auth-btn:disabled { opacity: 0.6; cursor: default; }

.gt-auth-err {
  padding: 0.65rem 0.8rem;
  background: #fdecec;
  border: 1px solid #e9b4b4;
  border-radius: 8px;
  color: #7a1f1f;
  font-size: 0.9rem;
  line-height: 1.4;
}

.gt-auth-foot {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #ececec;
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.45;
}

/* Hide WordPress chrome bleed-through if the theme adds page titles
   above the shell. The pages themselves are deliberately empty
   except for the mount div. */
body.page-template-default.gt-portal-auth .entry-title,
body.gt-portal-auth .entry-header,
body.gt-portal-auth .page-header { display: none; }
