/* Main layout container */
.Polaris-Page {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Card visual fix — Shopify native look */
.Polaris-Card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(25, 28, 31, 0.1),
              0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

/* Optional: scale button padding */
.Polaris-Button {
  font-weight: 600;
}

/* Logo image spacing if reused elsewhere */
.logo-img {
  height: 48px;
  margin-bottom: 1rem;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #e0e0e0;
}

.product-item:first-child {
  border-top: none;
}

.product-item img {
  height: 80px;
  width: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.product-label {
  flex-grow: 1;
  cursor: pointer;
}

.product-details {
  font-size: 0.875rem;
  color: #6d7175;
}

.blog-type-select {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #dcdcdc;
  background-color: #fff;
  font-size: 1rem;
}

/* Search input field */
#product-search {
  font-size: 1rem;
  padding: 0.75rem;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  width: 100%;
  margin-bottom: 1rem;
}

/* Ensure consistent spacing between elements */
.Polaris-Card__Section p {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Align success icon with heading */
.success-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Keep buttons grouped horizontally clean */
.button-group {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

/* Optional: soft green background card if you want variation */
.success-card {
  background-color: #f0fff4;
  border: 1px solid #aee9c1;
  border-radius: 8px;
  padding: 1.5rem;
}

/* Optional: animate fade-in if you want microinteraction polish */
.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-img {
  height: 64px;
  margin-bottom: 0.5rem;
}

.Polaris-Card__Section ul {
  margin-top: 0.75rem;
  padding-left: 1.2rem;
}

.Polaris-Card__Section ul li {
  margin-bottom: 0.4rem;
}
