/* Bank Cards Styles */
.bank-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.bank-item-wrapper {
    padding: 0 15px;
    margin-bottom: 40px;
}

.bank-card {
    background: #ffffff;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bank-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    border-color: #01066e;
}

/* Bank Logo Section */
.bank-logo-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 30px 20px 20px;
    text-align: center;
    border-bottom: 3px solid #01066e;
}

.bank-logo-container {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-logo {
    max-width: 100%;
    height: 30px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.bank-name {
    font-size: 18px;
    font-weight: 600;
    color: #01066e;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bank Accounts Section */
.bank-accounts-section {
    padding: 20px;
    flex: 1;
}

.bank-account-item {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.bank-account-item:hover {
    background: #f3f4f6;
    border-color: #01066e;
    box-shadow: 0 2px 8px rgba(1, 6, 110, 0.1);
}

.mt-20 {
    margin-top: 20px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.account-badge {
    background: #01066e;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.account-badge i {
    font-size: 14px;
}

.account-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.detail-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    min-width: 70px;
}

.detail-value {
    font-size: 13px;
    color: #111827;
    font-weight: 500;
    text-align: right;
    word-break: break-all;
    flex: 1;
}

.iban-text {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .bank-item-wrapper {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .bank-item-wrapper {
        width: 100%;
    }
    
    .bank-logo-section {
        padding: 20px 15px 15px;
    }
    
    .bank-logo-container {
        padding: 15px;
        min-height: 60px;
    }
    
    .bank-logo {
        height: 30px;
        width: auto;
    }
    
    .bank-name {
        font-size: 16px;
    }
    
    .bank-accounts-section {
        padding: 15px;
    }
    
    .detail-label,
    .detail-value {
        font-size: 12px;
    }
    
    .iban-text {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .detail-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .detail-label {
        min-width: auto;
    }
    
    .detail-value {
        text-align: left;
    }
}