/* Ürün satış raporu — detay sekmesi ve Excel dışa aktarma */

.product-sales-detail-section-header {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rz-base-300, #dee2e6);
  margin-bottom: 1rem;
}

.product-sales-detail-section-header__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--rz-base-900, #212529);
  margin: 0 0 0.25rem 0;
}

.product-sales-detail-section-header__desc {
  font-size: 0.8125rem;
  color: var(--rz-base-600, #6c757d);
  margin: 0;
  max-width: 42rem;
  line-height: 1.45;
}

.product-sales-tabs .rz-tabview-panel {
  padding-top: 0.75rem;
}

.product-sales-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.125rem;
  margin-bottom: 1rem;
  background: linear-gradient(
    145deg,
    var(--rz-base-50, #f8f9fa) 0%,
    var(--rz-base-100, #f1f3f5) 45%,
    rgba(255, 255, 255, 0.92) 100%
  );
  border: 1px solid var(--rz-base-300, #dee2e6);
  border-radius: var(--rz-border-radius, 6px);
  border-left: 4px solid var(--rz-success, #198754);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 14px rgba(0, 0, 0, 0.06);
}

.product-sales-detail-toolbar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: rgba(25, 135, 84, 0.12);
  color: var(--rz-success, #198754);
  flex-shrink: 0;
}

.product-sales-detail-toolbar__text {
  flex: 1;
  min-width: 12rem;
}

.product-sales-detail-toolbar__title {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--rz-base-900, #212529);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.product-sales-detail-toolbar__hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--rz-base-600, #6c757d);
  line-height: 1.4;
}

.product-sales-detail-toolbar__actions {
  flex-shrink: 0;
}

.product-sales-excel-btn.rz-button {
  min-width: 12.5rem;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  padding-left: 1.1rem !important;
  padding-right: 1.1rem !important;
  box-shadow:
    0 2px 6px rgba(25, 135, 84, 0.28),
    0 1px 2px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.15s ease,
    transform 0.12s ease;
}

.product-sales-excel-btn.rz-button:not(:disabled):hover {
  box-shadow:
    0 4px 14px rgba(25, 135, 84, 0.38),
    0 2px 4px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.product-sales-excel-btn.rz-button:disabled {
  opacity: 0.55;
  box-shadow: none;
}

@media (max-width: 576px) {
  .product-sales-detail-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .product-sales-excel-btn.rz-button {
    width: 100%;
    min-width: 0;
  }
}
