/**
 * 2007-2025 PrestaShop and Contributors
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.txt.
 *
 * @author    PrestaShop SA <contact@prestashop.com>
 * @copyright 2007-2025 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */

/* Payment Intro - Bank Accounts Preview */
.ps-wirepayment-multi-intro {
    margin: 15px 0;
}

.bank-accounts-preview {
    margin: 20px 0;
}

.bank-accounts-preview h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.bank-accounts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.bank-account-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    flex: 1;
    min-width: 250px;
    max-width: 100%;
    transition: all 0.3s ease;
}

.bank-account-card:hover {
    border-color: #2fb5d2;
    box-shadow: 0 2px 8px rgba(47, 181, 210, 0.2);
}

.bank-account-card .bank-logo {
    margin-right: 15px;
    flex-shrink: 0;
}

.bank-account-card .bank-logo img {
    max-width: 100px;
    max-height: 50px;
    object-fit: contain;
}

.bank-account-card .bank-info {
    flex: 1;
}

.bank-account-card .bank-name {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.bank-account-card .bank-owner {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.bank-details-notice {
    text-align: center;
    margin-top: 10px;
}

.bank-details-notice a {
    color: #2fb5d2;
    text-decoration: underline;
    font-weight: bold;
}

/* Modal Bank Details */
.modal-lg .bank-account-detail {
    margin-bottom: 20px;
}

.modal-lg .bank-logo-large {
    text-align: center;
    margin-bottom: 15px;
}

.modal-lg .bank-logo-large img {
    max-width: 150px;
    max-height: 75px;
    object-fit: contain;
}

.modal-lg .bank-account-detail h3 {
    font-size: 18px;
    font-weight: bold;
    color: #2fb5d2;
    margin-bottom: 15px;
    border-bottom: 2px solid #2fb5d2;
    padding-bottom: 5px;
}

.bank-account-info {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.bank-account-info dt {
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.bank-account-info dd {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.6;
}

.bank-separator {
    border: 0;
    border-top: 2px solid #e0e0e0;
    margin: 30px 0;
}

/* Payment Return Page */
.ps-wirepayment-multi-return {
    margin: 20px 0;
}

.bank-account-detail-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
}

.bank-account-detail-box .bank-logo {
    text-align: center;
    margin-bottom: 15px;
}

.bank-account-detail-box .bank-logo img {
    max-width: 150px;
    max-height: 75px;
    object-fit: contain;
}

.bank-account-detail-box h3 {
    font-size: 18px;
    font-weight: bold;
    color: #2fb5d2;
    margin-bottom: 15px;
    border-bottom: 2px solid #2fb5d2;
    padding-bottom: 5px;
}

.custom-text-content {
    margin-top: 20px;
    padding: 15px;
    background-color: #fffbea;
    border-left: 4px solid #f5c400;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bank-accounts-list {
        flex-direction: column;
    }

    .bank-account-card {
        min-width: 100%;
    }

    .bank-account-card .bank-logo img {
        max-width: 80px;
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .bank-account-card {
        flex-direction: column;
        text-align: center;
    }

    .bank-account-card .bank-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
