:root {
  --ph-navy: #123a56;
  --ph-navy-dark: #0b2b42;
  --ph-blue: #4faed4;
  --ph-blue-light: #9edff0;
  --ph-bg: #f6f8fb;
  --ph-card: #ffffff;
  --ph-border: #d8e1ea;
  --ph-text: #102a3a;
  --ph-muted: #5e7280;
  --ph-success: #168a4a;
  --ph-warning: #b96b00;
  --ph-danger: #b42318;
}

body {
  background: var(--ph-bg);
  color: var(--ph-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ph-header {
  background: var(--ph-navy);
  color: white;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ph-header img {
  height: 38px;
  width: auto;
}

.ph-auth-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, var(--ph-bg) 100%);
}

.ph-auth-card {
  background: white;
  border: 1px solid var(--ph-border);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 42, 58, 0.08);
  max-width: 460px;
  margin: 56px auto;
  padding: 32px;
}

.ph-auth-card h1 {
  margin: 0 0 8px 0;
  font-size: 28px;
  color: var(--ph-navy);
}

.ph-auth-card p {
  color: var(--ph-muted);
}

.ph-form-group {
  margin-bottom: 16px;
}

.ph-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ph-text);
}

.ph-input {
  width: 100%;
  border: 1px solid var(--ph-border);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 15px;
}

.ph-button {
  background: var(--ph-navy);
  color: white;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.ph-button:hover {
  background: var(--ph-navy-dark);
}

.ph-link {
  color: var(--ph-navy);
  text-decoration: none;
  font-weight: 600;
}

.ph-alert {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 600;
}

.ph-alert-error {
  background: #fff1f0;
  color: var(--ph-danger);
  border: 1px solid #ffccc7;
}

.ph-alert-success {
  background: #f0fff4;
  color: var(--ph-success);
  border: 1px solid #b7ebc6;
}

.ph-muted {
  color: var(--ph-muted);
}

.ph-small {
  font-size: 13px;
}

.ph-button:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.ph-inline-button {
  width: auto;
  white-space: nowrap;
  background: white;
  color: var(--ph-navy);
  border: 1px solid var(--ph-border);
  border-radius: 10px;
  padding: 11px 12px;
  font-weight: 700;
  cursor: pointer;
}

.password-policy-copy {
  margin-bottom: 14px;
}

.password-policy-copy strong {
  display: block;
  color: var(--ph-text);
  margin-bottom: 8px;
}

.password-policy-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.password-policy-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-policy-item.is-complete {
  color: var(--ph-success);
  font-weight: 700;
}

.password-policy-item.is-pending {
  color: var(--ph-muted);
}

.password-policy-icon {
  width: 16px;
  text-align: center;
  font-weight: 700;
}

.password-policy-hint {
  margin: 0 0 6px;
}

.password-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 640px) {
  .password-input-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ph-inline-button {
    width: 100%;
  }
}
