/* Custom styles for G2B Dashboard */

:root {
    --primary: #2563eb;
    --sidebar: #1e293b;
}

body {
    -webkit-font-smoothing: antialiased;
    background-color: #f8fafc;
}

/* Sidebar transitions */
#sidebar {
    box-shadow: 20px 0 60px -15px rgba(0, 0, 0, 0.1);
}

/* Glassmorphism effects */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Custom Table hover */
#bidTableBody tr {
    transition: all 0.2s ease;
}

#bidTableBody tr:hover {
    background-color: #f1f5f9;
    transform: translateY(-1px);
}

/* Filter Chips */
.filter-chip {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    background-color: #f1f5f9;
    color: #64748b;
}

.filter-chip:hover {
    background-color: #e2e8f0;
}

.filter-chip.active {
    background-color: #2563eb;
    color: white;
}

/* Pagination buttons */
.page-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.2s;
    background-color: white;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.page-btn:hover:not(:disabled) {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.page-btn.active {
    background-color: #2563eb;
    color: white;
    border-color: #2563eb;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Badges */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-blue {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-green {
    background-color: #dcfce7;
    color: #166534;
}

.badge-orange {
    background-color: #ffedd5;
    color: #9a3412;
}

.badge-slate {
    background-color: #f1f5f9;
    color: #475569;
}

/* Loading State */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}