/**
 * Centralized Navigation Styles
 *
 * Common styles for the navigation bar used across all dashboard pages.
 * This ensures consistent appearance and behavior.
 */

/* CSS Variables - Sears Brand Colors */
:root {
    /* Sears Brand Colors */
    --primary: #0048bb;
    --primary-dark: #003a99;
    --primary-light: #1a5ed4;
    --accent: #66ff99;
    --accent-dark: #4de080;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-light: #9e9e9e;
}

/* Bootstrap Navbar Customization */
.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    padding: 0.75rem 1rem;
    font-family: 'Outfit', sans-serif;
}

.navbar-brand {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 1.25rem;
    color: white !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.2s;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navigation User Info */
.nav-user-info {
    display: flex;
    align-items: center;
    color: white;
}

.nav-username {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.nav-user-info .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.nav-user-info .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* Adjust body padding for sticky navbar */
body {
    padding-top: 70px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 0.5rem 0;
    }

    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }

    .nav-user-info {
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0.5rem;
    }
}
