#hata-kodlari.hk-page {
  --hk-purple: #4b34f6;
  --hk-dark: #1d1b34;
  --hk-muted: rgba(29, 27, 52, 0.55);
  --hk-border: rgba(29, 27, 52, 0.08);
  --hk-surface: #f4f5f7;
  padding: 56px 0 88px;
  color: var(--hk-dark);
}

@media (max-width: 1024px) {
  #hata-kodlari.hk-page {
    padding: 40px 0 64px;
  }
}

@media (max-width: 575px) {
  #hata-kodlari.hk-page {
    padding: 32px 0 48px;
  }
}

#hata-kodlari .hk-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 52px;
}

@media (max-width: 767px) {
  #hata-kodlari .hk-inner {
    padding: 0 24px;
  }
}

#hata-kodlari .hk-inner--narrow {
  max-width: 800px;
}

#hata-kodlari .hk-header {
  margin-bottom: 48px;
}

@media (max-width: 575px) {
  #hata-kodlari .hk-header {
    margin-bottom: 32px;
  }
}

#hata-kodlari .hk-header h1,
#hata-kodlari .hk-detail__header h1 {
  font-weight: 600;
  font-size: 40px;
  line-height: 1.4;
  color: var(--hk-dark);
  margin: 0 0 12px;
}

@media (max-width: 575px) {
  #hata-kodlari .hk-header h1,
  #hata-kodlari .hk-detail__header h1 {
    font-size: 28px;
  }
}

#hata-kodlari .hk-lead {
  max-width: 42rem;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5;
  color: var(--hk-dark);
  opacity: 0.64;
  margin: 0 0 12px;
}

@media (max-width: 575px) {
  #hata-kodlari .hk-lead {
    font-size: 16px;
  }
}

#hata-kodlari .hk-stats,
#hata-kodlari .hk-note {
  margin: 0;
  font-size: 14px;
  color: var(--hk-muted);
}

#hata-kodlari .hk-section {
  margin-top: 56px;
}

@media (max-width: 575px) {
  #hata-kodlari .hk-section {
    margin-top: 40px;
  }
}

#hata-kodlari .hk-section-head {
  margin-bottom: 24px;
}

#hata-kodlari .hk-section-title,
#hata-kodlari .hk-block-title,
#hata-kodlari .hk-cta__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  color: var(--hk-dark);
  margin: 0 0 8px;
}

@media (max-width: 575px) {
  #hata-kodlari .hk-section-title,
  #hata-kodlari .hk-block-title,
  #hata-kodlari .hk-cta__title {
    font-size: 20px;
  }
}

#hata-kodlari .hk-section-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--hk-muted);
}

#hata-kodlari .hk-brand-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

#hata-kodlari .hk-brand-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--hk-border);
  border-radius: 1px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  #hata-kodlari .hk-brand-card:hover {
    border-color: rgba(75, 52, 246, 0.35);
    box-shadow: 0 8px 24px rgba(29, 27, 52, 0.06);
  }
}

#hata-kodlari .hk-brand-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#hata-kodlari .hk-brand-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

#hata-kodlari .hk-brand-card__count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--hk-muted);
  white-space: nowrap;
}

#hata-kodlari .hk-brand-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--hk-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#hata-kodlari .hk-brand-card__cta {
  margin-top: auto;
  padding-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hk-purple);
}

#hata-kodlari .hk-search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 16px;
  background: rgba(9, 5, 56, 0.02);
  border: 1px solid var(--hk-border);
  border-radius: 1px;
}

#hata-kodlari .hk-search > svg {
  flex-shrink: 0;
  color: var(--hk-dark);
  opacity: 0.4;
}

#hata-kodlari .hk-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font-family: "Geist", sans-serif;
  font-size: 16px;
  color: var(--hk-dark);
  outline: none;
}

#hata-kodlari .hk-search input::placeholder {
  color: var(--hk-dark);
  opacity: 0.4;
}

#hata-kodlari .hk-search .search-clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 100px;
  background: rgba(9, 5, 56, 0.08);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

#hata-kodlari .hk-search .search-clear:not([hidden]) {
  display: inline-flex;
}

#hata-kodlari .hk-search .search-clear svg {
  width: 16px;
  height: 16px;
  opacity: 0.4;
}

#hata-kodlari .hk-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 12px;
}

#hata-kodlari .hk-picker {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
}

#hata-kodlari .hk-picker__label {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 1;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #1d1b34;
  opacity: 0.64;
  pointer-events: none;
}

