﻿:root {
    --sh-primary: #FF6B35;
    --sh-primary-dark: #E55A2B;
    --sh-secondary: #2D3748;
    --sh-success: #48BB78;
    --sh-warning: #ED8936;
    --sh-error: #F56565;
    --sh-info: #4299E1;
    --sh-surface: #FFFFFF;
    --sh-background: #F8FAFC;
    --sh-text-primary: #1A202C;
    --sh-text-secondary: #718096;
    --sh-border: #E2E8F0;
    --sh-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --sh-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --sh-radius: 12px;
    --sh-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.activity-work-order {
    background: rgba(66, 153, 225, 0.1) !important;
    color: #4299E1 !important;
}

.activity-quotation {
    background: rgba(72, 187, 120, 0.1) !important;
    color: #48BB78 !important;
}

.activity-asset {
    background: rgba(237, 137, 54, 0.1) !important;
    color: #ED8936 !important;
}

.activity-maintenance {
    background: rgba(155, 122, 234, 0.1) !important;
    color: #9F7AEA !important;
}

.activity-default {
    background: rgba(160, 173, 184, 0.1) !important;
    color: #A0ADB8 !important;
}
/* SafeHouse FMS - Complete Theme Fix for Dark Mode */
/* Replace your current navigation CSS with this */

/* Navigation menu structure */
.nav-menu-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-content {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.nav-footer {
    flex-shrink: 0;
    margin-bottom: 16px;
}

/* Enhanced MudNavLink styling - Works in both themes */
.mud-nav-link {
    border-radius: 0 20px 20px 0 !important;
    margin-right: 8px !important;
    transition: all 0.2s ease !important;
}

    .mud-nav-link:hover {
        background: rgba(255, 107, 53, 0.1) !important;
    }

    .mud-nav-link.active {
        background: var(--mud-palette-primary) !important;
        color: var(--mud-palette-primary-text) !important;
        font-weight: 500 !important;
    }

/* Navigation group styling */
.mud-nav-group .mud-nav-link {
    padding-left: 2.5rem !important;
    margin-left: 8px !important;
    font-size: 0.875rem !important;
}

.mud-nav-group-header {
    font-weight: 500 !important;
}

/* Ensure all icons are visible */
.mud-icon {
    opacity: 1 !important;
}

/* Status chip styling */
.status-chip {
    font-size: 0.6rem !important;
    height: 18px !important;
    font-weight: 600 !important;
}

/* Badge styling */
.mud-badge .mud-badge-content {
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    min-width: 16px !important;
    height: 16px !important;
}

/* Progress footer styling */
.nav-footer .mud-progress-linear {
    border-radius: 4px;
}

/* Responsive design */
@media (max-width: 768px) {
    .status-chip {
        display: none !important;
    }

    .nav-footer {
        display: none !important;
    }
}

/* Remove any conflicting styles from previous attempts */
.mud-drawer {
    border-right: 1px solid var(--mud-palette-lines-default) !important;
}

.mud-appbar {
    border-bottom: 1px solid var(--mud-palette-lines-default) !important;
}