.payment-list-panel .purchase-search { max-width: 440px; margin-bottom: 4px; }
.payment-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.payment-cards .purchase-empty { grid-column: 1 / -1; }
.payment-card { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; overflow: hidden; border: 1px solid #e9e1ef; border-radius: 14px; background: #fff; }
.payment-card-main { display: flex; flex-direction: column; min-width: 0; }
.payment-card-logo { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #f7f2fa; color: #ab8cc0; }
.payment-card-logo img { width: 100%; height: 100%; padding: 12px; object-fit: contain; }
.payment-card-logo [hidden] { display: none; }
.payment-card-placeholder { display: grid; place-items: center; }
.payment-card-placeholder svg { width: 40px; height: 40px; }
.payment-card-info { display: grid; gap: 5px; min-width: 0; padding: 15px 15px 0; }
.payment-card-info strong { overflow-wrap: anywhere; color: #352943; font-size: 14px; }
.payment-card-info small,.payment-card-actions small { color: #8a8092; font-size: 12px; }
.payment-card-actions { display: flex; align-items: center; gap: 10px; padding: 12px 15px 15px; }
.payment-card-actions .button-secondary { flex: 1; }
.penalty-form .purchase-actions { margin-top: 18px; }
.penalty-form[hidden] { display: none; }
.penalty-list-panel { padding: 22px; border: 1px solid #e7e3ec; border-radius: 16px; background: #fff; box-shadow: 0 2px 5px #28153804; }
.penalty-toolbar { display:flex; align-items:end; gap:12px; margin-bottom:18px; }
.penalty-toolbar .purchase-search { flex:1; max-width:440px; margin:0; }
.penalty-toolbar .purchase-field select { min-width:190px; }
.penalty-row { display:grid; grid-template-columns:minmax(130px,1fr) minmax(120px,.8fr) minmax(130px,1fr) minmax(150px,1.5fr) auto; gap:14px; align-items:center; padding:16px 12px; border-top:1px solid #f0ecf3; color:#60566b; font-size:12px; }
.penalty-head { padding:12px; border:0; border-radius:10px; background:#faf8fc; color:#998a9f; font-size:11px; }
.penalty-row > span,.penalty-row > div { min-width:0; overflow-wrap:anywhere; }
.penalty-method { display:flex; align-items:center; gap:10px; min-width:0; color:#352943; font-size:13px; }
.penalty-method-logo,.penalty-method-placeholder { width:40px; height:40px; flex:none; padding:4px; border-radius:9px; background:#f7f4f9; object-fit:contain; }
.penalty-method-placeholder { display:grid; place-items:center; color:#a18cab; }
.penalty-method-placeholder svg { width:21px; height:21px; }
.penalty-amount { color:#6345a0; font-weight:700; }
@media(max-width:850px) { .penalty-row:not(.penalty-head) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:16px; margin-top:10px; border:1px solid #ece8f0; border-radius:13px; } .penalty-row [data-label]::before { content:attr(data-label); display:block; margin-bottom:5px; color:#998a9f; font-size:11px; font-weight:400; } .penalty-row .purchase-actions { grid-column:1/-1; } .penalty-head { display:none; } }
@media(max-width:670px) { .penalty-list-panel { padding:14px; } }
@media(max-width:600px) { .gateway-penalties-page .products-heading { align-items:flex-start; flex-direction:column; } .penalty-toolbar { align-items:stretch; flex-direction:column; } .penalty-toolbar .purchase-search { max-width:none; } .penalty-toolbar .purchase-field select { min-width:0; } }
@media(max-width: 670px) { .payment-list-panel .purchase-search { max-width: none; } .payment-cards { gap: 10px; } }
