.deficryptogateway-payment-method-wrapper {
    display: flex;
    align-items: center;
}

.deficryptogateway-payment-method-wrapper img {
    display: flex;
    width: 100%;
}

/* --- Basic styles: ensure automatic width and handle responsiveness --- */
label[for^="payment_method_deficrypto-instant-payment-gateway-"] img {
  width: auto;   /* Explicitly set width to auto to work with fixed height */
  height: auto;  /* Default value, will be overridden by specific rules below */
  max-width: 100%; /* Crucial: prevents the automatically calculated width from exceeding the container */
  vertical-align: middle;
  display: inline-block; 
}

/* --- Set the fixed target height --- */

/* Fixed height: 30px */
label[for="payment_method_deficrypto-instant-payment-gateway-revolut"] img,
label[for="payment_method_deficrypto-instant-payment-gateway-mercuryo"] img,
label[for="payment_method_deficrypto-instant-payment-gateway-moonpay"] img,
label[for="payment_method_deficrypto-instant-payment-gateway-guardarian"] img,
label[for="payment_method_deficrypto-instant-payment-gateway-werteur"] img,
label[for="payment_method_deficrypto-instant-payment-gateway-stripe"] img,
label[for="payment_method_deficrypto-instant-payment-gateway-wert"] img {
   height: 30px; 
   /* Width will be calculated automatically based on aspect ratio */
}

/* Fixed height: 60px */
label[for="payment_method_deficrypto-instant-payment-gateway-alchemypay"] img,
label[for="payment_method_deficrypto-instant-payment-gateway-hosteddeficrypto"] img {
   height: 60px;
   /* Width will be calculated automatically based on aspect ratio */
}