/* Psikologa — eksik utility ve bileşen düzeltmeleri */

/* Kenar çerçevesi / boşluk (tarayıcı varsayılanı, taşma) */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

/* Tailwind eksikleri */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-16 { padding-bottom: 4rem; }
.pt-8 { padding-top: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.ml-auto { margin-left: auto; }
.flex-1 { flex: 1 1 0%; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.cursor-pointer { cursor: pointer; }
.overflow-x-auto { overflow-x: auto; }
.shadow-lg { box-shadow: var(--pk-shadow-lg); }
.shadow-sm { box-shadow: 0 2px 12px rgba(22, 36, 42, 0.06); }
.transition { transition: all 0.2s ease; }
.h-fit { height: fit-content; }
.max-w-md { max-width: 28rem; }
.max-w-3xl { max-width: 48rem; }
.text-\[var\(--pk-primary\)\] { color: var(--pk-primary); }
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-left { text-align: left; }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:text-2xl { font-size: 1.5rem; }
}

/* Auth — yanlış sınıf adları */
.auth-field__label,
.auth-form__label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pk-text);
}
.auth-field__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--pk-border);
  border-radius: 12px;
  font-size: 1rem;
  background: #fafaf9;
}
.auth-field__input:focus {
  outline: none;
  border-color: var(--pk-primary);
  box-shadow: 0 0 0 4px rgba(0, 109, 119, 0.12);
  background: #fff;
}
textarea.pk-input {
  min-height: 6rem;
  resize: vertical;
}
.auth-form__submit { margin-top: 0.25rem; }
.auth-form__links a { color: var(--pk-primary-dark); font-weight: 600; }

/* Uzman hero foto */
.expert-hero__photo {
  position: relative;
}
.expert-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Uzman layout */
.expert-layout {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) {
  .expert-layout {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}

/* Panel tablo */
.panel-table {
  width: 100%;
  border-collapse: collapse;
}
.panel-table th,
.panel-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--pk-border);
}
.panel-table th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pk-muted);
  background: #fafcfb;
}

/* Footer kolon */
.pk-footer__col-title {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}
.pk-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pk-footer__links li { margin-bottom: 0.5rem; }
.pk-footer__links a {
  font-size: 0.875rem;
  color: #94a8b8;
  text-decoration: none;
}
.pk-footer__links a:hover { color: #fff; }
.pk-footer__badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a8b8;
}
.pk-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  flex: 1;
}
@media (min-width: 640px) {
  .pk-footer__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Stars */
.stars { color: #f59e0b; }
.stars i { font-size: 0.75rem; }

/* Account badge */
.account-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.account-badge--confirmed { background: #ecfdf5; color: #065f46; }
.account-badge--pending { background: #fffbeb; color: #92400e; }
.account-badge--cancelled { background: #fef2f2; color: #991b1b; }

/* Account card */
.account-card {
  border-radius: var(--pk-radius);
  border: 1px solid var(--pk-border);
  background: #fff;
  box-shadow: var(--pk-shadow);
  overflow: hidden;
}
.account-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--pk-border);
  background: linear-gradient(180deg, #fafcfb 0%, #fff 100%);
}
.account-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

/* FAQ details */
.pk-faq-panel details {
  border-bottom: 1px solid var(--pk-border);
  padding: 0 0.25rem;
}
.pk-faq-panel details summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 700;
  list-style: none;
}
.pk-faq-panel details summary::-webkit-details-marker { display: none; }

/* Marketing step media */
.marketing-step__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--pk-radius-lg);
  box-shadow: var(--pk-shadow-lg);
}
.marketing-step__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* pk-phone-mock */
.pk-phone-mock {
  border-radius: var(--pk-radius-lg);
  overflow: hidden;
  box-shadow: var(--pk-shadow-lg);
  min-height: 280px;
}
@media (min-width: 1024px) {
  .pk-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

/* Hero avatars img */
.pk-hero__avatars span {
  display: inline-flex;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -0.5rem;
}
.pk-hero__avatars span:first-child { margin-left: 0; }

/* CTA banner faces */
.pk-cta-banner__faces span {
  display: inline-block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.5);
  margin-left: -0.75rem;
}
.pk-cta-banner__faces span:first-child { margin-left: 0; }

/* Text amber */
.text-amber-600 { color: #d97706; }

/* Mobil kullanıcı çekmecesi */
.pk-user-drawer { padding: 1rem 1.25rem; }
.pk-user-drawer__profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.pk-user-drawer__account,
.pk-user-drawer__logout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--pk-text);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9375rem;
}
.pk-user-drawer__logout { color: #b91c1c; }
.shrink-0 { flex-shrink: 0; }
.text-red-600 { color: #dc2626; }
@media (min-width: 640px) {
  .sm\:inline-flex { display: inline-flex; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Auth sayfalarında flash kart içinde gösterilir */
body:has(.auth-page) > .pk-flash { display: none; }
body:has(.account-page) > .pk-flash { display: none; }
.pk-btn--block { display: flex; width: 100%; justify-content: center; }
.auth-form__actions { display: flex; flex-direction: column; gap: 0.75rem; }
.auth-form__link { color: var(--pk-primary-dark); font-weight: 600; text-decoration: none; }
.auth-form__link:hover { color: var(--pk-primary); }

.auth-register-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem;
  border-radius: 12px;
  background: var(--pk-primary-soft);
}
.auth-register-tabs__item {
  flex: 1;
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pk-muted);
  text-decoration: none;
}
.auth-register-tabs__item--active {
  background: #fff;
  color: var(--pk-primary-dark);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.auth-alert--ok {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.875rem;
  font-weight: 600;
}
.pk-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--pk-border);
  border-radius: 12px;
  font-size: 1rem;
  background: #fafaf9;
}
.text-red-600 { color: #dc2626; }
