/* Convenience Fee Table Styles */
.convenience-fee-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px auto;
    text-align: center;
}

.convenience-fee-table {
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    width: 85%;
    min-width: 800px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.convenience-fee-table th,
.convenience-fee-table td {
    border: 1px solid #dee2e6;
    padding: 12px;
    vertical-align: middle;
}

.convenience-fee-table thead tr:first-child th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.convenience-fee-table thead tr:first-child th:not([colspan]) {
    background-color: #e9ecef;
}

.convenience-fee-table thead tr:nth-child(2) th {
    background-color: #e9ecef;
    font-weight: 500;
}

.convenience-fee-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.convenience-fee-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.convenience-fee-table tbody td[rowspan] {
    background-color: #f8f9fa;
    font-weight: 500;
}

.convenience-fee-table tbody td:not([rowspan]):not(.total-cell) {
    font-weight: 600;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .convenience-fee-table {
        width: 100%;
        min-width: 700px;
        font-size: 12px;
    }
    
    .convenience-fee-table th,
    .convenience-fee-table td {
        padding: 10px;
    }
}
