.bambora_message {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    -ms-border-radius: 4px;
    border-radius: 4px;
}

.bambora_error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.bambora_success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

/* Payment method label: title with a small Worldline logo on the right */
.bambora_payment_label_icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

img.bambora_payment_icon,
.payment_method_bambora label img.bambora_payment_icon {
    height: 12px;
    width: auto;
    max-height: 12px;
    flex-shrink: 0;
    margin: 0 0 0 auto;
    float: none;
}

/* Content when selected: payment type logos, then the description */
.bambora_payment_types {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}

.bambora_payment_types img {
    height: 22px;
    width: auto;
    max-height: 22px;
    margin: 0;
    border-radius: 3px;
    display: block;
}

.bambora_payment_text {
    margin: 6px 0 0;
    font-size: 0.875em;
    opacity: 0.75;
}

.bambora_payment_types:only-child,
.bambora_payment_text:first-child {
    margin-top: 0;
}