

.tab-buttons {
    text-align: center;
    margin: 20px 0;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.tab-buttons button, .tab-buttons a {
    background: #ffcc00;
    color: #000;
    border: none;
    padding: 12px 24px;
    margin: 0 8px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 16px;
}

.tab-buttons button:hover, .tab-buttons a:hover {
    background: #e6b800;
    transform: translateY(-2px);
}

.tab-buttons button.active, .tab-buttons a.active {
    background: #e6b800;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}



table {
    width: 95%;
    max-width: 1000px;
    margin: 20px auto;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

caption {
    caption-side: top;
    font-weight: bold;
    font-size: 1.3em;
    padding: 15px 0;
    text-align: center;
    color: #333;
}

thead th {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #ffcc00;
    padding: 15px 12px;
    border: none;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

tbody td {
    padding: 12px 15px;
    border: 1px solid #eee;
    text-align: center;
    vertical-align: middle;
    font-size: 13px;
    font-weight: bold;
}

tbody tr:nth-child(even) {
    background: #f8f9fa;
}

tbody tr:hover {
    background: #fff3cc;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

.price-cell {
    font-weight: bold;
    color: #2c5aa0;
    font-family: 'Courier New', monospace;
    font-size: 15px;
}

.status-panel {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border: 2px solid #007cba;
    border-radius: 12px;
    padding: 20px;
    margin: 25px auto;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.status-panel h3 {
    margin-top: 0;
    color: #007cba;
}

.update-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.update-button:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea87a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.archive-stats {
    text-align: center;
    margin: 20px auto;
    padding: 15px;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0fff0 100%);
    border-radius: 8px;
    font-weight: bold;
    max-width: 600px;
    border: 1px solid #c3e6c3;
}

.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px;
    border: 2px dashed #dee2e6;
}

canvas#fuelChart {
    max-width: 800px;
    max-height: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    background: #fff;
    padding: 15px;
    border: 2px solid #ffcc00;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    table {
        width: 100%;
        font-size: 12px;
    }
    
    thead th, tbody td {
        padding: 8px 6px;
    }
    
    .tab-buttons button, .tab-buttons a {
        padding: 10px 16px;
        margin: 0 4px;
        font-size: 14px;
    }
    
    form button, form a {
        padding: 10px 16px;
        margin: 5px;
        display: block;
        width: 90%;
        margin: 5px auto;
    }
    
    .status-panel {
        margin: 15px 10px;
        padding: 15px;
    }
}

.text-center { text-align: center; }
.text-success { color: #28a745; }
.text-danger { color: #dc3545; }
.text-warning { color: #ffc107; }
.text-info { color: #17a2b8; }

.bg-light {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ffcc00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}