* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f5f7fa;
    padding: 20px;
}

.table-container {
    overflow-x: auto;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #333;
}

/* Headers */
.rates-table th {
    padding: 8px 12px;
    font-weight: 600;
    border-bottom: 2px solid #2b569a;
}

.header-primary th {
    color: #4a5568;
    background-color: #ffffff;
}

.header-secondary th {
    font-size: 11px;
    color: #888;
    font-weight: normal;
    border-bottom: 1px solid #e2e8f0;
}

.col-info {
    text-align: left;
    min-width: 300px;
}

/* Rows & Cells */
.rates-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
}

.rate {
    text-align: right;
    font-weight: 600;
    color: #2d3748;
}

/* Best Rate Highlighted Styles */
.best-rate {
    background-color: #fffde7;
    /* Yellow glow matching the UI */
}

.best-rate-alt {
    background-color: #e8f5e9;
    /* Light green glow */
}

.time {
    text-align: center;
    color: #38a169;
    font-size: 12px;
}

/* Bank Details Layout */
.bank-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bank-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 11px;
    flex-shrink: 0;
}

.bank-icon.blue {
    background-color: #1a56a7;
}

.bank-icon.green {
    background-color: #8fa134;
}

.bank-icon.dark {
    background-color: #2c3e50;
}

.bank-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bank-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bank-name {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 600;
}

.bank-name:hover {
    text-decoration: underline;
}

.rate-type {
    font-size: 11px;
    color: #a0aec0;
    font-style: italic;
}

.bank-meta {
    font-size: 11px;
    color: #718096;
    display: flex;
    gap: 10px;
}

/* new */

.table-header-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px
}