
/* WAPC Frontend (spójny, żółto-czarny akcent) */
.wapc{
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  padding:14px;
  margin:18px 0;
  background:#fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.wapc__header{
  display:inline-block;
  background:#FFD400;
  color:#000;
  font-weight:800;
  padding:10px 12px;
  border-radius:12px;
  margin-bottom:12px;
  letter-spacing:.2px;
}

.wapc__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap:12px;
  align-items:stretch;
}

@media (max-width: 520px){
  .wapc__grid{ grid-template-columns: 1fr; }
}

.wapc__field{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.wapc__label{
  display:block;
  font-weight:700;
  margin:0 0 6px 0;
}

.wapc__control{
  width:100% !important;
  height:44px !important;
  min-height:44px !important;
  padding:10px 12px !important;
  border-radius:10px !important;
  border:1px solid rgba(0,0,0,.14) !important;
  background:#fff !important;
  line-height:24px !important;
  box-sizing:border-box !important;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
}

select.wapc__control{
  background-image: linear-gradient(45deg, transparent 50%, #000 50%), linear-gradient(135deg, #000 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px !important;
}

.wapc__control:focus{
  outline:none !important;
  border-color:#FFD400 !important;
  box-shadow: 0 0 0 3px rgba(255,212,0,.25) !important;
}

.wapc__hint{
  font-size:12px;
  opacity:.75;
  margin-top:6px;
  min-height:16px;
}

.wapc__addons{
  margin-top:14px;
  padding-top:12px;
  border-top:1px dashed rgba(0,0,0,.15);
}

.wapc__addons-title{
  font-weight:800;
  margin-bottom:8px;
}

.wapc__addons-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
}

.wapc__check{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,212,0,.12);
  color:#000;
}

.wapc__check input{
  width:18px;
  height:18px;
}

.wapc__summary{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.wapc__pill{
  border-radius:999px;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,.12);
  background:#fafafa;
  display:flex;
  gap:8px;
  align-items:center;
}

.wapc__pill--total{
  background:#FFD400;
  color:#000;
  font-weight:900;
}

.wapc--error{
  border-left:6px solid #d9534f;
  background:#fff0f0;
  padding:12px;
  border-radius:10px;
  margin:14px 0;
}


/* Tier pricing table + upsell hint */
.wapc__tiers{
  margin-top:14px;
  padding-top:12px;
  border-top:1px dashed rgba(0,0,0,.15);
}
.wapc__tiers-title{
  font-weight:900;
  margin-bottom:8px;
}
.wapc-tier-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
}
.wapc-tier-table th,
.wapc-tier-table td{
  padding:10px 12px;
  text-align:left;
  font-size:14px;
}
.wapc-tier-table thead th{
  background: rgba(255,212,0,.20);
  color:#000;
  font-weight:900;
}
.wapc-tier-table tbody tr:nth-child(even) td{
  background: #fafafa;
}
.wapc__tiers-hint{
  margin-top:10px;
  padding:10px 12px;
  border-radius:12px;
  background:#FFD400;
  color:#000;
  font-weight:700;
}
