.bank-account-container {
    direction: rtl;
    max-width: 900px;
    margin: 30px auto;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 5px;
}

.header p {
    color: #7f8c8d;
    font-size: 16px;
}

.account-table {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: #dee2e6;
    border-radius: 10px;
    overflow: hidden;
}

.table-header {
    display: contents;
}

.header-item {
    background-color: #3498db;
    color: white;
    padding: 15px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
}

.table-row {
    display: contents;
}

.table-cell {
    background-color: white;
    padding: 15px 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight {
    background-color: #f8f9fa;
    font-weight: 500;
    color: #2c3e50;
}

.iban {
    letter-spacing: 1px;
    color: #27ae60;
    font-weight: bold;
}

.bank-logo {
    text-align: left;
    margin-top: 20px;
}

.bank-logo img {
    height: 40px;
}

@media (max-width: 768px) {
    .account-table {
        grid-template-columns: 1fr;
    }

    .header-item {
        display: none;
    }

    .table-row {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        overflow: hidden;
    }

    .table-cell {
        display: block;
        text-align: right;
        justify-content: flex-start;
        padding: 10px 15px;
        border-bottom: 1px solid #f1f1f1;
    }
    .table-cell:last-child {
        border-bottom: none;
    }

    .table-cell::before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
        color: #7f8c8d;
    }

    .table-cell:nth-child(1)::before { content: "عنوان حساب: "; }
    .table-cell:nth-child(2)::before { content: "شعبه: "; }
    .table-cell:nth-child(3)::before { content: "شماره حساب: "; }
    .table-cell:nth-child(4)::before { content: "شبا: "; }
}