.pagination-controls {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pagination-controls a,
.pagination-controls span {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 5px;
    border: 1px solid #444444;
    color: #3b82f6;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #2a2a2a;
}

.pagination-controls a:hover,
.pagination-controls a:focus {
    background-color: #333333;
    border-color: #3b82f6;
    color: #60a5fa;
    transform: translateY(-1px);
}

.pagination-controls span.current-page {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pagination-controls span:not(.current-page) {
    color: #cccccc;
    background-color: #2a2a2a;
}

/* Flips Page Container */
.flips-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.flips-header {
    text-align: center;
    margin-bottom: 30px;
}

.flips-header h1 {
    color: #ffffff;
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 10px;
}

.last-updated-timestamp {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Modern Table Styling */
.table-container {
    background-color: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

#flipsTable {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f0f0f0;
    background-color: transparent;
}

#flipsTable th {
    background-color: #1f1f1f;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 2px solid #444444;
}

#flipsTable td {
    padding: 16px 20px;
    border-bottom: 1px solid #3a3a3a;
    font-size: 14px;
    color: #f0f0f0;
}

#flipsTable tbody tr {
    transition: all 0.2s ease;
}

#flipsTable tbody tr:hover {
    background-color: #333333;
}

#flipsTable tbody tr:last-child td {
    border-bottom: none;
}

/* Item Name Column */
#flipsTable td:first-child {
    font-weight: 600;
    color: #60a5fa;
}

/* Price Columns */
#flipsTable td:nth-child(3),
#flipsTable td:nth-child(5) {
    font-weight: 600;
    color: #10b981;
}

/* Profit Column */
#flipsTable td:nth-child(6) {
    font-weight: 700;
    color: #f59e0b;
}

/* Stock Column */
#flipsTable td:nth-child(7) {
    color: #e5e7eb;
}

/* Shop Name Columns */
#flipsTable td:nth-child(2),
#flipsTable td:nth-child(4) {
    color: #d1d5db;
}

/* Empty State */
#flipsTable tbody tr td[colspan="7"] {
    text-align: center;
    padding: 40px 20px;
    font-style: italic;
    color: #888888;
    background-color: transparent;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .flips-container {
        padding: 15px;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    #flipsTable {
        min-width: 700px;
    }
    
    #flipsTable th,
    #flipsTable td {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .flips-header h1 {
        font-size: 2em;
    }
}