#hata-kodlari .hk-picker__control {
  position: relative;
}

#hata-kodlari .hk-picker select {
  width: 100%;
  height: 56px;
  padding: 22px 40px 8px 16px;
  border: 1px solid rgba(29, 27, 52, 0.12);
  border-radius: 1px;
  background: #fff;
  font-family: "Geist", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #1d1b34;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

@media (hover: hover) {
  #hata-kodlari .hk-picker select:hover {
    border-color: rgba(29, 27, 52, 0.16);
  }
}

#hata-kodlari .hk-picker select:focus {
  outline: none;
  background: rgba(29, 27, 52, 0.04);
  border-color: rgba(29, 27, 52, 0.16);
}

#hata-kodlari .hk-picker__chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #1d1b34;
}

#hata-kodlari .hk-filter-row .filter-clear--inline {
  align-self: center;
  flex: 0 0 auto;
}

#hata-kodlari .hk-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 12px;
}

#hata-kodlari .hk-result-count {
  margin: 0;
  font-size: 14px;
  color: var(--hk-muted);
}

#hata-kodlari .hk-empty {
  margin: 0;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--hk-muted);
  border: 1px dashed var(--hk-border);
  border-radius: 1px;
  background: rgba(244, 245, 247, 0.5);
}

#hata-kodlari .hk-error-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hk-border);
  border-radius: 1px;
  overflow: hidden;
  background: #fff;
  margin-top: 8px;
}

#hata-kodlari .hk-error-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(29, 27, 52, 0.06);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

#hata-kodlari .hk-error-item:last-child {
  border-bottom: 0;
}

@media (hover: hover) {
  #hata-kodlari .hk-error-item:hover {
    background: rgba(244, 245, 247, 0.55);
  }
}

@media (max-width: 575px) {
  #hata-kodlari .hk-error-item {
    padding: 16px;
    gap: 12px;
  }
}

#hata-kodlari .hk-code {
  flex-shrink: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--hk-purple);
  background: rgba(75, 52, 246, 0.1);
  border-radius: 1px;
  padding: 6px 10px;
}

#hata-kodlari .hk-code--lg {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  line-height: 1.4;
  padding: 8px 12px;
}

#hata-kodlari .hk-detail__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

#hata-kodlari .hk-detail__badges .hk-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 1px;
}

#hata-kodlari .hk-error-item strong {
  display: block;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
}

#hata-kodlari .hk-error-item p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--hk-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#hata-kodlari .hk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

#hata-kodlari .hk-tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1.3;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--hk-surface);
  color: rgba(29, 27, 52, 0.72);
}

#hata-kodlari .hk-tag--accent {
  background: rgba(75, 52, 246, 0.1);
  color: var(--hk-purple);
  font-weight: 500;
}

#hata-kodlari .hk-cta {
  margin-top: 56px;
  padding: 32px 24px;
  text-align: center;
  background: var(--hk-surface);
  border-radius: 1px;
}

#hata-kodlari .hk-cta p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--hk-muted);
}

#hata-kodlari .hk-block {
  margin-top: 32px;
}

#hata-kodlari .hk-callout {
  padding: 16px 20px;
  border: 1px solid var(--hk-border);
  border-radius: 1px;
  background: var(--hk-surface);
}

#hata-kodlari .hk-callout--mono p {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  margin: 0;
}

#hata-kodlari .hk-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#hata-kodlari .hk-pills li {
  padding: 8px 14px;
  border: 1px solid var(--hk-border);
  border-radius: 999px;
  font-size: 14px;
  background: #fff;
}

#hata-kodlari .hk-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

#hata-kodlari .hk-steps li {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--hk-border);
  border-radius: 1px;
  font-size: 14px;
  line-height: 1.55;
  background: #fff;
}

#hata-kodlari .hk-steps li span {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(75, 52, 246, 0.1);
  color: var(--hk-purple);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#hata-kodlari .hk-checks {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 14px;
  line-height: 1.6;
}

#hata-kodlari .hk-solution-block {
  padding: 20px;
  border-radius: 1px;
  background: var(--hk-surface);
}

#hata-kodlari .hk-solution-block .hk-block-title {
  color: var(--hk-purple);
}

#hata-kodlari .hk-warn {
  padding: 20px;
  border-radius: 1px;
  border: 1px solid #fde68a;
  background: rgba(255, 251, 235, 0.85);
}

#hata-kodlari .hk-related {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hk-border);
}

#hata-kodlari .hk-related__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#hata-kodlari .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
