/**
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.txt
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to a newer
* versions in the future. If you wish to customize this module for your needs
* please refer to CustomizationPolicy.txt file inside our module for more information.
*
* @author Webkul IN
* @copyright Since 2010 Webkul
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/

body#module-wkmultibankwire-payment #wk_button {
    float: right !important;
}

.wk-confirm-btn-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.wk-confirm-input {
    display: inline-block;
    width: 40%;
}

.wk-multibank-wire-block {
    border: 1px solid #f1f1f1;
    padding: 1rem;
}

.wk-multibank-wire-block .wk-multibank-icon {
    text-align: center;
}

.wk-multibank-wire-block .wk-multibank-icon>i {
    font-size: 4rem;
    color: #bb773d;
}

.wk-multibank-wire-block .wk-multibank-info>.alert {
    min-height: 200px;
}

.wk-multibank-wire-block .wk-multibank-header h3 {
    display: initial !important;
    vertical-align: middle;
}

#wk_bankwireInfo {
    margin: 1rem 0;
}

.wkbadge {
    display: inline-block;
    padding: 0.35em 0.8em;
    font-size: 85%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.wkbadge-success {
    color: #fff;
    background-color: #28a745;
}

.wkbadge-danger {
    color: #fff;
    background-color: #dc3545;
}

@media (max-width: 500px) {
    .wk-confirm-input {
        width: 100%;
    }

    #wk_confirmPayment {
        margin-top: 15px;
    }
}

.wk-multibank-header .wk-mb-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-right: 8px;
    vertical-align: middle;
    fill: currentColor;
}
.wk-multibank-header .wk-mb-icon + h3 {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

/* Confirm payment (order detail page): works even when the theme has no Bootstrap 4 utilities */
.wk-confirm-btn-container {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}
.wk-confirm-btn-container .wk-confirm-input {
    display: block;
    flex: 1 1 280px;
    width: auto;
    min-width: 220px;
    max-width: 420px;
}
.wk-confirm-btn-container .wk-confirm-input .form-control {
    display: block;
    width: 100%;
    min-width: 220px;
    height: auto;
    min-height: 40px;
    padding: 0.5rem 0.75rem;
    box-sizing: border-box;
    color: #495057;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
.wk-confirm-btn-container #wk_confirmPayment {
    flex: 0 0 auto;
    margin: 0;
}

/* Payment page buttons: no overlap on mobile */
.wk-payment-actions {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}
.wk-payment-actions #wk_button,
body#module-wkmultibankwire-payment .wk-payment-actions #wk_button {
    float: none !important;
    margin: 0;
}
.wk-payment-actions .btn {
    float: none;
    margin: 0;
    white-space: normal;
}
@media (max-width: 575px) {
    .wk-payment-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .wk-payment-actions .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}
