/* Font Awesome Icons for Jet Admin Navigation */

/* Ensure Font Awesome is loaded - using latest version for better regular icon support */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css');

/* Services App Color Variables */
:root {
    --primary-color: #1A8EB7;
    --primary-hover: #2563eb;
    --primary-light: #93c5fd;
    --primary-dark: #1d4ed8;

    --aws-color: #ff9900;
    --azure-color: #0078d4;

    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;

    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-inverse: #ffffff;

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-light: #f9fafb;

    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --border-dark: #d1d5db;
}

/* Navigation Icon Styles - Uniform Color */
.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    margin-left: 4px; /* Add left margin to center icons better in hover area */
    flex-shrink: 0;
}

.nav-icon i {
    font-size: 18px;
    color: #2BA3D4 !important; /* Uniform lighter color for all icons */
    opacity: 1 !important; /* Ensure all icons have same opacity */
}

/* Improved hover effects - only on the nav item, not the entire tab */
.nav-menu-title:hover .nav-icon i {
    color: #2BA3D4 !important;
    opacity: 0.8;
}

/* Active/Current state styling */
.nav-menu-title.active .nav-icon i,
.nav-menu-title.current .nav-icon i {
    color: #2BA3D4 !important;
    font-weight: bold;
    opacity: 1;
}

/* Submenu active state */
.nav-menu-title.submenu-active .nav-icon i {
    color: #2BA3D4 !important;
    opacity: 0.7;
}

/* Remove image styling when using Font Awesome */
.nav-icon img {
    display: none;
}

/* User profile icons in the account section - different color for blue background */
.person-sidebar .nav-icon i,
.person-sidebar .nav-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff !important; /* White color for profile icons on blue background */
}

/* Profile section hover effects */
.person-sidebar .nav-menu-title:hover .nav-icon i {
    color: #1A8EB7 !important; /* Blue color on hover for better visibility */
}

/* Profile section active states */
.person-sidebar .nav-menu-title.active .nav-icon i,
.person-sidebar .nav-menu-title.current .nav-icon i {
    color: #ffffff !important;
    font-weight: bold;
}

/* Better spacing for profile section icons */
.person-sidebar .nav-icon {
    margin-left: 8px; /* More left margin for profile icons */
    margin-right: 16px; /* More right margin for better text spacing */
}

/* User account toggle styling */
.sidebar__acc-toggle i {
    color: #ffffff !important;
    font-size: 16px;
}

/* Rotate chevron when account menu is open - no animation */
.sidebar__acc.open .sidebar__acc-toggle i {
    transform: rotate(180deg);
}

/* Hover effect for account toggle */
.sidebar__acc:hover .sidebar__acc-toggle i {
    color: #ffeb3b !important; /* Same yellow as profile hover */
}

/* Ensure proper spacing for Font Awesome icons */
.sidebar-nav-menu .nav-menu-title .nav-icon {
    min-width: 24px;
    width: 24px;
}

/* All icons use uniform color #1A8EB7 - no special overrides */

/* No animations for active states */

/* Focus states for accessibility */
.nav-menu-title:focus .nav-icon i {
    color: #2BA3D4 !important;
    outline: 2px solid rgba(43, 163, 212, 0.3);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }

    .nav-icon i {
        font-size: 16px;
    }

    /* No hover effects on mobile */
    .nav-menu-title:hover .nav-icon i {
        /* No transform or animation effects */
    }
}
