/* Max Fual Rates - Modern Responsive Styles */
.mxf-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #fff;
}

.mxf-fuel-table {
    width: 100%;
    border-collapse: collapse;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    background: #fff;
}

.mxf-fuel-table th {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
}

.mxf-fuel-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,0.3);
}

.mxf-fuel-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.mxf-fuel-table tbody tr {
    background: #fff;
}

.mxf-fuel-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.mxf-fuel-table tbody tr:hover {
    background: #e3f2fd;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Fuel type styling */
.mxf-fuel-table td:first-child {
    font-weight: 600;
    color: #ff6b35;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Price styling */
.mxf-fuel-table td:nth-child(2) {
    font-size: 18px;
    font-weight: 700;
    color: #2c5530;
}

/* Price change styling */
.mxf-fuel-table td:nth-child(3) {
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
    .mxf-table-wrapper {
        margin: 15px -15px;
        border-radius: 0;
    }
    
    .mxf-fuel-table th,
    .mxf-fuel-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .mxf-fuel-table td:nth-child(2) {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .mxf-fuel-table {
        font-size: 11px;
    }
    
    .mxf-fuel-table th,
    .mxf-fuel-table td {
        padding: 8px 6px;
    }
    
    .mxf-fuel-table td:nth-child(2) {
        font-size: 14px;
    }
}

/* Table title styling */
.mxf-table-wrapper h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    margin: 0;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid #ff6b35;
}

/* Last updated info */
.mxf-table-wrapper p:last-child {
    margin: 0;
    padding: 10px 15px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 12px;
    text-align: center;
    border-radius: 0 0 8px 8px;
}

/* Loading animation */
.mxf-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.mxf-loading::after {
    content: "⏳";
    animation: mxf-spin 2s linear infinite;
    margin-left: 10px;
}

@keyframes mxf-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
} 