/* Enhanced Navigation Styles for Client Interface - Minimalist Theme */

/* Use CSS variables for consistency */
:root {
    --client-navbar-bg: var(--navbar-bg, #ffffff);
    --client-navbar-text: var(--navbar-text, #212529);
    --client-navbar-hover: var(--navbar-text-hover, #e57373);
    --client-navbar-border: var(--navbar-border, #dee2e6);
    --client-navbar-shadow: var(--navbar-shadow, 0 2px 10px rgba(0, 0, 0, 0.1));
}

/* Main Navigation Styling with Clean White */
.navbar-light.bg-white {
    background: var(--client-navbar-bg) !important;
    box-shadow: var(--client-navbar-shadow);
    border-bottom: 1px solid var(--client-navbar-border);
}

/* Ensure text visibility on white background */
.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .dropdown-toggle {
    color: var(--client-navbar-text) !important;
    font-weight: 500;
    font-size: 1.05rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .dropdown-toggle:hover,
.navbar-light .navbar-nav .dropdown-toggle:focus {
    color: var(--client-navbar-hover) !important;
}

/* Add spacing between nav items */
.navbar-nav .nav-item {
    margin-right: 0.25rem;
}

/* Enhance dropdown menus with rounded styling */
.dropdown-menu {
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
    padding: 0.75rem 0;
    border: 1px solid #dee2e6;
    min-width: 260px;
    background: #ffffff;
}

/* Style dropdown headers with clean typography */
.dropdown-header {
    font-weight: 600;
    color: #212529;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
}

/* Style dropdown items with hover effects */
.dropdown-item {
    padding: 0.75rem 1.25rem;
    font-size: 1.05rem;
    border-radius: 12px;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #212529;
    transform: translateX(2px);
}

.dropdown-item i {
    width: 20px;
    margin-right: 0.75rem;
    text-align: center;
    color: #6c757d;
    transition: color 0.3s ease;
}

.dropdown-item:hover i {
    color: #e57373;
}

/* Active dropdown item */
.dropdown-item.active,
.dropdown-item:active {
    background-color: #e57373;
    color: white;
}

.dropdown-item.active i,
.dropdown-item:active i {
    color: white;
}

/* Breadcrumb styling */
.breadcrumb-wrapper {
    background-color: #f8f9fa;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1rem;
}

.breadcrumb {
    margin-bottom: 0;
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item {
    font-size: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    font-weight: bold;
}

.breadcrumb-item.active {
    color: #e57373;
    font-weight: 500;
}

/* Quick actions styling */
.quick-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.quick-actions .btn {
    border-radius: 0.375rem;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.quick-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Language switcher styling */
.language-btn {
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-color: #e57373 !important;
    color: #e57373 !important;
}

/* Override Bootstrap's btn-outline-primary for language buttons */
.btn-outline-primary.language-btn {
    border-color: #e57373 !important;
    color: #e57373 !important;
}

.language-btn:hover,
.btn-outline-primary.language-btn:hover {
    background-color: rgba(229, 115, 115, 0.1) !important;
    border-color: #e57373 !important;
    color: #e57373 !important;
}

.language-btn.active,
.btn-outline-primary.language-btn.active {
    background-color: #e57373 !important;
    border-color: #e57373 !important;
    color: white !important;
}

.language-btn.active:hover,
.btn-outline-primary.language-btn.active:hover {
    background-color: #ef5350 !important;
    border-color: #ef5350 !important;
    color: white !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-nav .nav-item {
        margin-right: 0;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        min-width: auto;
    }

    .quick-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .breadcrumb-wrapper {
        display: none;
    }
}

/* Highlight active navigation item */
.nav-item.active .nav-link,
.nav-item .nav-link.active {
    font-weight: 600;
    position: relative;
}

.nav-item.active .nav-link:after,
.nav-item .nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: var(--client-navbar-hover);
    border-radius: 1px;
}

/* Color coding for different sections - Soft Red Theme */
/* Appointments - Soft Red Highlight */
.nav-link[href*="appointments"] i {
    color: #e57373;
}

/* Finances - Soft Red Highlight */
.nav-link[href*="invoices"] i,
.nav-link[href*="subscriptions"] i {
    color: #e57373;
}

/* Profile - Soft Red Highlight */
.nav-link[href*="profile"] i {
    color: #e57373;
}

/* Dashboard - Soft Red Highlight */
.nav-link[href*="dashboard"] i {
    color: #e57373;
}

/* TECFÉE Sessions - Soft Red Highlight */
.nav-link[href*="tecfee"] i {
    color: #e57373;
}

/* Notification styles */
.nav-link .badge {
    font-size: 0.8rem;
    position: relative;
    top: -2px;
}

/* Smooth transitions */
.nav-link,
.dropdown-item,
.btn {
    transition: all 0.2s ease;
}

/* Focus states for accessibility */
.nav-link:focus,
.dropdown-item:focus,
.btn:focus {
    outline: 2px solid rgba(229, 115, 115, 0.5);
    outline-offset: 2px;
}

/* Loading states */
.nav-link.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Enhanced hover effects */
.nav-link:hover {
    transform: translateY(-1px);
}

.dropdown-item:hover {
    background-color: rgba(229, 115, 115, 0.1);
    transform: translateX(2px);
}

/* Status indicators */
.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-indicator.online {
    background-color: #28a745;
}

.status-indicator.offline {
    background-color: #6c757d;
}

.status-indicator.busy {
    background-color: #ffc107;
}

/* Card enhancements for dashboard */
.dashboard-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    border-radius: 0.5rem;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Icon animations */
.nav-link i,
.dropdown-item i {
    transition: transform 0.2s ease;
}

.nav-link:hover i,
.dropdown-item:hover i {
    transform: scale(1.1);
}
