/* Custom Vendor Dashboard Styles */

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.shadow {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.card-header {
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
}

.table {
    font-size: 0.95rem;
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #6c757d;
}

.badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
}

.btn {
    border-radius: 6px;
    font-weight: 500;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
}

/* Stat Cards Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.5s ease-out;
}

/* Login Page Styles */
.min-vh-100 {
    min-height: 100vh;
}

/* Chart Containers */
canvas {
    max-height: 300px;
}

/* Responsive Tables */
@media (max-width: 768px) {
    .table {
        font-size: 0.85rem;
    }

    .card-body {
        padding: 1rem;
    }
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
