:host { display: block; }

.by-icerik {
  padding: 0 24px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.by-sekmeler-kart {
  margin-top: 16px;
  border-radius: 12px;
  ::ng-deep .ant-card-body { padding: 0; }
  ::ng-deep .ant-tabs-nav { padding: 0 24px; }
}

.by-form-alan {
  padding: 24px;
}

.by-alert {
  margin-bottom: 20px;
}

.by-form-satir {
  margin-bottom: 16px;
}

.by-etiket {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 13px;
  color: var(--py-metin-ikincil, rgba(0, 0, 0, 0.65));
}

.by-butonlar {
  display: flex;
  gap: 12px;
  padding-top: 8px;
}

// Grafik
.by-grafik-baslik {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--py-metin, rgba(0, 0, 0, 0.85));
}

.by-grafik {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 200px;
  padding: 16px 0;
}

.by-grafik-sutun {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.by-grafik-deger {
  font-size: 12px;
  font-weight: 600;
  color: var(--py-metin, rgba(0, 0, 0, 0.85));
}

.by-grafik-bar {
  width: 100%;
  max-width: 48px;
  min-height: 4px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #1890ff, #69c0ff);
  transition: height 0.4s ease;
}

.by-grafik-etiket {
  font-size: 11px;
  color: var(--py-metin-ucuncul, rgba(0, 0, 0, 0.45));
  white-space: nowrap;
}

// Bildirim Listesi
.by-filtre-satir {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.by-alici-hucre {
  display: flex;
  align-items: center;
  gap: 6px;
}

.by-mesaj-truncate {
  display: inline-block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.by-okundu-tarih {
  display: block;
  color: var(--py-metin-ucuncul, rgba(0, 0, 0, 0.45));
  font-size: 10px;
}

// Push Ayarlari
.by-push-stat-satir {
  margin-bottom: 8px;
}

.by-kopyala-ikon {
  cursor: pointer;
  color: var(--py-metin-ikincil, rgba(0, 0, 0, 0.45));
  transition: color 0.2s;
  &:hover { color: var(--py-mavi, #1890ff); }
}

// Push Kullanici Grid
.push-kullanici-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.push-kullanici-kart {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--py-kenar, #f0f0f0);
  background: var(--py-arkaplan-kart, #fff);
  cursor: pointer;
  transition: all 0.25s ease;

  &:hover {
    border-color: var(--py-mavi, #1890ff);
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.12);
    transform: translateY(-1px);
  }
}

.push-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1890ff, #36cfc9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.push-bilgi {
  flex: 1;
  min-width: 0;
}

.push-isim {
  font-weight: 500;
  font-size: 14px;
  color: var(--py-metin, rgba(0, 0, 0, 0.85));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.push-email {
  font-size: 12px;
  color: var(--py-metin-ucuncul, rgba(0, 0, 0, 0.45));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

// Responsive
@media (max-width: 768px) {
  .by-icerik { padding: 0 12px 16px; }
  .by-form-alan { padding: 16px; }
  .by-grafik { height: 150px; gap: 6px; }
  .by-grafik-bar { max-width: 32px; }
  .by-mesaj-truncate { max-width: 140px; }
  .push-kullanici-grid { grid-template-columns: 1fr; }
}
