/* Styles pour la navbar moderne */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.navbar-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    padding: 0.5rem;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.navbar-menu-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

@media (max-width: 768px) {
    .navbar-menu-btn {
        display: block;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #f3f4f6;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 1.25rem;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
}

.navbar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
}

.navbar-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
}

.navbar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    font-weight: 500;
}

.navbar-nav-item:hover {
    background: #f3f4f6;
    color: #374151;
}

.navbar-nav-item.active {
    background: #eff6ff;
    color: #1e40af;
    border-bottom: 2px solid #3b82f6;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border-radius: 0;
    border: 1px solid #e5e7eb;
}

.navbar-status-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.navbar-status-text {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-action-btn {
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-action-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.navbar-action-danger:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.navbar-action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}
