/* ---------- PhD login popup ----------
   Uses the same .popup-backdrop / .popup-window / .popup-titlebar chrome
   as the project detail popup (styles/work.css) and the PhD Website
   project's own popups, with a small login form in place of project text. */

.phd-login-window {
  width: min(360px, 100%);
}

.phd-login-content {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phd-login-eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.phd-login-title {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.phd-login-field input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 8px 2px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}

.phd-login-field input:focus {
  border-bottom-color: var(--ink);
}

.phd-login-error {
  margin: 0;
  font-size: 12px;
  color: #c0504f;
}

.phd-login-submit {
  align-self: flex-start;
  margin-top: 4px;
  background: var(--ink);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.phd-login-submit:hover {
  opacity: 0.85;
}
