.eb-payment-proof-container {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.eb-payment-proof-container h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.5em;
}

.eb-payment-proof-container p {
    color: #666;
    margin-bottom: 20px;
}

.eb-payment-form .form-row {
    margin-bottom: 15px;
}

.eb-payment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}

.eb-payment-form input[type="text"],
.eb-payment-form input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.eb-payment-form .description {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    display: block;
}

.eb-payment-form button[type="submit"] {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.eb-payment-form button[type="submit"]:hover {
    background: #006ba1;
}

/* Modal / Popup Styles */
.eb-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.eb-popup-overlay.eb-active {
    display: flex;
}

.eb-popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Ensure no scrollbars */
    overflow-y: auto;
    max-height: 90vh;
}

.eb-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.eb-popup-content h3 {
    margin-top: 0;
}

/* --- Checkout Pre-Upload Popup Styles --- */
.eb-popup-template {
    display: none;
}

.eb-checkout-dynamic-popup .eb-popup-content {
    background: #fff;
    max-width: 500px;
    margin: 5% auto;
    padding: 25px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.eb-checkout-dynamic-popup h3 {
    margin-top: 0;
    font-size: 20px;
    color: #3d3d3d;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.eb-checkout-dynamic-popup p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.eb-checkout-dynamic-popup .button {
    text-align: center;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.eb-checkout-dynamic-popup .button-primary {
    background: #007cba;
    color: #fff;
    border-color: #007cba;
}

.eb-checkout-dynamic-popup .button-primary:hover {
    background: #006ba1;
    color: #fff;
}

.eb-checkout-dynamic-popup .eb-back-step-btn {
    background: #f1f1f1;
    color: #333;
    border: 1px solid #ccc;
}

.eb-checkout-dynamic-popup .eb-back-step-btn:hover {
    background: #e2e2e2;
}

.eb-checkout-dynamic-popup input[type="text"],
.eb-checkout-dynamic-popup input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.eb-checkout-dynamic-popup label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

/* Custom button wrapper - hidden by default, JS controls visibility */
#eb-custom-button-wrapper {
    display: none;
    margin-top: 15px;
    width: 100%;
}

#eb-custom-button-wrapper #eb_custom_place_order {
    width: 100%;
    min-height: 45px;
    display: block;
}

/* Limit Payment Gateway Icon Width */
.woocommerce-checkout .wc_payment_method label img,
.woocommerce-checkout .wc_payment_methods .payment_method_eb_instapay label img,
.woocommerce-checkout .wc_payment_methods .payment_method_eb_vodafone label img,
.woocommerce-checkout .wc_payment_methods .payment_method_eb_binance label img,
.woocommerce-checkout .wc_payment_methods .payment_method_eb_westernunion label img,
.woocommerce-checkout .wc_payment_methods .payment_method_eb_other label img {
    max-width: 30px !important;
    height: auto !important;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}