/* Professional Navigation Menu Styling */

.top-row {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: none;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 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.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Sidebar Navigation */
.nav-scrollable {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    border-right: 1px solid #dee2e6;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
}

.nav-item {
    margin: 5px 15px;
}

.nav-link {
    color: #495057 !important;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    color: #495057 !important;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.nav-link.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: translateX(4px);
}

.nav-link.active::before {
    display: none;
}

.nav-link .oi {
    margin-right: 10px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Icon specific styling */
.nav-link .oi-home::before { content: "🏠"; font-family: "Segoe UI Emoji"; }
.nav-link .oi-plus::before { content: "➕"; font-family: "Segoe UI Emoji"; }
.nav-link .oi-list-rich::before { content: "📊"; font-family: "Segoe UI Emoji"; }
.nav-link .oi-dollar::before { content: "💰"; font-family: "Segoe UI Emoji"; }
.nav-link .oi-document::before { content: "📄"; font-family: "Segoe UI Emoji"; }
.nav-link .oi-project::before { content: "🏗️"; font-family: "Segoe UI Emoji"; }
.nav-link .oi-dashboard::before { content: "📈"; font-family: "Segoe UI Emoji"; }

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav-scrollable {
        background: white;
    }
    
    .nav-item {
        margin: 2px 10px;
    }
    
    .nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}