/* Üyelik ve giriş formları */
.pko-auth-page {
  padding: 2rem 1rem 3rem;
  max-width: 720px;
  margin: 0 auto;
}

.pko-auth-page--wide {
  max-width: 800px;
}

.pko-auth-card {
  background: var(--pko-card-bg, var(--pko-white));
  border-radius: 20px;
  border: 1px solid var(--pko-card-border, rgba(0, 0, 0, 0.08));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
}

.pko-auth-card__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.pko-auth-card__head h1 {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  color: var(--pko-page-title, var(--pko-heading, #213d64));
}

.pko-auth-card__head p {
  margin: 0;
  color: var(--pko-body-text-muted, #5c6f82);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pko-auth-form .pko-form-group {
  margin-bottom: 1.1rem;
}

.pko-auth-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--pko-form-label, #1a314f);
}

.pko-auth-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.pko-auth-label-row label {
  margin-bottom: 0;
}

.pko-auth-forgot {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--pko-primary, #c2185b);
  text-decoration: none;
  white-space: nowrap;
}

.pko-auth-forgot:hover {
  text-decoration: underline;
}

.pko-auth-google {
  margin-bottom: 1rem;
}

.pko-btn--google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--pko-form-input-border, #d0d7e2);
  background: var(--pko-card-bg, #fff);
  color: var(--pko-form-label, #1a314f);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pko-btn--google:hover {
  background: var(--pko-surface-muted, #f4f6f9);
  border-color: #b8c4d4;
}

.pko-btn--google__icon {
  display: inline-flex;
  line-height: 0;
}

.pko-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  color: var(--pko-body-text-muted, #5c6f82);
  font-size: 0.85rem;
}

.pko-auth-divider::before,
.pko-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--pko-form-input-border, #d0d7e2);
}

.pko-auth-google-hint {
  font-size: 0.85rem;
  margin: 0 0 1rem;
  text-align: center;
}

.pko-auth-form input,
.pko-auth-form textarea,
.pko-auth-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--pko-form-input-border, #d0d7e2);
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
  color: var(--pko-form-input-text, #1a2b3d);
  background: var(--pko-form-input-bg, #ffffff);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.pko-auth-form textarea {
  resize: vertical;
  min-height: 88px;
  display: block;
  line-height: 1.5;
  border: 1px solid #000;
  border-color: #000;
  background-color: #f2f2ff;
}

.pko-auth-form textarea:focus {
  border-color: #000;
  background-color: #f2f2ff;
}

.pko-auth-form input[type="file"],
.pko-auth-form__file {
  padding: 0.55rem 0.75rem;
  background: var(--pko-white);
  cursor: pointer;
}

.pko-auth-form input:focus,
.pko-auth-form textarea:focus,
.pko-auth-form select:focus,
.pko-auth-form input[type="file"]:focus {
  outline: none;
  border-color: var(--pko-form-focus-border, #213d64);
  background: var(--pko-form-input-bg, #ffffff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pko-primary, #213d64) 18%, transparent);
}

/* Şifre göster */
.pko-auth-form .pko-password-field {
  position: relative;
  display: block;
  width: 100%;
}

.pko-auth-form .pko-password-field input {
  padding-right: 2.85rem;
}

.pko-auth-form .pko-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--pko-magenta-dark, #a83279);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.pko-auth-form .pko-password-toggle:hover {
  background: rgba(var(--pko-magenta-rgb), 0.1);
}

.pko-auth-form .pko-password-toggle:focus-visible {
  outline: 2px solid var(--pko-magenta);
  outline-offset: 2px;
}

.pko-auth-form .pko-password-toggle__icon--hide {
  display: none;
}

.pko-auth-form .pko-password-toggle.is-visible .pko-password-toggle__icon--show {
  display: none;
}

.pko-auth-form .pko-password-toggle.is-visible .pko-password-toggle__icon--hide {
  display: block;
}

.pko-auth-form .pko-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pko-auth-form__hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--pko-body-text-muted, #5c6f82);
}

.pko-auth-form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.pko-auth-form__check input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  margin: 0.15rem 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: #213d64;
  cursor: pointer;
  box-sizing: border-box;
}

.pko-auth-form__check label {
  display: block;
  margin: 0;
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--pko-form-label, #1a314f);
  cursor: pointer;
}

.pko-auth-form__check label a {
  color: #213d64;
  font-weight: 600;
  text-decoration: underline;
}

.pko-auth-form__check label a:hover {
  color: #2d5282;
}

/* pko-form-group--check (checkbox label içinde) — auth / randevu formları */
.pko-auth-form .pko-form-group--check {
  margin-bottom: 1rem;
}

.pko-auth-form .pko-form-group--check > label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.45;
  cursor: pointer;
}

.pko-auth-form .pko-form-group--check input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  margin: 0.15rem 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: #213d64;
  cursor: pointer;
  box-sizing: border-box;
}

.pko-auth-form .pko-form-group--check a {
  color: #213d64;
  font-weight: 600;
  text-decoration: underline;
}

.pko-auth-form__actions {
  margin-top: 0.5rem;
}

.pko-auth-form__actions .pko-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.pko-auth-footer {
  text-align: center;
  margin-top: 1.35rem;
  font-size: 0.9rem;
  color: var(--pko-body-text-muted, #5c6f82);
}

.pko-auth-footer a {
  color: var(--pko-magenta-dark, #a83279);
  font-weight: 600;
  text-decoration: none;
}

.pko-auth-footer a:hover {
  text-decoration: underline;
}

/* Captcha — üyelik / danışman formları */
.pko-auth-form .pko-captcha {
  margin: 0 0 1.25rem;
}

.pko-auth-form .pko-captcha .pko-form-group {
  margin-bottom: 0;
}

.pko-auth-form .pko-captcha__row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.pko-auth-form .pko-captcha__row input {
  flex: 1;
  min-width: 0;
}

.pko-auth-form .pko-captcha__refresh {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  width: 2.75rem;
  border: 1px solid rgba(var(--pko-black-rgb), 0.14);
  border-radius: 12px;
  background: #fafafa;
  color: var(--pko-magenta-dark, #a83279);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.pko-auth-form .pko-captcha__refresh:hover {
  background: rgba(var(--pko-magenta-rgb), 0.08);
  border-color: var(--pko-magenta);
}

.pko-auth-form .pko-captcha__expr {
  font-weight: 700;
  color: var(--pko-magenta-dark, #a83279);
}

.pko-auth-form .pko-captcha--recaptcha .g-recaptcha {
  max-width: 100%;
}

.pko-profile-card {
  background: var(--pko-white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(var(--pko-black-rgb), 0.08);
  box-shadow: 0 4px 20px rgba(var(--pko-black-rgb), 0.05);
  max-width: 560px;
}

/* Üye ol, giriş, danışman ol — etiketler (tema --pko-black beyaz olabiliyor) */
.pko-page-auth .pko-auth-form label,
.pko-page-auth .pko-auth-form .pko-captcha label,
.pko-page-auth .pko-auth-form__check label {
  color: #1a314f !important;
}

.pko-page-auth .pko-auth-form__check label a {
  color: #213d64 !important;
  font-weight: 600;
}

.pko-page-auth .pko-auth-card__head h1 {
  color: #213d64 !important;
}

.pko-page-auth .pko-auth-card__head p,
.pko-page-auth .pko-auth-form__hint,
.pko-page-auth .pko-auth-footer {
  color: #5c6f82 !important;
}

@media (max-width: 640px) {
  .pko-auth-card {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }

  .pko-auth-form .pko-form-row {
    grid-template-columns: 1fr;
  }
}
