/* ==========================================================
   GCash & Maya QR Payment — Checkout Styles v1.0.3
   ========================================================== */

/* ----------------------------------------------------------
   Payment method list logos (small, inline)
   ---------------------------------------------------------- */
.woocommerce-checkout ul.payment_methods li img,
ul.payment_methods .payment_method_gmp_gcash img,
ul.payment_methods .payment_method_gmp_maya img {
    display: inline-block !important;
    height: 22px !important;
    width: auto !important;
    max-width: 70px !important;
    max-height: 22px !important;
    vertical-align: middle !important;
    margin: 0 0 0 6px !important;
    object-fit: contain !important;
    float: none !important;
}

/* ----------------------------------------------------------
   Outer wrapper
   ---------------------------------------------------------- */
.gcashmaya-payment-wrap {
    margin-top: 10px;
}

.gcashmaya-description {
    font-size: 0.93em;
    color: #555;
    margin-bottom: 10px;
}

/* ----------------------------------------------------------
   Merchant info card
   ---------------------------------------------------------- */
.gcashmaya-merchant-info {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 16px;
    box-sizing: border-box;
    width: 100%;
}

.gcashmaya-section-title {
    font-size: 1em;
    font-weight: 700;
    margin: 0 0 12px;
    padding-left: 10px;
    border-left: 4px solid #007bff;
}

/* ----------------------------------------------------------
   Account details
   ---------------------------------------------------------- */
.gcashmaya-account-details {
    margin-bottom: 14px;
}

.gcashmaya-account-details p {
    margin: 4px 0;
    font-size: 0.93em;
}

.gcashmaya-label {
    color: #777;
    margin-right: 5px;
}

/* ----------------------------------------------------------
   QR Code — FIXED large size, never shrinks
   ---------------------------------------------------------- */
.gcashmaya-qr-wrap {
    text-align: center;
    margin: 0 auto 10px;
    width: 100%;
}

.gcashmaya-qr-image {
    display: block !important;
    width: 220px !important;
    height: 220px !important;
    min-width: 220px !important;
    min-height: 220px !important;
    max-width: 220px !important;
    max-height: 220px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    padding: 8px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.10) !important;
    box-sizing: content-box !important;
    float: none !important;
}

.gcashmaya-qr-hint {
    font-size: 0.80em;
    color: #888;
    margin: 8px 0 0;
    text-align: center;
}

/* ----------------------------------------------------------
   Customer mobile input
   ---------------------------------------------------------- */
.gcashmaya-mobile-wrap {
    margin-top: 14px;
}

.gcashmaya-mobile-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.94em;
}

.gcashmaya-mobile-input {
    display: block !important;
    width: 100% !important;
    max-width: 320px !important;
    padding: 10px 12px !important;
    font-size: 1em !important;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s;
}

.gcashmaya-mobile-input:focus {
    outline: none !important;
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0,123,255,.15) !important;
}

.gcashmaya-maya .gcashmaya-mobile-input:focus {
    border-color: #00a651 !important;
    box-shadow: 0 0 0 3px rgba(0,166,81,.15) !important;
}

.gcashmaya-mobile-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.80em;
    color: #999;
}

/* ----------------------------------------------------------
   Thank-you page
   ---------------------------------------------------------- */
.gcashmaya-thankyou {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 12px 16px;
    border-radius: 4px;
    margin: 16px 0;
}

/* ----------------------------------------------------------
   Responsive — keep QR a good size on mobile too
   ---------------------------------------------------------- */
@media ( max-width: 480px ) {
    .gcashmaya-qr-image {
        width: 190px !important;
        height: 190px !important;
        min-width: 190px !important;
        min-height: 190px !important;
        max-width: 190px !important;
        max-height: 190px !important;
    }

    .gcashmaya-mobile-input {
        max-width: 100% !important;
    }
}
