.gk-c2c-box{--gk-c2c-border:#e8e8ee;--gk-c2c-bg:#fff;--gk-c2c-soft:#f7f7fb;--gk-c2c-text:#24242b;--gk-c2c-muted:#6b7280;--gk-c2c-primary:#ef4056;direction:rtl;background:var(--gk-c2c-bg);border:1px solid var(--gk-c2c-border);border-radius:min(calc(var(--gk-radius, 8px) * 2.25), 27px);padding:18px;margin:18px 0;color:var(--gk-c2c-text);box-shadow:0 10px 30px rgba(20,20,40,.05)}
.gk-c2c-box__head{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px}.gk-c2c-box__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:min(calc(var(--gk-radius, 8px) * 1.75), 24px);background:rgba(239,64,86,.1);font-size:22px}.gk-c2c-box__head strong{display:block;font-size:17px;margin-bottom:4px}.gk-c2c-box__head p{margin:0;color:var(--gk-c2c-muted);line-height:1.8}.gk-c2c-amount{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--gk-c2c-soft);border-radius:min(calc(var(--gk-radius, 8px) * 1.75), 24px);padding:12px 14px;margin:12px 0}.gk-c2c-amount span{color:var(--gk-c2c-muted)}.gk-c2c-amount strong{font-size:18px;color:var(--gk-c2c-primary)}
.gk-c2c-account-card{border:1px dashed var(--gk-c2c-border);border-radius:min(calc(var(--gk-radius, 8px) * 2), 24px);padding:14px;margin:14px 0;background:linear-gradient(180deg,#fff,#fafafa)}.gk-c2c-account-card__title{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--gk-c2c-border);padding-bottom:10px;margin-bottom:10px}.gk-c2c-account-card__title span{font-size:12px;padding:4px 9px;border-radius:999px;background:#eef2ff;color:#3730a3}.gk-c2c-row{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid rgba(0,0,0,.04)}.gk-c2c-row:last-child{border-bottom:0}.gk-c2c-row span{color:var(--gk-c2c-muted);font-size:13px}.gk-c2c-row strong{font-size:15px;letter-spacing:.4px;word-break:break-word}.gk-c2c-copy{border:0;background:var(--gk-c2c-primary);color:#fff;border-radius:min(calc(var(--gk-radius, 8px) * 1.25), 24px);padding:7px 12px;cursor:pointer;font-size:12px}.gk-c2c-copy.is-copied{background:#16a34a}.gk-c2c-account-desc{margin:10px 0 0;color:var(--gk-c2c-muted);line-height:1.8}.gk-c2c-instructions{font-size:14px;color:#374151;line-height:1.9}.gk-c2c-alert{padding:12px;border-radius:min(calc(var(--gk-radius, 8px) * 1.5), 24px);margin:12px 0}.gk-c2c-alert--warning{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}.gk-c2c-alert--info{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}
.gk-c2c-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-radius:min(calc(var(--gk-radius, 8px) * 1.75), 24px);padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;margin-top:14px}.gk-c2c-status span{color:var(--gk-c2c-muted)}.gk-c2c-status strong{padding:4px 10px;border-radius:999px;background:#e0f2fe;color:#075985}.gk-c2c-status--approved strong{background:#dcfce7;color:#166534}.gk-c2c-status--rejected strong,.gk-c2c-status--expired strong{background:#fee2e2;color:#991b1b}.gk-c2c-status--needs_correction strong{background:#fef3c7;color:#92400e}.gk-c2c-status small{display:block;width:100%;color:#64748b}.gk-c2c-status em{display:block;width:100%;font-style:normal;color:#92400e;background:#fffbeb;border-radius:min(calc(var(--gk-radius, 8px) * 1.25), 24px);padding:8px 10px}
.gk-c2c-receipt-form{margin-top:16px;padding-top:16px;border-top:1px solid var(--gk-c2c-border)}.gk-c2c-receipt-form h3{font-size:17px;margin:0 0 12px}.gk-c2c-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gk-c2c-form-grid .form-row{margin:0!important}.gk-c2c-form-grid .form-row-wide{grid-column:1/-1}.gk-c2c-receipt-form label{display:block;margin-bottom:6px;font-weight:600}.gk-c2c-receipt-form input[type=text],.gk-c2c-receipt-form input[type=file],.gk-c2c-receipt-form textarea{width:100%;border:1px solid var(--gk-c2c-border);border-radius:min(calc(var(--gk-radius, 8px) * 1.5), 24px);padding:10px 12px;background:#fff}.gk-c2c-receipt-form small{display:block;color:var(--gk-c2c-muted);margin-top:5px}.gk-c2c-submit{margin-top:14px!important;border-radius:min(calc(var(--gk-radius, 8px) * 1.5), 24px)!important;padding:10px 18px!important}.gk-c2c-receipt-summary{margin-top:14px;border:1px solid var(--gk-c2c-border);border-radius:min(calc(var(--gk-radius, 8px) * 1.75), 24px);padding:13px;background:#fff}.gk-c2c-receipt-summary h4{margin:0 0 8px}.gk-c2c-receipt-summary ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.gk-c2c-receipt-summary li{display:flex;justify-content:space-between;gap:12px;align-items:center}.gk-c2c-receipt-summary span{color:var(--gk-c2c-muted)}
.woocommerce-checkout-payment .payment_method_gk_card_to_card .gk-c2c-box{margin-top:10px}.gk-thankyou-gateway-output .gk-c2c-box{margin-top:22px}
@media (max-width:768px){.gk-c2c-box{padding:14px;border-radius:min(calc(var(--gk-radius, 8px) * 2), 24px)}.gk-c2c-row{grid-template-columns:1fr;gap:5px}.gk-c2c-row--copy{grid-template-columns:1fr auto}.gk-c2c-row--copy span{grid-column:1/-1}.gk-c2c-form-grid{grid-template-columns:1fr}.gk-c2c-receipt-summary li{display:block}.gk-c2c-account-card__title{align-items:flex-start;flex-direction:column}}

.gk-c2c-awaiting-page{direction:rtl;margin:24px 0}.gk-c2c-awaiting-hero{display:flex;gap:16px;align-items:flex-start;background:linear-gradient(135deg,#fff7f8,#fff);border:1px solid #f3d5da;border-radius:min(calc(var(--gk-radius, 8px) * 2.75), 33px);padding:22px;margin-bottom:18px}.gk-c2c-awaiting-hero__icon{display:grid;place-items:center;width:52px;height:52px;border-radius:min(calc(var(--gk-radius, 8px) * 2.25), 27px);background:rgba(239,64,86,.12);font-size:26px;flex:0 0 auto}.gk-c2c-awaiting-hero h1{margin:0 0 8px;font-size:24px}.gk-c2c-awaiting-hero p{margin:0;line-height:1.9;color:#4b5563}.gk-c2c-awaiting-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:18px;align-items:start}.gk-c2c-mini-order,.gk-c2c-mini-help{background:#fff;border:1px solid #e8e8ee;border-radius:min(calc(var(--gk-radius, 8px) * 2.25), 27px);padding:16px;margin-bottom:14px;box-shadow:0 10px 30px rgba(20,20,40,.04)}.gk-c2c-mini-order h2,.gk-c2c-mini-help h2{font-size:16px;margin:0 0 12px}.gk-c2c-mini-order ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.gk-c2c-mini-order li{display:flex;align-items:center;justify-content:space-between;gap:12px}.gk-c2c-mini-order span{color:#6b7280}.gk-c2c-mini-help p{margin:0;line-height:1.9;color:#4b5563}
@media (max-width:768px){.gk-c2c-awaiting-hero{display:block;padding:18px}.gk-c2c-awaiting-hero__icon{margin-bottom:12px}.gk-c2c-awaiting-grid{grid-template-columns:1fr}.gk-c2c-awaiting-hero h1{font-size:20px}}

/* v1.9.177: flat checkout presentation. The payment-method row is already the card;
   do not place another card, title, icon or duplicated order amount inside it. */
body.gk-checkout-layout #payment .payment_method_gk_card_to_card > .payment_box,
body.gk-order-pay-layout #payment .payment_method_gk_card_to_card > .payment_box {
    margin: 4px 30px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--gk-cf-ink-500, #6b7280) !important;
    line-height: 1.75 !important;
}
body.gk-checkout-layout #payment .payment_method_gk_card_to_card > .payment_box::before,
body.gk-order-pay-layout #payment .payment_method_gk_card_to_card > .payment_box::before {
    display: none !important;
}
.gk-c2c-checkout-note {
    position: relative;
    margin: 0 !important;
    padding: 0 15px 0 0 !important;
    color: #7a8290 !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
}
.gk-c2c-checkout-note::before {
    content: "";
    position: absolute;
    top: .72em;
    right: 0;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
    opacity: .45;
}
@media (max-width: 520px) {
    body.gk-checkout-layout #payment .payment_method_gk_card_to_card > .payment_box,
    body.gk-order-pay-layout #payment .payment_method_gk_card_to_card > .payment_box {
        margin-inline-start: 0 !important;
        margin-inline-end: 30px !important;
    }
    .gk-c2c-checkout-note {
        font-size: 11px !important;
    }
}


/* v1.9.178: keep the checkout hint inside the payment-method card.
   WooCommerce/payment themes may give .payment_box a full width, so using
   an external RTL margin can overflow the selected payment row. Use internal
   alignment space instead and let the text wrap naturally. */
body.gk-checkout-layout #payment .payment_method_gk_card_to_card > .payment_box,
body.gk-order-pay-layout #payment .payment_method_gk_card_to_card > .payment_box {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 5px 0 0 !important;
    padding: 0 30px 0 0 !important;
    overflow: visible !important;
}
.gk-c2c-checkout-note {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    text-wrap: pretty;
}
.gk-c2c-checkout-note::before {
    content: none !important;
    display: none !important;
}
@media (max-width: 520px) {
    body.gk-checkout-layout #payment .payment_method_gk_card_to_card > .payment_box,
    body.gk-order-pay-layout #payment .payment_method_gk_card_to_card > .payment_box {
        margin: 5px 0 0 !important;
        padding: 0 30px 0 0 !important;
    }
}
