/**
 * Bank Account Widget Styles
 * Professional and customizable design
 */

/* Container */
.baw-container {
    width: 100%;
}

/* Grid Layout */
.baw-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Card */
.baw-card {
    background-color: #5EBAB4;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.baw-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card Content Layout */
.baw-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Bank Info */
.baw-info {
    flex: 1;
    min-width: 0;
}

.baw-bank-name {
    font-size: 18px;
    font-weight: 600;
    color: #1A365D;
    margin-bottom: 8px;
    line-height: 1.3;
}

.baw-account-number {
    font-size: 14px;
    color: #2D3748;
    line-height: 1.4;
}

.baw-account-holder {
    font-size: 13px;
    color: #4A5568;
    margin-top: 4px;
}

/* Logo */
.baw-logo-wrapper {
    flex-shrink: 0;
}

.baw-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .baw-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .baw-bank-name {
        font-size: 16px;
    }

    .baw-account-number {
        font-size: 13px;
    }

    .baw-logo {
        width: 70px;
        height: 70px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .baw-grid {
        grid-template-columns: 1fr;
    }

    .baw-card {
        padding: 15px;
    }

    .baw-bank-name {
        font-size: 15px;
    }

    .baw-account-number {
        font-size: 12px;
    }

    .baw-logo {
        width: 60px;
        height: 60px;
    }
}

/* RTL Support */
[dir="rtl"] .baw-card-content {
    flex-direction: row-reverse;
}