/* Kártyás fizetés oldal (order/free_payment) - az info screen stílusával egységes */
html, body { background: #333 !important; background-image: none !important; }
.content { border: 0 solid #c22c33; }

#pay-page { max-width: 1100px; margin: 0 auto; padding: 10px 15px 30px; box-sizing: border-box; }
#pay-page, #pay-page * { box-sizing: border-box; }
.pay-title { font-size: 26px; font-weight: normal; margin: 4px 0 18px; color: #141414; }
.pay-title i { margin-right: 8px; color: #333; }

.pay-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; align-items: start; }
.pay-main, .pay-side { min-width: 0; }

.pay-box { background: #f5f5f5; border-radius: 3px; margin: 0 0 14px; padding: 0 0 8px; overflow: hidden; }
.pay-box legend.form-header, .pay-box .form-header {
    color: #141414 !important; background: #cbcbcb; border-radius: 3px 3px 0 0; width: 100%; max-width: none;
    margin: 0 0 8px; padding: 8px 14px; font-size: 15px; font-weight: bold; line-height: 25px; border-bottom: 0; }
.pay-body { padding: 0 14px 6px; font-size: 14px; line-height: 1.5; }
.pay-body p { margin: 0 0 10px; }

.pay-field { margin: 0 0 12px; }
.pay-field label { display: block; font-size: 13px; margin: 0 0 4px; }
.pay-input-group { display: flex; align-items: stretch; max-width: 260px; }
.pay-input-group input { flex: 1 1 auto; min-width: 0; height: 40px; margin: 0; border-radius: 3px 0 0 3px; font-size: 18px; padding: 0 12px; }
.pay-suffix { display: inline-flex; align-items: center; padding: 0 14px; background: #e3e3e3; border: 1px solid #ccc; border-left: 0; border-radius: 0 3px 3px 0; font-size: 18px; }
.pay-text { width: 100%; max-width: 100%; height: 40px; margin: 0; padding: 0 12px; font-size: 15px; border-radius: 3px; }
.pay-hint { font-size: 13px; color: #555; margin: 14px 0 12px !important; }

/* gomb: mint az info screen Confirm gombja */
.pay-btn { font-weight: 600; border: 0; padding: 0 28px; width: 100%; height: 40px; font-size: 1.3em; line-height: 40px; display: block; }
.pay-btn i { margin-right: 6px; }

.pay-cards { margin-top: 16px; padding-top: 12px; border-top: 1px solid #ddd; font-size: 13px; color: #555; }
.pay-cards img { max-width: 100%; height: auto; width: 520px; display: block; margin-bottom: 8px; }

.pay-row { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; }
.pay-ico { color: #333; width: 18px; text-align: center; margin-top: 4px; flex: 0 0 18px; }
.pay-row span, .pay-row a { min-width: 0; word-break: break-word; }
.pay-person { padding: 6px 0 8px; border-bottom: 1px solid #ddd; }
.pay-person:last-child { border-bottom: 0; }
.pay-body hr { border: 0; border-top: 1px solid #c7c7c7; border-bottom: 1px solid #fff; }

@media (max-width: 767px) {
    html, body { overflow-x: hidden; }
    body { min-width: 0 !important; width: 100% !important; }
    #header, #fejlec, #fejlec_container, #logo_v1_container, .content, .container {
        width: auto !important; max-width: 100% !important; min-width: 0 !important; }
    #header, #fejlec, #fejlec_container { height: auto !important; }
    #logo_v1_container { float: none !important; width: 100% !important; height: auto !important; padding: 12px 0 !important; text-align: center; }
    #logo_v1_container img { max-width: 70%; height: auto; }
    .content { padding-left: 12px !important; padding-right: 12px !important; }
    .pay-grid { grid-template-columns: 1fr; gap: 0; }
    .pay-title { font-size: 21px; }
    .pay-input-group { max-width: none; }
    .pay-btn { width: 100%; display: block; }
}

/* egyforma magasságú mezők (bootstrap 2 input-szabályok felülírása) */
#pay-page .pay-input-group { display: flex; align-items: stretch; max-width: 260px; height: 42px; }
#pay-page .pay-input-group input[type="number"],
#pay-page input.pay-text[type="text"] {
    height: 42px !important; min-height: 42px; line-height: 42px; padding: 0 12px !important; margin: 0 !important;
    font-size: 16px; border: 1px solid #ccc; border-radius: 3px; box-shadow: none; box-sizing: border-box !important; }
#pay-page .pay-input-group input[type="number"] { flex: 1 1 auto; width: auto; min-width: 0; border-radius: 3px 0 0 3px; }
#pay-page .pay-suffix { height: 42px; box-sizing: border-box; padding: 0 16px; font-size: 16px; line-height: 40px; }
#pay-page input.pay-text[type="text"] { width: 100% !important; max-width: 100% !important; display: block; }
