/* Minimal styles */
.lp-pos {
  color: #065f46;
  font-weight: 700;
}
.lp-neg {
  color: #991b1b;
  font-weight: 700;
}
.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.lp-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}
.lp-preview {
  font-weight: 600;
  margin-bottom: 6px;
}
.lp-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.lp-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.lp-tab {
  border: 1px solid #d6ccc2;
  background: #fdf8f3;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}
.lp-tab.is-active {
  background: #d97706; /* złoto-pomarańczowy */
  border-color: #b45309;
  color: #fff;
}
.lp-tabpanel {
  display: none;
}
.lp-tabpanel.is-active {
  display: block;
}
.shop_table {
  width: 100%;
  border-collapse: collapse;
}
.shop_table th,
.shop_table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 8px 6px;
  text-align: left;
}
.lp-points-info {
  margin-top: 10px;
  font-size: 14px;
  color: #444;
  display: inline-block;
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 10px;
}
.lp-points-info .lp-gem {
  margin-right: 6px;
}

/* Drobna korekta notice pod przyciskiem */
.lp-reward-status {
  margin-top: 10px;
}
/* --- Kod kuponu + Kopiuj --- */
.lp-coupon-list td code {
  background: #f5f5f5;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-family: monospace;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}

.lp-copy-btn {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 4px 8px;
  margin-left: 6px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lp-copy-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.lp-copy-msg {
  font-size: 13px;
  color: #16a34a;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.lp-card--special {
  border: 2px solid #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
  position: relative;
}
.lp-badge-special {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #f59e0b;
  color: #111;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.lp-card--special:hover {
  animation: lpPulse 1.6s ease-in-out infinite;
}
@keyframes lpPulse {
  0% {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.18);
  }
  100% {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
  }
}
/* Special reward bar */
.lp-special-label {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: #e11d48;
  font-size: 13px;
}

.lp-special-progress {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 3px;
}

.lp-special-progress-bar {
  height: 8px;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  border-radius: 50px;
  transition: width 0.4s ease-in-out;
}

.lp-special-progress-text {
  font-size: 11px;
  color: #6b7280;
  text-align: right;
}
.fa-bread-slice {
  color: #c68c45; /* kolor chleba 🥖 */
}
.woocommerce-info::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  content: "\f05a" !important; /* Ikona info */
}
.woocommerce-error::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  content: "\f071" !important; /* Ikona error (exclamation-triangle) */
}

/*  */
.lp-membership-box {
  margin-bottom: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.lp-status-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.lp-status-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.lp-status-icon.active {
  background: #dcfce7;
  color: #166534;
}

.lp-status-icon.inactive {
  background: #f3f4f6;
  color: #6b7280;
}

.lp-status-content-active h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #059669;
  line-height: 1.4;
}

.lp-status-content-active p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.lp-status-content-inactive h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #dc2626;
  line-height: 1.4;
}

.lp-status-content-inactive p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.lp-membership-details {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
}

.lp-membership-details strong {
  color: #1f2937;
  font-weight: 600;
}

.lp-action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.lp-btn {
  flex: 1;
  min-width: 160px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-family: inherit;
}

.lp-btn-primary {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  border: 1px solid #059669;
}

.lp-btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
  color: #fff;
}

.lp-btn-secondary {
  background: white;
  color: #dc2626;
  border: 1.5px solid #fecaca;
}

.lp-btn-secondary:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #dc2626;
}

.lp-info-text {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  padding: 8px 0;
}

.lp-info-text strong {
  color: #374151;
}

@media (max-width: 640px) {
  .lp-membership-box-v2 {
    padding: 16px;
    margin-bottom: 16px;
  }

  .lp-action-buttons {
    flex-direction: column;
  }

  .lp-btn {
    min-width: unset;
  }
}
