/* GPF Procurement Portal — Custom Styles */

:root {
    --font-outfit: 'Outfit', sans-serif;
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: var(--font-outfit);
    font-weight: 400;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-outfit);
    font-weight: 600;
}

.navbar-brand {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.5rem;
}

.btn {
    font-family: var(--font-outfit);
    font-weight: 500;
}

.card-title {
    font-weight: 600;
}

.navbar {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.sidebar {
    background-color: #f8f9fa;
    height: calc(100vh - 56px);
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
    position: sticky;
    top: 56px;
}

.main-content {
    padding: 2rem;
}

.stats-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-card .card-body {
    padding: 1.5rem;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Active nav link styling */
.nav-pills .nav-link.active {
    background-color: #0d6efd;
    color: white !important;
}

.nav-pills .nav-link {
    color: #495057;
    transition: all 0.2s ease;
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

/* Sidebar toggle bar (mobile only) */
.sidebar-toggle-bar {
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #dee2e6;
}

/* Mobile sidebar overlay */
@media (max-width: 767.98px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        z-index: 1040;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding-top: 56px;
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1039;
    }
}
